| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:7f1e6052-3543-317b-3b41-cab6b3ceb0be |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AC14:ABA3:77D83B:9FA5CE:6B00AEAB |
| html-safe-nonce | 3aa6d7f31c9858f687b5dbec8319c4b31d69d0138e3ed75de51161ef441c91ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzE0OkFCQTM6NzdEODNCOjlGQTVDRTo2QjAwQUVBQiIsInZpc2l0b3JfaWQiOiI1MDc3MTM4NTcyNjg0MDQ5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 316fe6312962b8f9a18e61627b386bfc4fec9dfd656c56d77bc37f89c7a143a7 |
| hovercard-subject-tag | pull_request:2910929854 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/phpstan/phpstan-src/4435/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ae61e8699f4de6d7a83243e26d2247cd4909de25142cd18bac9129d119c841ef/phpstan/phpstan-src/pull/4435 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae61e8699f4de6d7a83243e26d2247cd4909de25142cd18bac9129d119c841ef/phpstan/phpstan-src/pull/4435 |
| og:image:alt | Closes phpstan/phpstan#7912
Closes phpstan/phpstan#9384
Closes #2441 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | VincentLanglet |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e |
| turbo-cache-control | no-cache |
| go-import | github.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git |
| octolytics-dimension-user_id | 16435710 |
| octolytics-dimension-user_login | phpstan |
| octolytics-dimension-repository_id | 219334214 |
| octolytics-dimension-repository_nwo | phpstan/phpstan-src |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 219334214 |
| octolytics-dimension-repository_network_root_nwo | phpstan/phpstan-src |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 729d8cda69b3d267995675dfbf89ff27ccf61bf6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/phpstan/phpstan-src/pull/4435#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4435 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4435 |
| Sign up | https://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 |
| Reload | https://github.com/phpstan/phpstan-src/pull/4435 |
| Reload | https://github.com/phpstan/phpstan-src/pull/4435 |
| Reload | https://github.com/phpstan/phpstan-src/pull/4435 |
| phpstan | https://github.com/phpstan |
| phpstan-src | https://github.com/phpstan/phpstan-src |
| Code | https://github.com/phpstan/phpstan-src |
| Pull requests185 (185) | https://github.com/phpstan/phpstan-src/pulls |
| Actions | https://github.com/phpstan/phpstan-src/actions |
| Security and quality | https://github.com/phpstan/phpstan-src/security |
| Insights | https://github.com/phpstan/phpstan-src/insights |
| https://github.com/phpstan/phpstan-src |
| VincentLanglet | https://github.com/VincentLanglet |
| phpstan:2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| VincentLanglet:bitwiseRange | https://github.com/VincentLanglet/phpstan-src/tree/bitwiseRange |
| Conversation | https://github.com/phpstan/phpstan-src/pull/4435 |
| Commits5 (5) | https://github.com/phpstan/phpstan-src/pull/4435/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/4435/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/4435/files |
| Support int range in bitwise operations | https://github.com/phpstan/phpstan-src/pull/4435#top |
| VincentLanglet | https://github.com/VincentLanglet |
| phpstan:2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| VincentLanglet:bitwiseRange | https://github.com/VincentLanglet/phpstan-src/tree/bitwiseRange |
|
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| Oct 13, 2025 | https://github.com/phpstan/phpstan-src/pull/4435#issue-3510831244 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| phpstan/phpstan#7912 | https://github.com/phpstan/phpstan/issues/7912 |
| phpstan/phpstan#9384 | https://github.com/phpstan/phpstan/issues/9384 |
| #2441 | https://github.com/phpstan/phpstan-src/pull/2441 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/59e7faaa5afa90fcf439f9e7ff347917bd01e2e2..58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707 |
| 59e7faa | https://github.com/phpstan/phpstan-src/commit/59e7faaa5afa90fcf439f9e7ff347917bd01e2e2 |
| 58f1d72 | https://github.com/phpstan/phpstan-src/commit/58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/59e7faaa5afa90fcf439f9e7ff347917bd01e2e2..58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707 |
| October 13, 2025 17:15 | https://github.com/phpstan/phpstan-src/pull/4435#event-20252097248 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| Oct 13, 2025 | https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3398432062 |
| phpstan/phpstan#9384 | https://github.com/phpstan/phpstan/issues/9384 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| October 13, 2025 17:23 | https://github.com/phpstan/phpstan-src/pull/4435#event-20252251904 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://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 |
| VincentLanglet | https://github.com/VincentLanglet |
| Oct 13, 2025 | https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3398730129 |
| #4437 | https://github.com/phpstan/phpstan-src/pull/4437 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Feb 5, 2026 | https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3854900878 |
| #4437 | https://github.com/phpstan/phpstan-src/pull/4437 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
|
| https://github.com/VincentLanglet |
| Support int range in bitwise operations | https://github.com/phpstan/phpstan-src/pull/4435/commits/0a053899031ab1e563a6253ac004329e17b7150e |
| 0a05389 | https://github.com/phpstan/phpstan-src/pull/4435/commits/0a053899031ab1e563a6253ac004329e17b7150e |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707..0a053899031ab1e563a6253ac004329e17b7150e |
| 58f1d72 | https://github.com/phpstan/phpstan-src/commit/58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707 |
| 0a05389 | https://github.com/phpstan/phpstan-src/commit/0a053899031ab1e563a6253ac004329e17b7150e |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/58f1d72dfdc782e735b1f2f4c8db8fadfbf4e707..0a053899031ab1e563a6253ac004329e17b7150e |
| February 7, 2026 10:55 | https://github.com/phpstan/phpstan-src/pull/4435#event-22608318491 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| February 7, 2026 12:43 | https://github.com/phpstan/phpstan-src/pull/4435#event-22609431082 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Feb 7, 2026 | https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3864444704 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| February 7, 2026 12:44 | https://github.com/phpstan/phpstan-src/pull/4435#event-22609439242 |
|
| https://github.com/VincentLanglet |
| Add non regression test | https://github.com/phpstan/phpstan-src/pull/4435/commits/6fe7f2cf76e3ec1711ddca710d2bfe81e61a0b36 |
| 6fe7f2c | https://github.com/phpstan/phpstan-src/pull/4435/commits/6fe7f2cf76e3ec1711ddca710d2bfe81e61a0b36 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://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.php | https://github.com/phpstan/phpstan-src/pull/4435/files/6fe7f2cf76e3ec1711ddca710d2bfe81e61a0b36#diff-5dbc2bda021cf262dfc1e56426ea2428acaa23466a0b7f1a76c3f32b14348c58 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/18de88085cec9c4e0e525ed575fc048ef853ba3d..ccafa7b72c050a511cc131a4ac380d15e691b3d8 |
| 18de880 | https://github.com/phpstan/phpstan-src/commit/18de88085cec9c4e0e525ed575fc048ef853ba3d |
| ccafa7b | https://github.com/phpstan/phpstan-src/commit/ccafa7b72c050a511cc131a4ac380d15e691b3d8 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/18de88085cec9c4e0e525ed575fc048ef853ba3d..ccafa7b72c050a511cc131a4ac380d15e691b3d8 |
| February 7, 2026 15:24 | https://github.com/phpstan/phpstan-src/pull/4435#event-22611165019 |
|
| https://github.com/VincentLanglet |
| Update tests | https://github.com/phpstan/phpstan-src/pull/4435/commits/bc4994c33cc0a7a94e0b78f059e288f131582c0d |
| bc4994c | https://github.com/phpstan/phpstan-src/pull/4435/commits/bc4994c33cc0a7a94e0b78f059e288f131582c0d |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/ccafa7b72c050a511cc131a4ac380d15e691b3d8..bc4994c33cc0a7a94e0b78f059e288f131582c0d |
| ccafa7b | https://github.com/phpstan/phpstan-src/commit/ccafa7b72c050a511cc131a4ac380d15e691b3d8 |
| bc4994c | https://github.com/phpstan/phpstan-src/commit/bc4994c33cc0a7a94e0b78f059e288f131582c0d |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/ccafa7b72c050a511cc131a4ac380d15e691b3d8..bc4994c33cc0a7a94e0b78f059e288f131582c0d |
| February 7, 2026 15:25 | https://github.com/phpstan/phpstan-src/pull/4435#event-22611177226 |
|
| https://github.com/VincentLanglet |
| More tests | https://github.com/phpstan/phpstan-src/pull/4435/commits/2ad980e1494c4dab45cd9174094bf660309a6319 |
| 2ad980e | https://github.com/phpstan/phpstan-src/pull/4435/commits/2ad980e1494c4dab45cd9174094bf660309a6319 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| February 7, 2026 18:28 | https://github.com/phpstan/phpstan-src/pull/4435#event-22613177542 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Feb 7, 2026 | https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3865046739 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| staabm | https://github.com/staabm |
| February 7, 2026 18:28 | https://github.com/phpstan/phpstan-src/pull/4435#event-22613178760 |
| https://github.com/staabm |
| staabm | https://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 |
| staabm | https://github.com/staabm |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/phpstan/phpstan-src/pull/4435#pullrequestreview-3767739052 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/staabm |
| staabm | https://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.php | https://github.com/phpstan/phpstan-src/pull/4435/files/2ad980e1494c4dab45cd9174094bf660309a6319#diff-8d885bc4dfb9409d1cb955106331fee860d010cd9d7d4a0872793e50eae2277c |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Feb 7, 2026 | https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3865113036 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| Feb 8, 2026 | https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3867519404 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Feb 8, 2026 | https://github.com/phpstan/phpstan-src/pull/4435#issuecomment-3867612744 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
|
| https://github.com/VincentLanglet |
| More tests | https://github.com/phpstan/phpstan-src/pull/4435/commits/3011052ab6e000245af6c8b56f2d3fde8077243f |
| 3011052 | https://github.com/phpstan/phpstan-src/pull/4435/commits/3011052ab6e000245af6c8b56f2d3fde8077243f |
| https://github.com/staabm |
| staabm | https://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 |
| staabm | https://github.com/staabm |
| https://github.com/phpstan/phpstan-src/pull/4435#pullrequestreview-3770051758 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| e85dc34 | https://github.com/phpstan/phpstan-src/commit/e85dc34a43d8dde3c9dce75aed976fd8ee1fe85a |
| Feb 8, 2026 | https://github.com/phpstan/phpstan-src/pull/4435#event-22625236615 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4435 |
| https://github.com/staabm |
| staabm | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |