| 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:fa6a8990-64b6-b504-bc75-84d2d9dfc59d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A47A:882E2:117B177:1713E46:6B010E0E |
| html-safe-nonce | cde36456567772e3cc7a678be7a8ab291975305d3286d01b991031a8779e5a32 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDdBOjg4MkUyOjExN0IxNzc6MTcxM0U0Njo2QjAxMEUwRSIsInZpc2l0b3JfaWQiOiI2Njk5ODE2ODYyMzI0MTY2MTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d39db6846c28a1ce15d7c58128318e7b14d361add121f68bfea438c97c0ced09 |
| hovercard-subject-tag | pull_request:4414442827 |
| 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/6334/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b2a26676a9cfe71aadec63c150b71fcbd05911fb93ee80eab5fc2b0e49f7c759/phpstan/phpstan-src/pull/6334 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b2a26676a9cfe71aadec63c150b71fcbd05911fb93ee80eab5fc2b0e49f7c759/phpstan/phpstan-src/pull/6334 |
| og:image:alt | Follow-up to #6330 (merged): the two refinements listed there, the unset() false negative, and a few things found while dogfooding.
Value flow (Psalm's "better unused variable detection&qu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ondrejmirtes |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| 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/6334#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6334 |
| 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%2F6334 |
| 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/6334 |
| Reload | https://github.com/phpstan/phpstan-src/pull/6334 |
| Reload | https://github.com/phpstan/phpstan-src/pull/6334 |
| phpstan | https://github.com/phpstan |
| phpstan-src | https://github.com/phpstan/phpstan-src |
| Code | https://github.com/phpstan/phpstan-src |
| Pull requests186 (186) | 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 |
| 2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| unused-variables-followups | https://github.com/phpstan/phpstan-src/tree/unused-variables-followups |
| Conversation | https://github.com/phpstan/phpstan-src/pull/6334 |
| Commits4 (4) | https://github.com/phpstan/phpstan-src/pull/6334/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/6334/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/6334/files |
| Report variable writes whose value never reaches a use, per array offset | https://github.com/phpstan/phpstan-src/pull/6334#top |
| ondrejmirtes | https://github.com/ondrejmirtes |
| 2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| unused-variables-followups | https://github.com/phpstan/phpstan-src/tree/unused-variables-followups |
|
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Sep 1, 2026 | https://github.com/phpstan/phpstan-src/pull/6334#issue-5314607981 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6334 |
| #6330 | https://github.com/phpstan/phpstan-src/pull/6330 |
| Report values assigned to variables that are never read #6330 | https://github.com/phpstan/phpstan-src/pull/6330 |
| Claude Code | https://claude.com/claude-code |
| https://claude.ai/code/session_01CbZPnVnRJDLbnqmtD3sYSy | https://claude.ai/code/session_01CbZPnVnRJDLbnqmtD3sYSy |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6334 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Sep 5, 2026
| https://github.com/phpstan/phpstan-src/pull/6334#ref-issue-5360973125 |
|
Make foreach.valueOverwrite / keyOverwrite value-flow-aware to skip harmless loop-variable reuse
phpstan/phpstan-strict-rules#332
| https://github.com/phpstan/phpstan-strict-rules/issues/332 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/24412984c5a5939c4b63d8f59546fa5bca931102..805b8ab5fa12801a9c564232d6554db73ca54ff7 |
| 2441298 | https://github.com/phpstan/phpstan-src/commit/24412984c5a5939c4b63d8f59546fa5bca931102 |
| 805b8ab | https://github.com/phpstan/phpstan-src/commit/805b8ab5fa12801a9c564232d6554db73ca54ff7 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/24412984c5a5939c4b63d8f59546fa5bca931102..805b8ab5fa12801a9c564232d6554db73ca54ff7 |
| September 7, 2026 15:49 | https://github.com/phpstan/phpstan-src/pull/6334#event-30702337394 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/6041802292d0e92065ff2a915cc398038cb945ba..8e260fa6b9ec6ca0680dcaeac330cc8151f7ca9e |
| 6041802 | https://github.com/phpstan/phpstan-src/commit/6041802292d0e92065ff2a915cc398038cb945ba |
| 8e260fa | https://github.com/phpstan/phpstan-src/commit/8e260fa6b9ec6ca0680dcaeac330cc8151f7ca9e |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/6041802292d0e92065ff2a915cc398038cb945ba..8e260fa6b9ec6ca0680dcaeac330cc8151f7ca9e |
| September 7, 2026 16:33 | https://github.com/phpstan/phpstan-src/pull/6334#event-30704321737 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/f13bef328a48e2ecc21c1f23177806901cbd3524..0a3ccf852d7da3a0e312ed970a02f2e94c343744 |
| f13bef3 | https://github.com/phpstan/phpstan-src/commit/f13bef328a48e2ecc21c1f23177806901cbd3524 |
| 0a3ccf8 | https://github.com/phpstan/phpstan-src/commit/0a3ccf852d7da3a0e312ed970a02f2e94c343744 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/f13bef328a48e2ecc21c1f23177806901cbd3524..0a3ccf852d7da3a0e312ed970a02f2e94c343744 |
| September 9, 2026 20:44 | https://github.com/phpstan/phpstan-src/pull/6334#event-30857948011 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/8e260fa6b9ec6ca0680dcaeac330cc8151f7ca9e..0de7e0c4f102225cae8205a7ef008db6d45a051b |
| 8e260fa | https://github.com/phpstan/phpstan-src/commit/8e260fa6b9ec6ca0680dcaeac330cc8151f7ca9e |
| 0de7e0c | https://github.com/phpstan/phpstan-src/commit/0de7e0c4f102225cae8205a7ef008db6d45a051b |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/8e260fa6b9ec6ca0680dcaeac330cc8151f7ca9e..0de7e0c4f102225cae8205a7ef008db6d45a051b |
| September 10, 2026 07:23 | https://github.com/phpstan/phpstan-src/pull/6334#event-30883571343 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/5de5f2f6335d8f88ed6b829df5c682e7a9cb8e20..d21d791fb9689f89b207fd2145e77d4416ecac8f |
| 5de5f2f | https://github.com/phpstan/phpstan-src/commit/5de5f2f6335d8f88ed6b829df5c682e7a9cb8e20 |
| d21d791 | https://github.com/phpstan/phpstan-src/commit/d21d791fb9689f89b207fd2145e77d4416ecac8f |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/5de5f2f6335d8f88ed6b829df5c682e7a9cb8e20..d21d791fb9689f89b207fd2145e77d4416ecac8f |
| September 10, 2026 08:36 | https://github.com/phpstan/phpstan-src/pull/6334#event-30888151703 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/e76cfae1c08be9bd8b4137f7687be7085ce7b93a..8dce7987039ff0f701d8a0816abce472b06968d2 |
| e76cfae | https://github.com/phpstan/phpstan-src/commit/e76cfae1c08be9bd8b4137f7687be7085ce7b93a |
| 8dce798 | https://github.com/phpstan/phpstan-src/commit/8dce7987039ff0f701d8a0816abce472b06968d2 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/e76cfae1c08be9bd8b4137f7687be7085ce7b93a..8dce7987039ff0f701d8a0816abce472b06968d2 |
| September 10, 2026 11:48 | https://github.com/phpstan/phpstan-src/pull/6334#event-30899208848 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/4f5a86eed19aafed1ab32ee85d4eb9758209c752..5195842bb8ce4e5b9ca885e5e714adfb2174cc80 |
| 4f5a86e | https://github.com/phpstan/phpstan-src/commit/4f5a86eed19aafed1ab32ee85d4eb9758209c752 |
| 5195842 | https://github.com/phpstan/phpstan-src/commit/5195842bb8ce4e5b9ca885e5e714adfb2174cc80 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/4f5a86eed19aafed1ab32ee85d4eb9758209c752..5195842bb8ce4e5b9ca885e5e714adfb2174cc80 |
| September 10, 2026 12:03 | https://github.com/phpstan/phpstan-src/pull/6334#event-30900039798 |
| September 10, 2026 12:04 | https://github.com/phpstan/phpstan-src/pull/6334#event-30900092438 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/a7c02cffc3f67b8e979e562ccab3ad5012aab7ff..85d34e338a47d530e2d2d609354e007308d14bac |
| a7c02cf | https://github.com/phpstan/phpstan-src/commit/a7c02cffc3f67b8e979e562ccab3ad5012aab7ff |
| 85d34e3 | https://github.com/phpstan/phpstan-src/commit/85d34e338a47d530e2d2d609354e007308d14bac |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/a7c02cffc3f67b8e979e562ccab3ad5012aab7ff..85d34e338a47d530e2d2d609354e007308d14bac |
| September 11, 2026 09:23 | https://github.com/phpstan/phpstan-src/pull/6334#event-30961910842 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| September 11, 2026 11:35 | https://github.com/phpstan/phpstan-src/pull/6334#commits-pushed-a323b66 |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Track unused values and array offset assignments | https://github.com/phpstan/phpstan-src/pull/6334/commits/a323b661567de2948e151e92d37a3e1df83ee143 |
| a323b66 | https://github.com/phpstan/phpstan-src/pull/6334/commits/a323b661567de2948e151e92d37a3e1df83ee143 |
| https://claude.ai/code/session_018CZ79ZBiMt4KWgU3uy4Y4j | https://claude.ai/code/session_018CZ79ZBiMt4KWgU3uy4Y4j |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Report constant-offset assignments that are redundant | https://github.com/phpstan/phpstan-src/pull/6334/commits/66ff8bb4f6b959c09a8bce519327631ec7de3744 |
| 66ff8bb | https://github.com/phpstan/phpstan-src/pull/6334/commits/66ff8bb4f6b959c09a8bce519327631ec7de3744 |
| https://claude.ai/code/session_018CZ79ZBiMt4KWgU3uy4Y4j | https://claude.ai/code/session_018CZ79ZBiMt4KWgU3uy4Y4j |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Report parameters and captures that only flow into unused values | https://github.com/phpstan/phpstan-src/pull/6334/commits/a3fca1979c27df9b353cabdc3fab7d27a5a37aad |
| a3fca19 | https://github.com/phpstan/phpstan-src/pull/6334/commits/a3fca1979c27df9b353cabdc3fab7d27a5a37aad |
| https://claude.ai/code/session_018CZ79ZBiMt4KWgU3uy4Y4j | https://claude.ai/code/session_018CZ79ZBiMt4KWgU3uy4Y4j |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Do not report values flowing into a write that is reported as never read | https://github.com/phpstan/phpstan-src/pull/6334/commits/59b243fab985f1a0cf850c1f458b6ae165ea664b |
| 59b243f | https://github.com/phpstan/phpstan-src/pull/6334/commits/59b243fab985f1a0cf850c1f458b6ae165ea664b |
| https://claude.ai/code/session_018CZ79ZBiMt4KWgU3uy4Y4j | https://claude.ai/code/session_018CZ79ZBiMt4KWgU3uy4Y4j |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/85d34e338a47d530e2d2d609354e007308d14bac..59b243fab985f1a0cf850c1f458b6ae165ea664b |
| 85d34e3 | https://github.com/phpstan/phpstan-src/commit/85d34e338a47d530e2d2d609354e007308d14bac |
| 59b243f | https://github.com/phpstan/phpstan-src/commit/59b243fab985f1a0cf850c1f458b6ae165ea664b |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/85d34e338a47d530e2d2d609354e007308d14bac..59b243fab985f1a0cf850c1f458b6ae165ea664b |
| September 11, 2026 09:35 | https://github.com/phpstan/phpstan-src/pull/6334#event-30962544252 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| d252cb3 | https://github.com/phpstan/phpstan-src/commit/d252cb365f23a8ae7e43562669bc90e2bb431ac5 |
| Sep 11, 2026 | https://github.com/phpstan/phpstan-src/pull/6334#event-30962674456 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6334 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| September 11, 2026 09:37 | https://github.com/phpstan/phpstan-src/pull/6334#event-30962676354 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Sep 11, 2026
| https://github.com/phpstan/phpstan-src/pull/6334#ref-pullrequest-5425329149 |
|
Widen only the variables a loop can write when its scope converges
#6421
| https://github.com/phpstan/phpstan-src/pull/6421 |
| 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%2F6334 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6334 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6334 |
|
| https://github.com/ondrejmirtes |
|
| 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 |