René's URL Explorer Experiment


Title: Support int range in bitwise operations by VincentLanglet · Pull Request #4435 · phpstan/phpstan-src · GitHub

Open Graph Title: Support int range in bitwise operations by VincentLanglet · Pull Request #4435 · phpstan/phpstan-src

X Title: Support int range in bitwise operations by VincentLanglet · Pull Request #4435 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Support int range in bitwise operations by VincentLanglet · Pull Request #4435 · phpstan/phpstan-src

Open Graph Description: Closes phpstan/phpstan#7912 Closes phpstan/phpstan#9384 Closes #2441

X Description: Closes phpstan/phpstan#7912 Closes phpstan/phpstan#9384 Closes #2441

Opengraph URL: https://github.com/phpstan/phpstan-src/pull/4435

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7f1e6052-3543-317b-3b41-cab6b3ceb0be
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAC14:ABA3:77D83B:9FA5CE:6B00AEAB
html-safe-nonce3aa6d7f31c9858f687b5dbec8319c4b31d69d0138e3ed75de51161ef441c91ce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzE0OkFCQTM6NzdEODNCOjlGQTVDRTo2QjAwQUVBQiIsInZpc2l0b3JfaWQiOiI1MDc3MTM4NTcyNjg0MDQ5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac316fe6312962b8f9a18e61627b386bfc4fec9dfd656c56d77bc37f89c7a143a7
hovercard-subject-tagpull_request:2910929854
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/phpstan/phpstan-src/4435/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ae61e8699f4de6d7a83243e26d2247cd4909de25142cd18bac9129d119c841ef/phpstan/phpstan-src/pull/4435
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae61e8699f4de6d7a83243e26d2247cd4909de25142cd18bac9129d119c841ef/phpstan/phpstan-src/pull/4435
og:image:altCloses phpstan/phpstan#7912 Closes phpstan/phpstan#9384 Closes #2441
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameVincentLanglet
hostnamegithub.com
expected-hostnamegithub.com
Nonec0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id219334214
octolytics-dimension-repository_nwophpstan/phpstan-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id219334214
octolytics-dimension-repository_network_root_nwophpstan/phpstan-src
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release729d8cda69b3d267995675dfbf89ff27ccf61bf6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/4435#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4435
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4435
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=phpstan%2Fphpstan-src
Reloadhttps://github.com/phpstan/phpstan-src/pull/4435
Reloadhttps://github.com/phpstan/phpstan-src/pull/4435
Reloadhttps://github.com/phpstan/phpstan-src/pull/4435
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests185 (185)https://github.com/phpstan/phpstan-src/pulls
Actionshttps://github.com/phpstan/phpstan-src/actions
Security and qualityhttps://github.com/phpstan/phpstan-src/security
Insightshttps://github.com/phpstan/phpstan-src/insights
https://github.com/phpstan/phpstan-src
VincentLanglethttps://github.com/VincentLanglet
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
VincentLanglet:bitwiseRangehttps://github.com/VincentLanglet/phpstan-src/tree/bitwiseRange
Conversationhttps://github.com/phpstan/phpstan-src/pull/4435
Commits5 (5)https://github.com/phpstan/phpstan-src/pull/4435/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/4435/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/4435/files
Support int range in bitwise operationshttps://github.com/phpstan/phpstan-src/pull/4435#top
VincentLanglethttps://github.com/VincentLanglet
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
VincentLanglet:bitwiseRangehttps://github.com/VincentLanglet/phpstan-src/tree/bitwiseRange
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Oct 13, 2025https://github.com/phpstan/phpstan-src/pull/4435#issue-3510831244
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
phpstan/phpstan#7912https://github.com/phpstan/phpstan/issues/7912
phpstan/phpstan#9384https://github.com/phpstan/phpstan/issues/9384
#2441https://github.com/phpstan/phpstan-src/pull/2441
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/59e7faaa5afa90fcf439f9e7ff347917bd01e2e2..58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707
59e7faahttps://github.com/phpstan/phpstan-src/commit/59e7faaa5afa90fcf439f9e7ff347917bd01e2e2
58f1d72https://github.com/phpstan/phpstan-src/commit/58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707
Compare https://github.com/phpstan/phpstan-src/compare/59e7faaa5afa90fcf439f9e7ff347917bd01e2e2..58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707
October 13, 2025 17:15https://github.com/phpstan/phpstan-src/pull/4435#event-20252097248
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Oct 13, 2025https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3398432062
phpstan/phpstan#9384https://github.com/phpstan/phpstan/issues/9384
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
October 13, 2025 17:23https://github.com/phpstan/phpstan-src/pull/4435#event-20252251904
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Oct 13, 2025 https://github.com/phpstan/phpstan-src/pull/4435#ref-pullrequest-3511173600
Resolve bitwise not on constant integer #4437 https://github.com/phpstan/phpstan-src/pull/4437
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Oct 13, 2025https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3398730129
#4437https://github.com/phpstan/phpstan-src/pull/4437
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Feb 5, 2026https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3854900878
#4437https://github.com/phpstan/phpstan-src/pull/4437
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
Support int range in bitwise operationshttps://github.com/phpstan/phpstan-src/pull/4435/commits/0a053899031ab1e563a6253ac004329e17b7150e
0a05389https://github.com/phpstan/phpstan-src/pull/4435/commits/0a053899031ab1e563a6253ac004329e17b7150e
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707..0a053899031ab1e563a6253ac004329e17b7150e
58f1d72https://github.com/phpstan/phpstan-src/commit/58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707
0a05389https://github.com/phpstan/phpstan-src/commit/0a053899031ab1e563a6253ac004329e17b7150e
Compare https://github.com/phpstan/phpstan-src/compare/58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707..0a053899031ab1e563a6253ac004329e17b7150e
February 7, 2026 10:55https://github.com/phpstan/phpstan-src/pull/4435#event-22608318491
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
February 7, 2026 12:43https://github.com/phpstan/phpstan-src/pull/4435#event-22609431082
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Feb 7, 2026https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3864444704
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
February 7, 2026 12:44https://github.com/phpstan/phpstan-src/pull/4435#event-22609439242
https://github.com/VincentLanglet
Add non regression testhttps://github.com/phpstan/phpstan-src/pull/4435/commits/6fe7f2cf76e3ec1711ddca710d2bfe81e61a0b36
6fe7f2chttps://github.com/phpstan/phpstan-src/pull/4435/commits/6fe7f2cf76e3ec1711ddca710d2bfe81e61a0b36
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Feb 7, 2026 https://github.com/phpstan/phpstan-src/pull/4435#pullrequestreview-3767047686
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4435/files/6fe7f2cf76e3ec1711ddca710d2bfe81e61a0b36
tests/PHPStan/Analyser/nsrt/bug-9384.phphttps://github.com/phpstan/phpstan-src/pull/4435/files/6fe7f2cf76e3ec1711ddca710d2bfe81e61a0b36#diff-5dbc2bda021cf262dfc1e56426ea2428acaa23466a0b7f1a76c3f32b14348c58
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/18de88085cec9c4e0e525ed575fc048ef853ba3d..ccafa7b72c050a511cc131a4ac380d15e691b3d8
18de880https://github.com/phpstan/phpstan-src/commit/18de88085cec9c4e0e525ed575fc048ef853ba3d
ccafa7bhttps://github.com/phpstan/phpstan-src/commit/ccafa7b72c050a511cc131a4ac380d15e691b3d8
Compare https://github.com/phpstan/phpstan-src/compare/18de88085cec9c4e0e525ed575fc048ef853ba3d..ccafa7b72c050a511cc131a4ac380d15e691b3d8
February 7, 2026 15:24https://github.com/phpstan/phpstan-src/pull/4435#event-22611165019
https://github.com/VincentLanglet
Update testshttps://github.com/phpstan/phpstan-src/pull/4435/commits/bc4994c33cc0a7a94e0b78f059e288f131582c0d
bc4994chttps://github.com/phpstan/phpstan-src/pull/4435/commits/bc4994c33cc0a7a94e0b78f059e288f131582c0d
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/ccafa7b72c050a511cc131a4ac380d15e691b3d8..bc4994c33cc0a7a94e0b78f059e288f131582c0d
ccafa7bhttps://github.com/phpstan/phpstan-src/commit/ccafa7b72c050a511cc131a4ac380d15e691b3d8
bc4994chttps://github.com/phpstan/phpstan-src/commit/bc4994c33cc0a7a94e0b78f059e288f131582c0d
Compare https://github.com/phpstan/phpstan-src/compare/ccafa7b72c050a511cc131a4ac380d15e691b3d8..bc4994c33cc0a7a94e0b78f059e288f131582c0d
February 7, 2026 15:25https://github.com/phpstan/phpstan-src/pull/4435#event-22611177226
https://github.com/VincentLanglet
More testshttps://github.com/phpstan/phpstan-src/pull/4435/commits/2ad980e1494c4dab45cd9174094bf660309a6319
2ad980ehttps://github.com/phpstan/phpstan-src/pull/4435/commits/2ad980e1494c4dab45cd9174094bf660309a6319
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
February 7, 2026 18:28https://github.com/phpstan/phpstan-src/pull/4435#event-22613177542
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Feb 7, 2026https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3865046739
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
staabmhttps://github.com/staabm
February 7, 2026 18:28https://github.com/phpstan/phpstan-src/pull/4435#event-22613178760
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 7, 2026 https://github.com/phpstan/phpstan-src/pull/4435#pullrequestreview-3767739052
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4435/files/2ad980e1494c4dab45cd9174094bf660309a6319
staabmhttps://github.com/staabm
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/phpstan/phpstan-src/pull/4435#pullrequestreview-3767739052
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 7, 2026 https://github.com/phpstan/phpstan-src/pull/4435#pullrequestreview-3767740441
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4435/files/2ad980e1494c4dab45cd9174094bf660309a6319
src/Reflection/InitializerExprTypeResolver.phphttps://github.com/phpstan/phpstan-src/pull/4435/files/2ad980e1494c4dab45cd9174094bf660309a6319#diff-8d885bc4dfb9409d1cb955106331fee860d010cd9d7d4a0872793e50eae2277c
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 7, 2026https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3865113036
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Feb 8, 2026https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3867519404
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 8, 2026https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3867612744
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
More testshttps://github.com/phpstan/phpstan-src/pull/4435/commits/3011052ab6e000245af6c8b56f2d3fde8077243f
3011052https://github.com/phpstan/phpstan-src/pull/4435/commits/3011052ab6e000245af6c8b56f2d3fde8077243f
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 8, 2026 https://github.com/phpstan/phpstan-src/pull/4435#pullrequestreview-3770051758
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4435/files/3011052ab6e000245af6c8b56f2d3fde8077243f
staabmhttps://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/4435#pullrequestreview-3770051758
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
e85dc34https://github.com/phpstan/phpstan-src/commit/e85dc34a43d8dde3c9dce75aed976fd8ee1fe85a
Feb 8, 2026https://github.com/phpstan/phpstan-src/pull/4435#event-22625236615
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 9, 2026 https://github.com/phpstan/phpstan-src/pull/4435#ref-pullrequest-3914757743
Refactor InitializerExprTypeResolver #4861 https://github.com/phpstan/phpstan-src/pull/4861
https://github.co/hiddenchars
https://github.com/phpstan/phpstan-src/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4435
https://github.com/staabm
staabm https://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/4435/files/3011052ab6e000245af6c8b56f2d3fde8077243f
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
int-mask-of does not work well with operations on the int mask https://github.com/phpstan/phpstan/issues/9384
Bitwise Operators & restricted integers & properties -> Error that shouldn't be https://github.com/phpstan/phpstan/issues/7912
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4435
https://github.com/VincentLanglet
https://github.com/ondrejmirtes
https://github.com/phpstan-bot
https://github.com/staabm
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.