| 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:e4385587-6539-29b8-247c-3bc8f306e4ea |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B388:1F4117:3B7A58:537775:6B006DDB |
| html-safe-nonce | 38ce4c7da2628f6bd55c035887328a723a2ab963f924ebe1ebb5e1dfd2e17597 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzg4OjFGNDExNzozQjdBNTg6NTM3Nzc1OjZCMDA2RERCIiwidmlzaXRvcl9pZCI6IjIzOTkxMzYxNjQ2MDM3ODQ2NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f507ad4b837fb2fb44e3348400bb4e74a7434af05839262970a1a4d01a97745f |
| hovercard-subject-tag | pull_request:3374565692 |
| 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/5176/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/29a10342b73ec07db13192c6fadb09405df3faa02a46db0249fb9213ed3b6b01/phpstan/phpstan-src/pull/5176 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/29a10342b73ec07db13192c6fadb09405df3faa02a46db0249fb9213ed3b6b01/phpstan/phpstan-src/pull/5176 |
| og:image:alt | Summary
When a variable was assigned 0 and then modified inside a for loop (incremented or reset to 0), PHPStan incorrectly generalized its type to int instead of preserving int<0, max> (non-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | phpstan-bot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| 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 | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| 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/5176#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5176 |
| 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%2F5176 |
| 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/5176 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5176 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5176 |
| 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 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| phpstan:2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| phpstan-bot:create-pull-request/patch-sxca8e1 | https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-sxca8e1 |
| Conversation | https://github.com/phpstan/phpstan-src/pull/5176 |
| Commits21 (21) | https://github.com/phpstan/phpstan-src/pull/5176/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/5176/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/5176/files |
| Fix phpstan/phpstan#12163: non-negative-int evaluated to int | https://github.com/phpstan/phpstan-src/pull/5176#top |
| ondrejmirtes | https://github.com/ondrejmirtes |
| phpstan:2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| phpstan-bot:create-pull-request/patch-sxca8e1 | https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-sxca8e1 |
|
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 9, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#issue-4046891629 |
| phpstan/phpstan#12163 | https://github.com/phpstan/phpstan/issues/12163 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Mar 10, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4029059335 |
| @phpstan-bot | https://github.com/phpstan-bot |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Mar 10, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#event-23443232223 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/4e8e644ee8142c7caea17bf7db44004c3065c40b..bec459ef6f201fe15040c89a4eaa62312bed12f4 |
| 4e8e644 | https://github.com/phpstan/phpstan-src/commit/4e8e644ee8142c7caea17bf7db44004c3065c40b |
| bec459e | https://github.com/phpstan/phpstan-src/commit/bec459ef6f201fe15040c89a4eaa62312bed12f4 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/4e8e644ee8142c7caea17bf7db44004c3065c40b..bec459ef6f201fe15040c89a4eaa62312bed12f4 |
| March 11, 2026 11:07 | https://github.com/phpstan/phpstan-src/pull/5176#event-23466330083 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Mar 11, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4039724872 |
| @phpstan-bot | https://github.com/phpstan-bot |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/bec459ef6f201fe15040c89a4eaa62312bed12f4..78003f1c3decdfb7531a2972263b3c3802c6bcc9 |
| bec459e | https://github.com/phpstan/phpstan-src/commit/bec459ef6f201fe15040c89a4eaa62312bed12f4 |
| 78003f1 | https://github.com/phpstan/phpstan-src/commit/78003f1c3decdfb7531a2972263b3c3802c6bcc9 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/bec459ef6f201fe15040c89a4eaa62312bed12f4..78003f1c3decdfb7531a2972263b3c3802c6bcc9 |
| March 11, 2026 14:45 | https://github.com/phpstan/phpstan-src/pull/5176#event-23473214857 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Mar 11, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4039740263 |
| @staabm | https://github.com/staabm |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Mar 11, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3930154331 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5176/files |
| ondrejmirtes | https://github.com/ondrejmirtes |
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3930154331 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Mar 11, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3930170773 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5176/files |
| ondrejmirtes | https://github.com/ondrejmirtes |
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3930170773 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 11, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4039811667 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Mar 11, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3930327661 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5176/files |
| ondrejmirtes | https://github.com/ondrejmirtes |
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3930327661 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 11, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4039957842 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Mar 12, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3934104734 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5176/files |
| tests/PHPStan/Analyser/nsrt/bug-12163.php | https://github.com/phpstan/phpstan-src/pull/5176/files#diff-ef57dbf7ac34f940bf69d36384f5d109321330406f9508fb7e1c05bbefa010d4 |
| staabm | https://github.com/staabm |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2922433463 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| before this PR already though | https://phpstan.org/r/16753cd0-90ce-416d-8f7a-73064dcb2fc7 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2922457946 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| staabm | https://github.com/staabm |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2922487627 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2922505502 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| VincentLanglet | https://github.com/VincentLanglet |
| March 12, 2026 05:56 | https://github.com/phpstan/phpstan-src/pull/5176#event-23494808585 |
| github-actions | https://github.com/apps/github-actions |
| March 12, 2026 06:56 | https://github.com/phpstan/phpstan-src/pull/5176#commits-pushed-b39369c |
|
| https://github.com/apps/github-actions |
|
| https://github.com/staabm |
| Fix non-negative-int generalized to int in for loop | https://github.com/phpstan/phpstan-src/pull/5176/commits/b39369c6ea84b654a4a6c6368d6251640320b3f0 |
| b39369c | https://github.com/phpstan/phpstan-src/pull/5176/commits/b39369c6ea84b654a4a6c6368d6251640320b3f0 |
| phpstan/phpstan#12163 | https://github.com/phpstan/phpstan/issues/12163 |
|
| https://github.com/staabm |
| test invers | https://github.com/phpstan/phpstan-src/pull/5176/commits/4b1d4cfbdd8d9f29c66a1b38ad2b155444f185bf |
| 4b1d4cf | https://github.com/phpstan/phpstan-src/pull/5176/commits/4b1d4cfbdd8d9f29c66a1b38ad2b155444f185bf |
|
| https://github.com/staabm |
| Update bug-12163.php | https://github.com/phpstan/phpstan-src/pull/5176/commits/46b553a0c1a4f82516fbf60b673a565608c27d83 |
| 46b553a | https://github.com/phpstan/phpstan-src/pull/5176/commits/46b553a0c1a4f82516fbf60b673a565608c27d83 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/staabm |
| Apply symmetric fix for integer range generalization in gotGreater &&… | https://github.com/phpstan/phpstan-src/pull/5176/commits/541b77a990483adb2bf1d29b57ca809de9660459 |
| 541b77a | https://github.com/phpstan/phpstan-src/pull/5176/commits/541b77a990483adb2bf1d29b57ca809de9660459 |
|
| https://github.com/staabm |
| Update bug-12163.php | https://github.com/phpstan/phpstan-src/pull/5176/commits/ec611b6106036134d71321a96469c730c3928d2e |
| ec611b6 | https://github.com/phpstan/phpstan-src/pull/5176/commits/ec611b6106036134d71321a96469c730c3928d2e |
|
| https://github.com/staabm |
| Revert "Update bug-12163.php" | https://github.com/phpstan/phpstan-src/pull/5176/commits/b41d360b86d5c378cf56f672eaafbbfb483dd45c |
| b41d360 | https://github.com/phpstan/phpstan-src/pull/5176/commits/b41d360b86d5c378cf56f672eaafbbfb483dd45c |
| e75772d | https://github.com/phpstan-bot/phpstan-src/commit/e75772d9139a6b0c5f1be2c0187614a337e2657f |
|
| https://github.com/staabm |
| Revert "Apply symmetric fix for integer range generalization in gotGr… | https://github.com/phpstan/phpstan-src/pull/5176/commits/95d62efd5d2dd485f533ed8968dbf3a19fb77b9e |
| 95d62ef | https://github.com/phpstan/phpstan-src/pull/5176/commits/95d62efd5d2dd485f533ed8968dbf3a19fb77b9e |
| bd09833 | https://github.com/phpstan-bot/phpstan-src/commit/bd09833576d3c41eb2b18d74d0b84f5661ebe570 |
|
| https://github.com/staabm |
| Update NumberComparisonOperatorsConstantConditionRuleTest.php | https://github.com/phpstan/phpstan-src/pull/5176/commits/2279ebd60eff27476c7fa3486d0f436a3126cef2 |
| 2279ebd | https://github.com/phpstan/phpstan-src/pull/5176/commits/2279ebd60eff27476c7fa3486d0f436a3126cef2 |
|
| https://github.com/staabm |
| add rule test | https://github.com/phpstan/phpstan-src/pull/5176/commits/1ea5d36b44721f658354548e45a84ce1b78e7f1b |
| 1ea5d36 | https://github.com/phpstan/phpstan-src/pull/5176/commits/1ea5d36b44721f658354548e45a84ce1b78e7f1b |
|
| https://github.com/staabm |
| add origin bug test | https://github.com/phpstan/phpstan-src/pull/5176/commits/781ce0118e39f485690782a522f3a6acdb7a874b |
| 781ce01 | https://github.com/phpstan/phpstan-src/pull/5176/commits/781ce0118e39f485690782a522f3a6acdb7a874b |
|
| https://github.com/staabm |
| Update NumberComparisonOperatorsConstantConditionRuleTest.php | https://github.com/phpstan/phpstan-src/pull/5176/commits/78346da36f508a473abdba51e5bbef8a29824143 |
| 78346da | https://github.com/phpstan/phpstan-src/pull/5176/commits/78346da36f508a473abdba51e5bbef8a29824143 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/staabm |
| Apply symmetric fix for integer range generalization in gotGreater &&… | https://github.com/phpstan/phpstan-src/pull/5176/commits/bc7792ac45b284af79da8687367a9f51bd92dd48 |
| bc7792a | https://github.com/phpstan/phpstan-src/pull/5176/commits/bc7792ac45b284af79da8687367a9f51bd92dd48 |
|
| https://github.com/staabm |
| Revert "Apply symmetric fix for integer range generalization in gotGr… | https://github.com/phpstan/phpstan-src/pull/5176/commits/8ac04f02693cdced13a130f333c2920e13f060be |
| 8ac04f0 | https://github.com/phpstan/phpstan-src/pull/5176/commits/8ac04f02693cdced13a130f333c2920e13f060be |
| daf5d79 | https://github.com/phpstan-bot/phpstan-src/commit/daf5d7952060408c18bd554c2cfad8ddd63f239c |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/7ebc814618956b9444eab59a756e54142f01289e..8ac04f02693cdced13a130f333c2920e13f060be |
| 7ebc814 | https://github.com/phpstan/phpstan-src/commit/7ebc814618956b9444eab59a756e54142f01289e |
| 8ac04f0 | https://github.com/phpstan/phpstan-src/commit/8ac04f02693cdced13a130f333c2920e13f060be |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/7ebc814618956b9444eab59a756e54142f01289e..8ac04f02693cdced13a130f333c2920e13f060be |
| March 12, 2026 05:56 | https://github.com/phpstan/phpstan-src/pull/5176#event-23494817792 |
|
| https://github.com/staabm |
| Update bug-12163.php | https://github.com/phpstan/phpstan-src/pull/5176/commits/f8275b7543e5045057ecb3fb3c04662ec172e04c |
| f8275b7 | https://github.com/phpstan/phpstan-src/pull/5176/commits/f8275b7543e5045057ecb3fb3c04662ec172e04c |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Mar 12, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3934177808 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5176/files/14a21546b891127a47e067495f1acc6f6bf52112 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Apply symmetric fix for integer range generalization in gotGreater &&… | https://github.com/phpstan/phpstan-src/pull/5176/commits/92fe3884cc99f10061ecd97ad39f78a2540b8528 |
| 92fe388 | https://github.com/phpstan/phpstan-src/pull/5176/commits/92fe3884cc99f10061ecd97ad39f78a2540b8528 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4044243577 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
|
| https://github.com/staabm |
| Revert "Apply symmetric fix for integer range generalization in gotGr… | https://github.com/phpstan/phpstan-src/pull/5176/commits/14a21546b891127a47e067495f1acc6f6bf52112 |
| 14a2154 | https://github.com/phpstan/phpstan-src/pull/5176/commits/14a21546b891127a47e067495f1acc6f6bf52112 |
| 92fe388 | https://github.com/phpstan-bot/phpstan-src/commit/92fe3884cc99f10061ecd97ad39f78a2540b8528 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Mar 12, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3937553477 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5176/files/14a21546b891127a47e067495f1acc6f6bf52112 |
| src/Analyser/MutatingScope.php | https://github.com/phpstan/phpstan-src/pull/5176/files/14a21546b891127a47e067495f1acc6f6bf52112#diff-dc817f2bab8672057a95375a542e68599164f6ab2380e4cccd1b50583e295d85 |
| VincentLanglet | https://github.com/VincentLanglet |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2925451176 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @staabm | https://github.com/staabm |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2925503426 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| phpstan-bot | https://github.com/phpstan-bot |
| March 12, 2026 15:29 | https://github.com/phpstan/phpstan-src/pull/5176#commits-pushed-309179a |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Merge foreach loops for gotGreater/gotSmaller and newMin/newMax compu… | https://github.com/phpstan/phpstan-src/pull/5176/commits/309179a1988e07c7e1434e81c3fb14ed94c7054f |
| 309179a | https://github.com/phpstan/phpstan-src/pull/5176/commits/309179a1988e07c7e1434e81c3fb14ed94c7054f |
|
| https://github.com/staabm |
| Revert "Merge foreach loops for gotGreater/gotSmaller and newMin/newM… | https://github.com/phpstan/phpstan-src/pull/5176/commits/6a1c710b813f5c41866f9eae913ca5ef00a927aa |
| 6a1c710 | https://github.com/phpstan/phpstan-src/pull/5176/commits/6a1c710b813f5c41866f9eae913ca5ef00a927aa |
| 309179a | https://github.com/phpstan-bot/phpstan-src/commit/309179a1988e07c7e1434e81c3fb14ed94c7054f |
|
| https://github.com/staabm |
| merge loops | https://github.com/phpstan/phpstan-src/pull/5176/commits/992768b4a921be4f7f711daad4f398854e24f10e |
| 992768b | https://github.com/phpstan/phpstan-src/pull/5176/commits/992768b4a921be4f7f711daad4f398854e24f10e |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Mar 12, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3937650244 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5176/files/992768b4a921be4f7f711daad4f398854e24f10e |
| VincentLanglet | https://github.com/VincentLanglet |
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3937650244 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4047816401 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
|
| https://github.com/staabm |
| cleanup | https://github.com/phpstan/phpstan-src/pull/5176/commits/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d |
| cb6972e | https://github.com/phpstan/phpstan-src/pull/5176/commits/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d |
| https://github.com/clxmstaab |
| clxmstaab | https://github.com/clxmstaab |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/6787e1dda84aceac34c155def563901fee436d5b..cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d |
| 6787e1d | https://github.com/phpstan/phpstan-src/commit/6787e1dda84aceac34c155def563901fee436d5b |
| cb6972e | https://github.com/phpstan/phpstan-src/commit/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/6787e1dda84aceac34c155def563901fee436d5b..cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d |
| March 12, 2026 15:47 | https://github.com/phpstan/phpstan-src/pull/5176#event-23513579873 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| March 12, 2026 15:48 | https://github.com/phpstan/phpstan-src/pull/5176#event-23513612147 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| March 12, 2026 15:55 | https://github.com/phpstan/phpstan-src/pull/5176#event-23513866768 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Mar 12, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3938072011 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5176/files/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d |
| src/Analyser/MutatingScope.php | https://github.com/phpstan/phpstan-src/pull/5176/files/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d#diff-dc817f2bab8672057a95375a542e68599164f6ab2380e4cccd1b50583e295d85 |
| VincentLanglet | https://github.com/VincentLanglet |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2925908195 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2925974016 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Apply symmetric fix for integer range generalization in both-directio… | https://github.com/phpstan/phpstan-src/pull/5176/commits/5cc5312f775df5ff9448dcc5c7898ea61ec0ee9d |
| 5cc5312 | https://github.com/phpstan/phpstan-src/pull/5176/commits/5cc5312f775df5ff9448dcc5c7898ea61ec0ee9d |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Mar 12, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3938266713 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5176/files/5cc5312f775df5ff9448dcc5c7898ea61ec0ee9d |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| 9d660fb | https://github.com/phpstan/phpstan-src/commit/9d660fbb57ec8219679d156c9588aadfb85ae015 |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#event-23516049621 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| March 12, 2026 17:00 | https://github.com/phpstan/phpstan-src/pull/5176#event-23516050784 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
|
Mar 12, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#ref-issue-2709113522 |
|
non-negative-int evaluated to int
phpstan/phpstan#12163
| https://github.com/phpstan/phpstan/issues/12163 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 12, 2026 | https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4048443761 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
| phpstan-bot | https://github.com/phpstan-bot |
|
Apr 7, 2026
| https://github.com/phpstan/phpstan-src/pull/5176#ref-commit-0f55eca |
|
| https://github.com/phpstan-bot |
| Fix | https://github.com/phpstan-bot/phpstan-src/commit/0f55eca3d2c513754ae69f0ff04f12128d798131 |
| phpstan/phpstan#12163 | https://github.com/phpstan/phpstan/issues/12163 |
| : non-negative-int evaluated to int ( | https://github.com/phpstan-bot/phpstan-src/commit/0f55eca3d2c513754ae69f0ff04f12128d798131 |
| phpstan… | https://github.com/phpstan/phpstan-src/pull/5176 |
| 0f55eca | https://github.com/phpstan-bot/phpstan-src/commit/0f55eca3d2c513754ae69f0ff04f12128d798131 |
| …#5176 | https://github.com/phpstan/phpstan-src/pull/5176 |
|
Widen a float range that grows in a loop like an integer range
#7084
| https://github.com/phpstan/phpstan-src/pull/7084 |
|
Convert int and decimal-int-string to a finite float range in toFloat() and float arithmetic
#7102
| https://github.com/phpstan/phpstan-src/pull/7102 |
| 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%2F5176 |
|
| https://github.com/VincentLanglet |
|
VincentLanglet
| https://github.com/VincentLanglet |
|
| https://github.com/phpstan/phpstan-src/pull/5176/files/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d |
|
| https://github.com/ondrejmirtes |
|
ondrejmirtes
| https://github.com/ondrejmirtes |
|
| https://github.com/phpstan/phpstan-src/pull/5176/files/5cc5312f775df5ff9448dcc5c7898ea61ec0ee9d |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/5176/files/14a21546b891127a47e067495f1acc6f6bf52112 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5176 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/staabm |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/VincentLanglet |
|
| 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 |