René's URL Explorer Experiment


Title: Fix phpstan/phpstan#12163: non-negative-int evaluated to int by phpstan-bot · Pull Request #5176 · phpstan/phpstan-src · GitHub

Open Graph Title: Fix phpstan/phpstan#12163: non-negative-int evaluated to int by phpstan-bot · Pull Request #5176 · phpstan/phpstan-src

X Title: Fix phpstan/phpstan#12163: non-negative-int evaluated to int by phpstan-bot · Pull Request #5176 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Fix phpstan/phpstan#12163: non-negative-int evaluated to int by phpstan-bot · Pull Request #5176 · phpstan/phpstan-src

Open Graph Description: 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-...

X Description: 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&lt;0, max&g...

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

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:e4385587-6539-29b8-247c-3bc8f306e4ea
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB388:1F4117:3B7A58:537775:6B006DDB
html-safe-nonce38ce4c7da2628f6bd55c035887328a723a2ab963f924ebe1ebb5e1dfd2e17597
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzg4OjFGNDExNzozQjdBNTg6NTM3Nzc1OjZCMDA2RERCIiwidmlzaXRvcl9pZCI6IjIzOTkxMzYxNjQ2MDM3ODQ2NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf507ad4b837fb2fb44e3348400bb4e74a7434af05839262970a1a4d01a97745f
hovercard-subject-tagpull_request:3374565692
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/5176/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/29a10342b73ec07db13192c6fadb09405df3faa02a46db0249fb9213ed3b6b01/phpstan/phpstan-src/pull/5176
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/29a10342b73ec07db13192c6fadb09405df3faa02a46db0249fb9213ed3b6b01/phpstan/phpstan-src/pull/5176
og:image:altSummary 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamephpstan-bot
hostnamegithub.com
expected-hostnamegithub.com
None6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa
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
release46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/5176#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5176
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%2F5176
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/5176
Reloadhttps://github.com/phpstan/phpstan-src/pull/5176
Reloadhttps://github.com/phpstan/phpstan-src/pull/5176
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
ondrejmirteshttps://github.com/ondrejmirtes
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
phpstan-bot:create-pull-request/patch-sxca8e1https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-sxca8e1
Conversationhttps://github.com/phpstan/phpstan-src/pull/5176
Commits21 (21)https://github.com/phpstan/phpstan-src/pull/5176/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/5176/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/5176/files
Fix phpstan/phpstan#12163: non-negative-int evaluated to inthttps://github.com/phpstan/phpstan-src/pull/5176#top
ondrejmirteshttps://github.com/ondrejmirtes
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
phpstan-bot:create-pull-request/patch-sxca8e1https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-sxca8e1
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Mar 9, 2026https://github.com/phpstan/phpstan-src/pull/5176#issue-4046891629
phpstan/phpstan#12163https://github.com/phpstan/phpstan/issues/12163
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/staabm
staabmhttps://github.com/staabm
Mar 10, 2026https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4029059335
@phpstan-bothttps://github.com/phpstan-bot
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/staabm
staabmhttps://github.com/staabm
Mar 10, 2026https://github.com/phpstan/phpstan-src/pull/5176#event-23443232223
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/4e8e644ee8142c7caea17bf7db44004c3065c40b..bec459ef6f201fe15040c89a4eaa62312bed12f4
4e8e644https://github.com/phpstan/phpstan-src/commit/4e8e644ee8142c7caea17bf7db44004c3065c40b
bec459ehttps://github.com/phpstan/phpstan-src/commit/bec459ef6f201fe15040c89a4eaa62312bed12f4
Compare https://github.com/phpstan/phpstan-src/compare/4e8e644ee8142c7caea17bf7db44004c3065c40b..bec459ef6f201fe15040c89a4eaa62312bed12f4
March 11, 2026 11:07https://github.com/phpstan/phpstan-src/pull/5176#event-23466330083
https://github.com/staabm
staabmhttps://github.com/staabm
Mar 11, 2026https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4039724872
@phpstan-bothttps://github.com/phpstan-bot
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/bec459ef6f201fe15040c89a4eaa62312bed12f4..78003f1c3decdfb7531a2972263b3c3802c6bcc9
bec459ehttps://github.com/phpstan/phpstan-src/commit/bec459ef6f201fe15040c89a4eaa62312bed12f4
78003f1https://github.com/phpstan/phpstan-src/commit/78003f1c3decdfb7531a2972263b3c3802c6bcc9
Compare https://github.com/phpstan/phpstan-src/compare/bec459ef6f201fe15040c89a4eaa62312bed12f4..78003f1c3decdfb7531a2972263b3c3802c6bcc9
March 11, 2026 14:45https://github.com/phpstan/phpstan-src/pull/5176#event-23473214857
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Mar 11, 2026https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4039740263
@staabmhttps://github.com/staabm
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/ondrejmirtes
ondrejmirteshttps://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
ondrejmirteshttps://github.com/ondrejmirtes
https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3930154331
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/ondrejmirtes
ondrejmirteshttps://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
ondrejmirteshttps://github.com/ondrejmirtes
https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3930170773
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Mar 11, 2026https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4039811667
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/ondrejmirtes
ondrejmirteshttps://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
ondrejmirteshttps://github.com/ondrejmirtes
https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3930327661
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Mar 11, 2026https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4039957842
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/staabm
staabmhttps://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.phphttps://github.com/phpstan/phpstan-src/pull/5176/files#diff-ef57dbf7ac34f940bf69d36384f5d109321330406f9508fb7e1c05bbefa010d4
staabmhttps://github.com/staabm
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2922433463
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
before this PR already thoughhttps://phpstan.org/r/16753cd0-90ce-416d-8f7a-73064dcb2fc7
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
phpstan-bothttps://github.com/phpstan-bot
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2922457946
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
staabmhttps://github.com/staabm
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2922487627
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
phpstan-bothttps://github.com/phpstan-bot
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2922505502
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/staabm
staabmhttps://github.com/staabm
VincentLanglethttps://github.com/VincentLanglet
March 12, 2026 05:56https://github.com/phpstan/phpstan-src/pull/5176#event-23494808585
github-actionshttps://github.com/apps/github-actions
March 12, 2026 06:56https://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 loophttps://github.com/phpstan/phpstan-src/pull/5176/commits/b39369c6ea84b654a4a6c6368d6251640320b3f0
b39369chttps://github.com/phpstan/phpstan-src/pull/5176/commits/b39369c6ea84b654a4a6c6368d6251640320b3f0
phpstan/phpstan#12163https://github.com/phpstan/phpstan/issues/12163
https://github.com/staabm
test invershttps://github.com/phpstan/phpstan-src/pull/5176/commits/4b1d4cfbdd8d9f29c66a1b38ad2b155444f185bf
4b1d4cfhttps://github.com/phpstan/phpstan-src/pull/5176/commits/4b1d4cfbdd8d9f29c66a1b38ad2b155444f185bf
https://github.com/staabm
Update bug-12163.phphttps://github.com/phpstan/phpstan-src/pull/5176/commits/46b553a0c1a4f82516fbf60b673a565608c27d83
46b553ahttps://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
541b77ahttps://github.com/phpstan/phpstan-src/pull/5176/commits/541b77a990483adb2bf1d29b57ca809de9660459
https://github.com/staabm
Update bug-12163.phphttps://github.com/phpstan/phpstan-src/pull/5176/commits/ec611b6106036134d71321a96469c730c3928d2e
ec611b6https://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
b41d360https://github.com/phpstan/phpstan-src/pull/5176/commits/b41d360b86d5c378cf56f672eaafbbfb483dd45c
e75772dhttps://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
95d62efhttps://github.com/phpstan/phpstan-src/pull/5176/commits/95d62efd5d2dd485f533ed8968dbf3a19fb77b9e
bd09833https://github.com/phpstan-bot/phpstan-src/commit/bd09833576d3c41eb2b18d74d0b84f5661ebe570
https://github.com/staabm
Update NumberComparisonOperatorsConstantConditionRuleTest.phphttps://github.com/phpstan/phpstan-src/pull/5176/commits/2279ebd60eff27476c7fa3486d0f436a3126cef2
2279ebdhttps://github.com/phpstan/phpstan-src/pull/5176/commits/2279ebd60eff27476c7fa3486d0f436a3126cef2
https://github.com/staabm
add rule testhttps://github.com/phpstan/phpstan-src/pull/5176/commits/1ea5d36b44721f658354548e45a84ce1b78e7f1b
1ea5d36https://github.com/phpstan/phpstan-src/pull/5176/commits/1ea5d36b44721f658354548e45a84ce1b78e7f1b
https://github.com/staabm
add origin bug testhttps://github.com/phpstan/phpstan-src/pull/5176/commits/781ce0118e39f485690782a522f3a6acdb7a874b
781ce01https://github.com/phpstan/phpstan-src/pull/5176/commits/781ce0118e39f485690782a522f3a6acdb7a874b
https://github.com/staabm
Update NumberComparisonOperatorsConstantConditionRuleTest.phphttps://github.com/phpstan/phpstan-src/pull/5176/commits/78346da36f508a473abdba51e5bbef8a29824143
78346dahttps://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
bc7792ahttps://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
8ac04f0https://github.com/phpstan/phpstan-src/pull/5176/commits/8ac04f02693cdced13a130f333c2920e13f060be
daf5d79https://github.com/phpstan-bot/phpstan-src/commit/daf5d7952060408c18bd554c2cfad8ddd63f239c
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/7ebc814618956b9444eab59a756e54142f01289e..8ac04f02693cdced13a130f333c2920e13f060be
7ebc814https://github.com/phpstan/phpstan-src/commit/7ebc814618956b9444eab59a756e54142f01289e
8ac04f0https://github.com/phpstan/phpstan-src/commit/8ac04f02693cdced13a130f333c2920e13f060be
Compare https://github.com/phpstan/phpstan-src/compare/7ebc814618956b9444eab59a756e54142f01289e..8ac04f02693cdced13a130f333c2920e13f060be
March 12, 2026 05:56https://github.com/phpstan/phpstan-src/pull/5176#event-23494817792
https://github.com/staabm
Update bug-12163.phphttps://github.com/phpstan/phpstan-src/pull/5176/commits/f8275b7543e5045057ecb3fb3c04662ec172e04c
f8275b7https://github.com/phpstan/phpstan-src/pull/5176/commits/f8275b7543e5045057ecb3fb3c04662ec172e04c
https://github.com/staabm
staabmhttps://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
92fe388https://github.com/phpstan/phpstan-src/pull/5176/commits/92fe3884cc99f10061ecd97ad39f78a2540b8528
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4044243577
Please reload this pagehttps://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
14a2154https://github.com/phpstan/phpstan-src/pull/5176/commits/14a21546b891127a47e067495f1acc6f6bf52112
92fe388https://github.com/phpstan-bot/phpstan-src/commit/92fe3884cc99f10061ecd97ad39f78a2540b8528
https://github.com/VincentLanglet
VincentLanglethttps://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.phphttps://github.com/phpstan/phpstan-src/pull/5176/files/14a21546b891127a47e067495f1acc6f6bf52112#diff-dc817f2bab8672057a95375a542e68599164f6ab2380e4cccd1b50583e295d85
VincentLanglethttps://github.com/VincentLanglet
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2925451176
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@staabmhttps://github.com/staabm
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
phpstan-bothttps://github.com/phpstan-bot
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2925503426
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
phpstan-bothttps://github.com/phpstan-bot
March 12, 2026 15:29https://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
309179ahttps://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
6a1c710https://github.com/phpstan/phpstan-src/pull/5176/commits/6a1c710b813f5c41866f9eae913ca5ef00a927aa
309179ahttps://github.com/phpstan-bot/phpstan-src/commit/309179a1988e07c7e1434e81c3fb14ed94c7054f
https://github.com/staabm
merge loopshttps://github.com/phpstan/phpstan-src/pull/5176/commits/992768b4a921be4f7f711daad4f398854e24f10e
992768bhttps://github.com/phpstan/phpstan-src/pull/5176/commits/992768b4a921be4f7f711daad4f398854e24f10e
https://github.com/VincentLanglet
VincentLanglethttps://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
VincentLanglethttps://github.com/VincentLanglet
https://github.com/phpstan/phpstan-src/pull/5176#pullrequestreview-3937650244
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4047816401
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/staabm
cleanuphttps://github.com/phpstan/phpstan-src/pull/5176/commits/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d
cb6972ehttps://github.com/phpstan/phpstan-src/pull/5176/commits/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d
https://github.com/clxmstaab
clxmstaabhttps://github.com/clxmstaab
force-pushedhttps://github.com/phpstan/phpstan-src/compare/6787e1dda84aceac34c155def563901fee436d5b..cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d
6787e1dhttps://github.com/phpstan/phpstan-src/commit/6787e1dda84aceac34c155def563901fee436d5b
cb6972ehttps://github.com/phpstan/phpstan-src/commit/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d
Compare https://github.com/phpstan/phpstan-src/compare/6787e1dda84aceac34c155def563901fee436d5b..cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d
March 12, 2026 15:47https://github.com/phpstan/phpstan-src/pull/5176#event-23513579873
https://github.com/staabm
staabmhttps://github.com/staabm
March 12, 2026 15:48https://github.com/phpstan/phpstan-src/pull/5176#event-23513612147
https://github.com/staabm
staabmhttps://github.com/staabm
March 12, 2026 15:55https://github.com/phpstan/phpstan-src/pull/5176#event-23513866768
https://github.com/VincentLanglet
VincentLanglethttps://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.phphttps://github.com/phpstan/phpstan-src/pull/5176/files/cb6972e3c82e2abebcb1a99ac1c2ae31bb74b40d#diff-dc817f2bab8672057a95375a542e68599164f6ab2380e4cccd1b50583e295d85
VincentLanglethttps://github.com/VincentLanglet
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2925908195
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
phpstan-bothttps://github.com/phpstan-bot
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#discussion_r2925974016
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://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
5cc5312https://github.com/phpstan/phpstan-src/pull/5176/commits/5cc5312f775df5ff9448dcc5c7898ea61ec0ee9d
https://github.com/ondrejmirtes
ondrejmirteshttps://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
ondrejmirteshttps://github.com/ondrejmirtes
9d660fbhttps://github.com/phpstan/phpstan-src/commit/9d660fbb57ec8219679d156c9588aadfb85ae015
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#event-23516049621
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
March 12, 2026 17:00https://github.com/phpstan/phpstan-src/pull/5176#event-23516050784
https://github.com/phpstan-bot
phpstan-bothttps://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-bothttps://github.com/phpstan-bot
Mar 12, 2026https://github.com/phpstan/phpstan-src/pull/5176#issuecomment-4048443761
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5176
phpstan-bothttps://github.com/phpstan-bot
Apr 7, 2026 https://github.com/phpstan/phpstan-src/pull/5176#ref-commit-0f55eca
https://github.com/phpstan-bot
Fixhttps://github.com/phpstan-bot/phpstan-src/commit/0f55eca3d2c513754ae69f0ff04f12128d798131
phpstan/phpstan#12163https://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
0f55ecahttps://github.com/phpstan-bot/phpstan-src/commit/0f55eca3d2c513754ae69f0ff04f12128d798131
…#5176https://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 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%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 pagehttps://github.com/phpstan/phpstan-src/pull/5176
https://github.com/staabm
staabm https://github.com/staabm
Please reload this pagehttps://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
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.