| 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:1c9de7ba-cb37-3f5b-7e95-e3c7d2a39ce6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C654:3A73AA:4745A9:5A02C0:6B010AA0 |
| html-safe-nonce | 0e91459e34e6ea125c5b09d6a2602929856861153f4eb063bcaf6685e0c0827d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjU0OjNBNzNBQTo0NzQ1QTk6NUEwMkMwOjZCMDEwQUEwIiwidmlzaXRvcl9pZCI6IjM0NTQwMjgzNjA2ODkxOTE1ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a9a231bf1a4bf36f264706b156afbba00757ef9b01309e4fc960e73f82e0b6dc |
| hovercard-subject-tag | pull_request:4413639231 |
| 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/6330/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8d6700de3ba5d278d3b8514fe5e765c9341041485b6c991a395310e094ae890f/phpstan/phpstan-src/pull/6330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d6700de3ba5d278d3b8514fe5e765c9341041485b6c991a395310e094ae890f/phpstan/phpstan-src/pull/6330 |
| og:image:alt | Reports local variables whose assigned value is never read afterwards on any path (variable.unused, level 4, behind the new unusedVariable bleeding-edge toggle).
⚠️ The last commit enables the togg... |
| 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/6330#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6330 |
| 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%2F6330 |
| 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/6330 |
| Reload | https://github.com/phpstan/phpstan-src/pull/6330 |
| Reload | https://github.com/phpstan/phpstan-src/pull/6330 |
| 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 | https://github.com/phpstan/phpstan-src/tree/unused-variables |
| Conversation | https://github.com/phpstan/phpstan-src/pull/6330 |
| Commits33 (33) | https://github.com/phpstan/phpstan-src/pull/6330/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/6330/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/6330/files |
| Report values assigned to variables that are never read | https://github.com/phpstan/phpstan-src/pull/6330#top |
| ondrejmirtes | https://github.com/ondrejmirtes |
| 2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| unused-variables | https://github.com/phpstan/phpstan-src/tree/unused-variables |
|
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Sep 1, 2026 | https://github.com/phpstan/phpstan-src/pull/6330#issue-5313649667 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6330 |
| phpstan/phpstan#12789 | https://github.com/phpstan/phpstan/issues/12789 |
| phpstan/phpstan#12012 | https://github.com/phpstan/phpstan/issues/12012 |
| phpstan/phpstan#11483 | https://github.com/phpstan/phpstan/issues/11483 |
| phpstan/phpstan#10202 | https://github.com/phpstan/phpstan/issues/10202 |
| 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/6330 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Sep 1, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#ref-pullrequest-5314607981 |
|
Report variable writes whose value never reaches a use, per array offset
#6334
| https://github.com/phpstan/phpstan-src/pull/6334 |
| https://github.com/SanderMuller |
| SanderMuller | https://github.com/SanderMuller |
|
Sep 1, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#ref-pullrequest-5314009287 |
|
Track scanned files as file dependencies instead of invalidating the whole result cache
#6331
| https://github.com/phpstan/phpstan-src/pull/6331 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/2aca59b947d029380119cf9ef43e093d1863910d..00f2b74a6aa033d11ccd175b80144be5fd1505d6 |
| 2aca59b | https://github.com/phpstan/phpstan-src/commit/2aca59b947d029380119cf9ef43e093d1863910d |
| 00f2b74 | https://github.com/phpstan/phpstan-src/commit/00f2b74a6aa033d11ccd175b80144be5fd1505d6 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/2aca59b947d029380119cf9ef43e093d1863910d..00f2b74a6aa033d11ccd175b80144be5fd1505d6 |
| September 2, 2026 13:15 | https://github.com/phpstan/phpstan-src/pull/6330#event-30417316347 |
| September 2, 2026 13:21 | https://github.com/phpstan/phpstan-src/pull/6330#event-30417737105 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/a4793f730dbce70efa0d3fb04c9906326852ad2f..2ef5ee0dcabc5a8732e4503cf3f56903739e31a2 |
| a4793f7 | https://github.com/phpstan/phpstan-src/commit/a4793f730dbce70efa0d3fb04c9906326852ad2f |
| 2ef5ee0 | https://github.com/phpstan/phpstan-src/commit/2ef5ee0dcabc5a8732e4503cf3f56903739e31a2 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/a4793f730dbce70efa0d3fb04c9906326852ad2f..2ef5ee0dcabc5a8732e4503cf3f56903739e31a2 |
| September 2, 2026 13:22 | https://github.com/phpstan/phpstan-src/pull/6330#event-30417802382 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Sep 5, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#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/2152a040f530d44c586e9546043305ec56afa374..88d01888794b3fca2d75e8f719011f0f4b9ce0f8 |
| 2152a04 | https://github.com/phpstan/phpstan-src/commit/2152a040f530d44c586e9546043305ec56afa374 |
| 88d0188 | https://github.com/phpstan/phpstan-src/commit/88d01888794b3fca2d75e8f719011f0f4b9ce0f8 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/2152a040f530d44c586e9546043305ec56afa374..88d01888794b3fca2d75e8f719011f0f4b9ce0f8 |
| September 8, 2026 09:30 | https://github.com/phpstan/phpstan-src/pull/6330#event-30744131001 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Sep 8, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#pullrequestreview-5140005310 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/6330/files |
| tests/PHPStan/Rules/Methods/data/unused-method-parameters.php | https://github.com/phpstan/phpstan-src/pull/6330/files#diff-67c9921ead4ff041d70c7fac7d30a9d3e0e161fa25c085501206b3061f02f5b5 |
| staabm | https://github.com/staabm |
| Sep 8, 2026 | https://github.com/phpstan/phpstan-src/pull/6330#discussion_r3956481816 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6330 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Sep 8, 2026 | https://github.com/phpstan/phpstan-src/pull/6330#discussion_r3957281272 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6330 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Sep 8, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#pullrequestreview-5140118778 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/6330/files |
| tests/PHPStan/Rules/Functions/data/unused-function-parameters.php | https://github.com/phpstan/phpstan-src/pull/6330/files#diff-4fdb64228b44016df34421dc5e49b9e0fbc0a5320bc64fecbf8dba7833282371 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6330 |
| 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/6330#event-30888151706 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| September 10, 2026 13:59 | https://github.com/phpstan/phpstan-src/pull/6330#commits-pushed-68e4440 |
|
| https://github.com/ondrejmirtes |
| Remove variable writes that are never read | https://github.com/phpstan/phpstan-src/pull/6330/commits/68e4440a3ceb8b31f38ee8d33c99272e0f9ac861 |
| 68e4440 | https://github.com/phpstan/phpstan-src/pull/6330/commits/68e4440a3ceb8b31f38ee8d33c99272e0f9ac861 |
|
| https://github.com/ondrejmirtes |
| Remove unused private-method parameters | https://github.com/phpstan/phpstan-src/pull/6330/commits/6cae955108bcff2c72ed80d0bd995e88d1a5524d |
| 6cae955 | https://github.com/phpstan/phpstan-src/pull/6330/commits/6cae955108bcff2c72ed80d0bd995e88d1a5524d |
|
| https://github.com/ondrejmirtes |
| Remove assignments of values the variables already have | https://github.com/phpstan/phpstan-src/pull/6330/commits/fd4a172829329b1124bd669241415b506d0cd2cc |
| fd4a172 | https://github.com/phpstan/phpstan-src/pull/6330/commits/fd4a172829329b1124bd669241415b506d0cd2cc |
|
| https://github.com/ondrejmirtes |
| Use the assigned variables in E2E fixtures | https://github.com/phpstan/phpstan-src/pull/6330/commits/471b8fdfb8252ef9b6e0669c254f932391a9c387 |
| 471b8fd | https://github.com/phpstan/phpstan-src/pull/6330/commits/471b8fdfb8252ef9b6e0669c254f932391a9c387 |
|
| https://github.com/ondrejmirtes |
| Use the assigned variables in levels test fixtures | https://github.com/phpstan/phpstan-src/pull/6330/commits/69e0a94bde276a80cb32966252f6d631ebdee5c9 |
| 69e0a94 | https://github.com/phpstan/phpstan-src/pull/6330/commits/69e0a94bde276a80cb32966252f6d631ebdee5c9 |
|
| https://github.com/ondrejmirtes |
| Normalize paths in NodeScopeResolver::setAnalysedFiles() | https://github.com/phpstan/phpstan-src/pull/6330/commits/9359d69c4f151afe333f26b31b1100dd2e5c8326 |
| 9359d69 | https://github.com/phpstan/phpstan-src/pull/6330/commits/9359d69c4f151afe333f26b31b1100dd2e5c8326 |
|
| https://github.com/ondrejmirtes |
| Detect unused variables and parameters with immutable handler results | https://github.com/phpstan/phpstan-src/pull/6330/commits/b1c223beb455462e508263506dadaa7f33d161a1 |
| b1c223b | https://github.com/phpstan/phpstan-src/pull/6330/commits/b1c223beb455462e508263506dadaa7f33d161a1 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/bd5161e240b5b8177f140b9a7a4b1c90616012cb..4f5a86eed19aafed1ab32ee85d4eb9758209c752 |
| bd5161e | https://github.com/phpstan/phpstan-src/commit/bd5161e240b5b8177f140b9a7a4b1c90616012cb |
| 4f5a86e | https://github.com/phpstan/phpstan-src/commit/4f5a86eed19aafed1ab32ee85d4eb9758209c752 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/bd5161e240b5b8177f140b9a7a4b1c90616012cb..4f5a86eed19aafed1ab32ee85d4eb9758209c752 |
| September 10, 2026 12:00 | https://github.com/phpstan/phpstan-src/pull/6330#event-30899862647 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| September 10, 2026 14:03 | https://github.com/phpstan/phpstan-src/pull/6330#commits-pushed-6a8637a |
|
| https://github.com/ondrejmirtes |
| Bump expected turbo version | https://github.com/phpstan/phpstan-src/pull/6330/commits/6a8637a413864fda1ca11d6e27fa6317750a1597 |
| 6a8637a | https://github.com/phpstan/phpstan-src/pull/6330/commits/6a8637a413864fda1ca11d6e27fa6317750a1597 |
|
| https://github.com/ondrejmirtes |
| Cover variable reads in nullsafe call arguments | https://github.com/phpstan/phpstan-src/pull/6330/commits/b1ba6f8c63452ee7cbc9268463e04e24f24e4c10 |
| b1ba6f8 | https://github.com/phpstan/phpstan-src/pull/6330/commits/b1ba6f8c63452ee7cbc9268463e04e24f24e4c10 |
|
| https://github.com/ondrejmirtes |
| Add regression tests for #12789, #13472 and #14258 | https://github.com/phpstan/phpstan-src/pull/6330/commits/435856a87de04161352e561cbd87f1e0f7cebadf |
| 435856a | https://github.com/phpstan/phpstan-src/pull/6330/commits/435856a87de04161352e561cbd87f1e0f7cebadf |
|
| https://github.com/ondrejmirtes |
| Add regression test for #12012 | https://github.com/phpstan/phpstan-src/pull/6330/commits/c1bc35da30445f10ec6a4468cf04f10122f92516 |
| c1bc35d | https://github.com/phpstan/phpstan-src/pull/6330/commits/c1bc35da30445f10ec6a4468cf04f10122f92516 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| September 10, 2026 14:03 | https://github.com/phpstan/phpstan-src/pull/6330#commits-pushed-fb7a088 |
|
| https://github.com/ondrejmirtes |
| Add regression test for #11483 | https://github.com/phpstan/phpstan-src/pull/6330/commits/fb7a0885caf8889d849f20dd4eea5f23427c091f |
| fb7a088 | https://github.com/phpstan/phpstan-src/pull/6330/commits/fb7a0885caf8889d849f20dd4eea5f23427c091f |
|
| https://github.com/ondrejmirtes |
| Add regression test for #10202 | https://github.com/phpstan/phpstan-src/pull/6330/commits/5645d3dde4bbf97dcb81063dc5445809133702d7 |
| 5645d3d | https://github.com/phpstan/phpstan-src/pull/6330/commits/5645d3dde4bbf97dcb81063dc5445809133702d7 |
|
| https://github.com/ondrejmirtes |
| Cover PHP-version-dependent unused catch variables | https://github.com/phpstan/phpstan-src/pull/6330/commits/69b99798d5b8e52c5f7190df98af0eb18465614a |
| 69b9979 | https://github.com/phpstan/phpstan-src/pull/6330/commits/69b99798d5b8e52c5f7190df98af0eb18465614a |
|
| https://github.com/ondrejmirtes |
| Do not report writes to a variable returned by reference | https://github.com/phpstan/phpstan-src/pull/6330/commits/bcb75f5569251fd142896b7f243c0b62d32c6843 |
| bcb75f5 | https://github.com/phpstan/phpstan-src/pull/6330/commits/bcb75f5569251fd142896b7f243c0b62d32c6843 |
|
| https://github.com/ondrejmirtes |
| Cover unused writes in statically dead branches | https://github.com/phpstan/phpstan-src/pull/6330/commits/bbed8917f502b569d4fe141ce98cab6b5a18b646 |
| bbed891 | https://github.com/phpstan/phpstan-src/pull/6330/commits/bbed8917f502b569d4fe141ce98cab6b5a18b646 |
|
| https://github.com/ondrejmirtes |
| Treat comment-only bodies as no-op stubs in the unused-parameter rules | https://github.com/phpstan/phpstan-src/pull/6330/commits/3723cc1fc3a4d45624666c9e6c5097d6f9511eef |
| 3723cc1 | https://github.com/phpstan/phpstan-src/pull/6330/commits/3723cc1fc3a4d45624666c9e6c5097d6f9511eef |
|
| https://github.com/ondrejmirtes |
| Cover array-shift loop inference and statically unreachable assignments | https://github.com/phpstan/phpstan-src/pull/6330/commits/842976e7798e0054c3273625b6e0cd781fcdd66f |
| 842976e | https://github.com/phpstan/phpstan-src/pull/6330/commits/842976e7798e0054c3273625b6e0cd781fcdd66f |
|
| https://github.com/ondrejmirtes |
| Treat func_get_arg() like func_get_args() when observing parameters | https://github.com/phpstan/phpstan-src/pull/6330/commits/8a3b0989f575220a9da7bd0a28435d33a04ebaf3 |
| 8a3b098 | https://github.com/phpstan/phpstan-src/pull/6330/commits/8a3b0989f575220a9da7bd0a28435d33a04ebaf3 |
|
| https://github.com/ondrejmirtes |
| Cover variable liveness across evaluation order and control flow | https://github.com/phpstan/phpstan-src/pull/6330/commits/8c268f00637d098d6f7cdd112ee66b76f0b79b4f |
| 8c268f0 | https://github.com/phpstan/phpstan-src/pull/6330/commits/8c268f00637d098d6f7cdd112ee66b76f0b79b4f |
|
| https://github.com/ondrejmirtes |
| Cover variable liveness when foreach scope pollution is disabled | https://github.com/phpstan/phpstan-src/pull/6330/commits/7fdb62a573bc2eb97b7a00dc0364cb9bde7232a0 |
| 7fdb62a | https://github.com/phpstan/phpstan-src/pull/6330/commits/7fdb62a573bc2eb97b7a00dc0364cb9bde7232a0 |
|
| https://github.com/ondrejmirtes |
| Cover variable usage through globals, static initializers and nested … | https://github.com/phpstan/phpstan-src/pull/6330/commits/163f9a83ee98c73aa08c4c433bc451fe4d6afa85 |
| 163f9a8 | https://github.com/phpstan/phpstan-src/pull/6330/commits/163f9a83ee98c73aa08c4c433bc451fe4d6afa85 |
|
| https://github.com/ondrejmirtes |
| Respect short-circuiting of nullsafe dynamic member names | https://github.com/phpstan/phpstan-src/pull/6330/commits/610b85435ad86f6f5d3212f1528317ee4864189b |
| 610b854 | https://github.com/phpstan/phpstan-src/pull/6330/commits/610b85435ad86f6f5d3212f1528317ee4864189b |
|
| https://github.com/ondrejmirtes |
| Reuse concrete return types across inference contexts | https://github.com/phpstan/phpstan-src/pull/6330/commits/695d68f6909061fea5beba1b627998f64ddf9378 |
| 695d68f | https://github.com/phpstan/phpstan-src/pull/6330/commits/695d68f6909061fea5beba1b627998f64ddf9378 |
|
| https://github.com/ondrejmirtes |
| Keep variables read by fallback Throwable catches live | https://github.com/phpstan/phpstan-src/pull/6330/commits/bf91daea4ec15e16155f7b46c19ed1c83ef36812 |
| bf91dae | https://github.com/phpstan/phpstan-src/pull/6330/commits/bf91daea4ec15e16155f7b46c19ed1c83ef36812 |
|
| https://github.com/ondrejmirtes |
| Track types written through variable variables | https://github.com/phpstan/phpstan-src/pull/6330/commits/a33871df872475df112afcecbf4dc4e95215d184 |
| a33871d | https://github.com/phpstan/phpstan-src/pull/6330/commits/a33871df872475df112afcecbf4dc4e95215d184 |
|
| https://github.com/ondrejmirtes |
| Preserve array writes made while evaluating an offset assignment | https://github.com/phpstan/phpstan-src/pull/6330/commits/3f12a518a2d99ceabe1dbd1cb795241619c052c6 |
| 3f12a51 | https://github.com/phpstan/phpstan-src/pull/6330/commits/3f12a518a2d99ceabe1dbd1cb795241619c052c6 |
|
| https://github.com/ondrejmirtes |
| Retain variable mentions in skipped catch bodies | https://github.com/phpstan/phpstan-src/pull/6330/commits/e5e374f2a0a4d4aeb2953c09b5eca15677a51274 |
| e5e374f | https://github.com/phpstan/phpstan-src/pull/6330/commits/e5e374f2a0a4d4aeb2953c09b5eca15677a51274 |
|
| https://github.com/ondrejmirtes |
| Observe writes through arrow function reference parameters | https://github.com/phpstan/phpstan-src/pull/6330/commits/b84e05cfe675b5c407571fbaf997bcfe13c8b144 |
| b84e05c | https://github.com/phpstan/phpstan-src/pull/6330/commits/b84e05cfe675b5c407571fbaf997bcfe13c8b144 |
|
| https://github.com/ondrejmirtes |
| Include implicit throw points when analysing broad catches | https://github.com/phpstan/phpstan-src/pull/6330/commits/7d2352b257b19f2cdc0e70fdd4db4b4ad9818d6d |
| 7d2352b | https://github.com/phpstan/phpstan-src/pull/6330/commits/7d2352b257b19f2cdc0e70fdd4db4b4ad9818d6d |
|
| https://github.com/ondrejmirtes |
| Put the arrow reference fixture PHP version constraint on its first line | https://github.com/phpstan/phpstan-src/pull/6330/commits/d9ad9900a713438218c0aa259cdfb692c25df8a0 |
| d9ad990 | https://github.com/phpstan/phpstan-src/pull/6330/commits/d9ad9900a713438218c0aa259cdfb692c25df8a0 |
|
| https://github.com/ondrejmirtes |
| Mark reflection parameter checks and type stringification as non-thro… | https://github.com/phpstan/phpstan-src/pull/6330/commits/a83b91f8bd5cd009a8c7df95c51ba16e08176210 |
| a83b91f | https://github.com/phpstan/phpstan-src/pull/6330/commits/a83b91f8bd5cd009a8c7df95c51ba16e08176210 |
|
| https://github.com/ondrejmirtes |
| Preserve reflection parameter query return types on PHP 7.4 | https://github.com/phpstan/phpstan-src/pull/6330/commits/5195842bb8ce4e5b9ca885e5e714adfb2174cc80 |
| 5195842 | https://github.com/phpstan/phpstan-src/pull/6330/commits/5195842bb8ce4e5b9ca885e5e714adfb2174cc80 |
| 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/6330#event-30900039742 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| 8e2e9f6 | https://github.com/phpstan/phpstan-src/commit/8e2e9f6b7a22f93463496ec3c8cf3fe3948600ce |
| Sep 10, 2026 | https://github.com/phpstan/phpstan-src/pull/6330#event-30900091383 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6330 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| September 10, 2026 12:04 | https://github.com/phpstan/phpstan-src/pull/6330#event-30900093288 |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Sep 11, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#ref-commit-f521b47 |
|
| https://github.com/ondrejmirtes |
| Lift issue-bot comments limit temporarily after | https://github.com/phpstan/phpstan-src/commit/f521b47b420a310c2a24b24d06e3e6a797fd213c |
| #6330 | https://github.com/phpstan/phpstan-src/pull/6330 |
| f521b47 | https://github.com/phpstan/phpstan-src/commit/f521b47b420a310c2a24b24d06e3e6a797fd213c |
| phpstan-bot | https://github.com/phpstan-bot |
|
Sep 11, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#ref-commit-d252cb3 |
|
| https://github.com/phpstan-bot |
| Updated PHPStan to commit d252cb365f23a8ae7e43562669bc90e2bb431ac5 | https://github.com/phpstan/phpstan/commit/d252cb3c7ebdc071de28423cb7c7a15b95ec32bf |
| d252cb3 | https://github.com/phpstan/phpstan/commit/d252cb3c7ebdc071de28423cb7c7a15b95ec32bf |
| phpstan/phpstan-src@f521b47 | https://github.com/phpstan/phpstan-src/commit/f521b47b420a310c2a24b24d06e3e6a797fd213c |
| phpstan/phpstan-src#6330 | https://github.com/phpstan/phpstan-src/pull/6330 |
| phpstan/phpstan-src@d18e287 | https://github.com/phpstan/phpstan-src/commit/d18e28777ca0b679a7c5effc60caca0bd6f499ab |
| phpstan/phpstan-src@3c1d809 | https://github.com/phpstan/phpstan-src/commit/3c1d809e8b9900e0871a8f7a037f05e4ee9ac148 |
| phpstan/phpstan-src@7a096e8 | https://github.com/phpstan/phpstan-src/commit/7a096e83560518618e8284444f8de0be9b055e57 |
| phpstan/phpstan-src@d252cb3 | https://github.com/phpstan/phpstan-src/commit/d252cb365f23a8ae7e43562669bc90e2bb431ac5 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Sep 11, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#ref-pullrequest-5425329149 |
|
Widen only the variables a loop can write when its scope converges
#6421
| https://github.com/phpstan/phpstan-src/pull/6421 |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Oct 5, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#ref-commit-c876606 |
|
| https://github.com/ondrejmirtes |
| Revert "Lift issue-bot comments limit temporarily after | https://github.com/phpstan/phpstan-src/commit/c876606ad859ddbe97520df7c4073aa2523103de |
| #6330 | https://github.com/phpstan/phpstan-src/pull/6330 |
| " | https://github.com/phpstan/phpstan-src/commit/c876606ad859ddbe97520df7c4073aa2523103de |
| c876606 | https://github.com/phpstan/phpstan-src/commit/c876606ad859ddbe97520df7c4073aa2523103de |
| f521b47 | https://github.com/phpstan/phpstan-src/commit/f521b47b420a310c2a24b24d06e3e6a797fd213c |
| phpstan-bot | https://github.com/phpstan-bot |
|
Oct 5, 2026
| https://github.com/phpstan/phpstan-src/pull/6330#ref-commit-c876606 |
|
| https://github.com/phpstan-bot |
| Updated PHPStan to commit c876606ad859ddbe97520df7c4073aa2523103de | https://github.com/phpstan/phpstan/commit/c87660625f2fa8324fdde835bd638ab2d4c945f7 |
| c876606 | https://github.com/phpstan/phpstan/commit/c87660625f2fa8324fdde835bd638ab2d4c945f7 |
| phpstan/phpstan-src@c876606 | https://github.com/phpstan/phpstan-src/commit/c876606ad859ddbe97520df7c4073aa2523103de |
| phpstan/phpstan-src#6330 | https://github.com/phpstan/phpstan-src/pull/6330 |
| 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%2F6330 |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/6330/files/88d01888794b3fca2d75e8f719011f0f4b9ce0f8 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6330 |
|
Detect Assignment to Unused Variable
| https://github.com/phpstan/phpstan/issues/12789 |
|
detect local dead code and assigments
| https://github.com/phpstan/phpstan/issues/12012 |
|
Detect useless assignment
| https://github.com/phpstan/phpstan/issues/11483 |
|
report redundant assignment as dead code
| https://github.com/phpstan/phpstan/issues/10202 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6330 |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/staabm |
|
| 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 |