René's URL Explorer Experiment


Title: Cut recomputation in loop convergence and two on-demand re-walks by ondrejmirtes · Pull Request #6765 · phpstan/phpstan-src · GitHub

Open Graph Title: Cut recomputation in loop convergence and two on-demand re-walks by ondrejmirtes · Pull Request #6765 · phpstan/phpstan-src

X Title: Cut recomputation in loop convergence and two on-demand re-walks by ondrejmirtes · Pull Request #6765 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Cut recomputation in loop convergence and two on-demand re-walks by ondrejmirtes · Pull Request #6765 · phpstan/phpstan-src

Open Graph Description: Five changes that cut what the engine recomputes. Each is mirrored in the turbo twins, and the analysis output is identical. Later loop convergence passes re-walk only changed statements (foreach,...

X Description: Five changes that cut what the engine recomputes. Each is mirrored in the turbo twins, and the analysis output is identical. Later loop convergence passes re-walk only changed statements (foreach,...

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

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:8727654d-f4f7-d8a3-bb4a-8f00904bc3c6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD46:24ACB9:C77610:1082333:6B00F1D9
html-safe-nonce5fdb95ecd8c9e819bcc8447a3b272b3d9cc621de51d39b1aa12f64ef78cf7e42
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQ2OjI0QUNCOTpDNzc2MTA6MTA4MjMzMzo2QjAwRjFEOSIsInZpc2l0b3JfaWQiOiIzNTUyNTM4NTgwOTkzNzY1ODUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca109ceedb2dcfb104ba0df5bd8b306441f37105afa4c9ee47a08b42b8f3563b2
hovercard-subject-tagpull_request:4932537228
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/6765/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d44c4ab99648e79a84e9ce7b501e77e44c937fd7cf46c49895baba9d8d81832b/phpstan/phpstan-src/pull/6765
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d44c4ab99648e79a84e9ce7b501e77e44c937fd7cf46c49895baba9d8d81832b/phpstan/phpstan-src/pull/6765
og:image:altFive changes that cut what the engine recomputes. Each is mirrored in the turbo twins, and the analysis output is identical. Later loop convergence passes re-walk only changed statements (foreach,...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameondrejmirtes
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/6765#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6765
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%2F6765
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/6765
Reloadhttps://github.com/phpstan/phpstan-src/pull/6765
Reloadhttps://github.com/phpstan/phpstan-src/pull/6765
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests186 (186)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
2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
recompute-cutshttps://github.com/phpstan/phpstan-src/tree/recompute-cuts
Conversationhttps://github.com/phpstan/phpstan-src/pull/6765
Commits8 (8)https://github.com/phpstan/phpstan-src/pull/6765/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/6765/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/6765/files
Cut recomputation in loop convergence and two on-demand re-walkshttps://github.com/phpstan/phpstan-src/pull/6765#top
ondrejmirteshttps://github.com/ondrejmirtes
2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
recompute-cutshttps://github.com/phpstan/phpstan-src/tree/recompute-cuts
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Oct 20, 2026https://github.com/phpstan/phpstan-src/pull/6765#issue-5937798993
Claude Codehttps://claude.com/claude-code
https://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17Xhttps://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17X
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6765
ondrejmirteshttps://github.com/ondrejmirtes
October 20, 2026 08:55https://github.com/phpstan/phpstan-src/pull/6765#commits-pushed-c29b700
https://github.com/ondrejmirtes
https://github.com/claude
Re-walk only changed statements in later foreach convergence passeshttps://github.com/phpstan/phpstan-src/pull/6765/commits/c29b7002b5386f7ecfb9985f403dfb5309694426
c29b700https://github.com/phpstan/phpstan-src/pull/6765/commits/c29b7002b5386f7ecfb9985f403dfb5309694426
https://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17Xhttps://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17X
https://github.com/ondrejmirtes
https://github.com/claude
Re-walk only changed statements in later while, do-while and for passeshttps://github.com/phpstan/phpstan-src/pull/6765/commits/840e9e26258c0f3844043d112e8cce015873c870
840e9e2https://github.com/phpstan/phpstan-src/pull/6765/commits/840e9e26258c0f3844043d112e8cce015873c870
https://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17Xhttps://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17X
https://github.com/ondrejmirtes
https://github.com/claude
Replay the statements a loop's last pass stands in for in its final walkhttps://github.com/phpstan/phpstan-src/pull/6765/commits/f1fc42734388dc8b69be31008641dee42e4c52f0
f1fc427https://github.com/phpstan/phpstan-src/pull/6765/commits/f1fc42734388dc8b69be31008641dee42e4c52f0
https://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17Xhttps://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17X
https://github.com/ondrejmirtes
https://github.com/claude
Skip re-pricing a binary operation on the operand types the walk sawhttps://github.com/phpstan/phpstan-src/pull/6765/commits/09f25c7435e839035385365ff1899b6be7b95d72
09f25c7https://github.com/phpstan/phpstan-src/pull/6765/commits/09f25c7435e839035385365ff1899b6be7b95d72
https://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17Xhttps://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17X
https://github.com/ondrejmirtes
https://github.com/claude
Compose the post-foreach empty-or-object narrowing instead of walking ithttps://github.com/phpstan/phpstan-src/pull/6765/commits/eed1872dc14f611f8fa820f9394334addca6530a
eed1872https://github.com/phpstan/phpstan-src/pull/6765/commits/eed1872dc14f611f8fa820f9394334addca6530a
https://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17Xhttps://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17X
https://github.com/ondrejmirtes
Bump expected turbo versionhttps://github.com/phpstan/phpstan-src/pull/6765/commits/5f9c0e008190b0419a06928a6202046e2414b64f
5f9c0e0https://github.com/phpstan/phpstan-src/pull/6765/commits/5f9c0e008190b0419a06928a6202046e2414b64f
https://github.com/ondrejmirtes
https://github.com/claude
Shadow ForeachEmptyOrObjectNarrowingHelper nativelyhttps://github.com/phpstan/phpstan-src/pull/6765/commits/80f2bb1ce074ec532e35be08d8b622c804b3f443
80f2bb1https://github.com/phpstan/phpstan-src/pull/6765/commits/80f2bb1ce074ec532e35be08d8b622c804b3f443
https://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17Xhttps://claude.ai/code/session_01MMNnG2Zo7wgvSZCzjdk17X
https://github.com/ondrejmirtes
Bump expected turbo versionhttps://github.com/phpstan/phpstan-src/pull/6765/commits/97902f57bec5ebd4672eac34db80a97806f950b5
97902f5https://github.com/phpstan/phpstan-src/pull/6765/commits/97902f57bec5ebd4672eac34db80a97806f950b5
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
c615841https://github.com/phpstan/phpstan-src/commit/c615841068e479c8a40631b825472bda01935dbb
Oct 20, 2026https://github.com/phpstan/phpstan-src/pull/6765#event-33720047007
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6765
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
October 20, 2026 07:42https://github.com/phpstan/phpstan-src/pull/6765#event-33720049890
https://github.com/staabm
staabmhttps://github.com/staabm
Oct 20, 2026 https://github.com/phpstan/phpstan-src/pull/6765#ref-pullrequest-5938459003
ForeachEmptyOrObjectNarrowingHelper: Prevent unnecessary work #6766 https://github.com/phpstan/phpstan-src/pull/6766
Arguments of a nullsafe method call inside a multi-pass loop are skipped since #6765 (missing errors, false property.onlyWritten) phpstan/phpstan#15520 https://github.com/phpstan/phpstan/issues/15520
Loop loses break/continue exit points after early convergence in a later pass since #6765 (array key set before break missing after loop) phpstan/phpstan#15521 https://github.com/phpstan/phpstan/issues/15521
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Oct 22, 2026 https://github.com/phpstan/phpstan-src/pull/6765#ref-pullrequest-5987216837
Consume only the nullsafe twin's receiver from stored results instead of its whole subtree #6782 https://github.com/phpstan/phpstan-src/pull/6782
ondrejmirteshttps://github.com/ondrejmirtes
Oct 23, 2026 https://github.com/phpstan/phpstan-src/pull/6765#ref-commit-523c7b6
https://github.com/phpstan-bot
https://github.com/ondrejmirtes
Consume only the nullsafe twin's receiver from stored results instead…https://github.com/phpstan-bot/phpstan-src/commit/523c7b650893f78ae06f929bdcd9412bce82b73c
523c7b6https://github.com/phpstan-bot/phpstan-src/commit/523c7b650893f78ae06f929bdcd9412bce82b73c
phpstan#6765https://github.com/phpstan/phpstan-src/pull/6765
ondrejmirteshttps://github.com/ondrejmirtes
Oct 23, 2026 https://github.com/phpstan/phpstan-src/pull/6765#ref-commit-e05877e
https://github.com/phpstan-bot
https://github.com/ondrejmirtes
Consume only the nullsafe twin's receiver from stored results instead…https://github.com/phpstan-bot/phpstan-src/commit/e05877ef6dac9cd368bc65c1b98aed30be5499f0
e05877ehttps://github.com/phpstan-bot/phpstan-src/commit/e05877ef6dac9cd368bc65c1b98aed30be5499f0
phpstan#6765https://github.com/phpstan/phpstan-src/pull/6765
ondrejmirteshttps://github.com/ondrejmirtes
Oct 23, 2026 https://github.com/phpstan/phpstan-src/pull/6765#ref-commit-fd5c6e2
https://github.com/phpstan-bot
https://github.com/ondrejmirtes
Consume only the nullsafe twin's receiver from stored results instead…https://github.com/phpstan-bot/phpstan-src/commit/fd5c6e21cb6d0288e37940a6d156c4a857c24b33
fd5c6e2https://github.com/phpstan-bot/phpstan-src/commit/fd5c6e21cb6d0288e37940a6d156c4a857c24b33
phpstan#6765https://github.com/phpstan/phpstan-src/pull/6765
ondrejmirteshttps://github.com/ondrejmirtes
Oct 23, 2026 https://github.com/phpstan/phpstan-src/pull/6765#ref-commit-119d067
https://github.com/phpstan-bot
https://github.com/ondrejmirtes
Consume only the nullsafe twin's receiver from stored results instead…https://github.com/phpstan/phpstan-src/commit/119d0670bfcb851250c72a6f1d2896239094c778
119d067https://github.com/phpstan/phpstan-src/commit/119d0670bfcb851250c72a6f1d2896239094c778
#6765https://github.com/phpstan/phpstan-src/pull/6765
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%2F6765
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6765
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6765
https://github.com/ondrejmirtes
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.