René's URL Explorer Experiment


Title: Walk a while loop's exit condition instead of narrowing the body's scope by it by ondrejmirtes · Pull Request #7063 · phpstan/phpstan-src · GitHub

Open Graph Title: Walk a while loop's exit condition instead of narrowing the body's scope by it by ondrejmirtes · Pull Request #7063 · phpstan/phpstan-src

X Title: Walk a while loop's exit condition instead of narrowing the body's scope by it by ondrejmirtes · Pull Request #7063 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Walk a while loop's exit condition instead of narrowing the body's scope by it by ondrejmirtes · Pull Request #7063 · phpstan/phpstan-src

Open Graph Description: Closes phpstan/phpstan#15726 Also fixes Problem B of phpstan/phpstan#15722 (inverted correlation after while). After the body of a while loop ran, the post-loop scope was the body's back-edge s...

X Description: Closes phpstan/phpstan#15726 Also fixes Problem B of phpstan/phpstan#15722 (inverted correlation after while). After the body of a while loop ran, the post-loop scope was the body's back-ed...

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

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:d3bf12c2-35a8-e6c4-e310-43605b99498e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD0DC:C2718:8553DB:AE7C25:6B00DCFE
html-safe-nonce57f28fe68313d89f955c050c7561e5cb7d7c6bd804fcf1cae932738a3294c051
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMERDOkMyNzE4Ojg1NTNEQjpBRTdDMjU6NkIwMERDRkUiLCJ2aXNpdG9yX2lkIjoiMjg0NTczMjk2NzE5MDQyMDczNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac395e0f664bbc8e167a4154fa6c52a5c3c2be7f3fffe8330486a2fc05cd9a505a
hovercard-subject-tagpull_request:5304329443
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/7063/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d7428877899e7df35cb49fba35546daff3f837ffe330ae53bccfc76be2cb1bb2/phpstan/phpstan-src/pull/7063
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d7428877899e7df35cb49fba35546daff3f837ffe330ae53bccfc76be2cb1bb2/phpstan/phpstan-src/pull/7063
og:image:altCloses phpstan/phpstan#15726 Also fixes Problem B of phpstan/phpstan#15722 (inverted correlation after while). After the body of a while loop ran, the post-loop scope was the body's back-edge s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameondrejmirtes
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
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
release5425dc24e8bd8d6fca9641a12afc984825a43875
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/7063#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F7063
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%2F7063
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/7063
Reloadhttps://github.com/phpstan/phpstan-src/pull/7063
Reloadhttps://github.com/phpstan/phpstan-src/pull/7063
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
while-exit-condition-assignmentshttps://github.com/phpstan/phpstan-src/tree/while-exit-condition-assignments
Conversationhttps://github.com/phpstan/phpstan-src/pull/7063
Commits1 (1)https://github.com/phpstan/phpstan-src/pull/7063/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/7063/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/7063/files
Walk a while loop's exit condition instead of narrowing the body's scope by ithttps://github.com/phpstan/phpstan-src/pull/7063#top
ondrejmirteshttps://github.com/ondrejmirtes
2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
while-exit-condition-assignmentshttps://github.com/phpstan/phpstan-src/tree/while-exit-condition-assignments
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Nov 13, 2026https://github.com/phpstan/phpstan-src/pull/7063#issue-6381719098
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/7063
phpstan/phpstan#15726https://github.com/phpstan/phpstan/issues/15726
phpstan/phpstan#15722https://github.com/phpstan/phpstan/issues/15722
#5876https://github.com/phpstan/phpstan-src/pull/5876
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/7063
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Nov 13, 2026 https://github.com/phpstan/phpstan-src/pull/7063#ref-pullrequest-6381887126
Read untracked fetch links of an isset chain from the asking scope's state #7065 https://github.com/phpstan/phpstan-src/pull/7065
https://github.com/ondrejmirtes
Walk a while loop's exit condition instead of narrowing the body's sc…https://github.com/phpstan/phpstan-src/pull/7063/commits/ed5ec29d77c8cc0fe733b6077241d75145943bd5
ed5ec29https://github.com/phpstan/phpstan-src/pull/7063/commits/ed5ec29d77c8cc0fe733b6077241d75145943bd5
https://ampcode.com/threads/T-01a1d722-328d-734b-b55e-1eb10133f833https://ampcode.com/threads/T-01a1d722-328d-734b-b55e-1eb10133f833
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/33fedbc72eaf1e580c1c7f9dcbee312657ec09e7..ed5ec29d77c8cc0fe733b6077241d75145943bd5
33fedbchttps://github.com/phpstan/phpstan-src/commit/33fedbc72eaf1e580c1c7f9dcbee312657ec09e7
ed5ec29https://github.com/phpstan/phpstan-src/commit/ed5ec29d77c8cc0fe733b6077241d75145943bd5
Compare https://github.com/phpstan/phpstan-src/compare/33fedbc72eaf1e580c1c7f9dcbee312657ec09e7..ed5ec29d77c8cc0fe733b6077241d75145943bd5
November 13, 2026 23:43https://github.com/phpstan/phpstan-src/pull/7063#event-36085361066
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
2a70999https://github.com/phpstan/phpstan-src/commit/2a70999b21216aef451e997a2f374cb8306e0cfd
Nov 14, 2026https://github.com/phpstan/phpstan-src/pull/7063#event-36113105387
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/7063
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
November 14, 2026 09:06https://github.com/phpstan/phpstan-src/pull/7063#event-36113107186
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Nov 15, 2026 https://github.com/phpstan/phpstan-src/pull/7063#ref-issue-6402057788
Array built in a nested while loop becomes array{0?: ...} in a later for loop: "Offset might not exist" (regression in 2.3.x-dev) phpstan/phpstan#15736 https://github.com/phpstan/phpstan/issues/15736
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%2F7063
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/7063
Variable set under a condition on the while-assigned row is inferred as always true after the loop (regression in 2.2.3) https://github.com/phpstan/phpstan/issues/15726
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/7063
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.