| 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:7275af4f-1c12-fc27-4643-b17326e07ac7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D796:3FF2FE:B839CD:FDA19C:6B00AED2 |
| html-safe-nonce | 31698564b976f9cd71ad2dcab326d6800def4db47063d8efd5236419c2c11e6a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzk2OjNGRjJGRTpCODM5Q0Q6RkRBMTlDOjZCMDBBRUQyIiwidmlzaXRvcl9pZCI6Ijg3NTgzNTI4NzU3OTAzMTUyMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 01d1edcdfa1abd663285376e4e60035f992fc887b3df144d7de6ae3040548c57 |
| hovercard-subject-tag | pull_request:3296313264 |
| 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/4983/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/10159dda0f56c20a17da841c751fcce600fbd76deea6209815455d3a7bc5f27d/phpstan/phpstan-src/pull/4983 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/10159dda0f56c20a17da841c751fcce600fbd76deea6209815455d3a7bc5f27d/phpstan/phpstan-src/pull/4983 |
| og:image:alt | Summary
When using isset($a['key']) on a union type array, the falsey branch did not narrow the array variable's type. This caused the original union members to leak through after the i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | VincentLanglet |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e |
| 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 | 729d8cda69b3d267995675dfbf89ff27ccf61bf6 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/phpstan/phpstan-src/pull/4983#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4983 |
| 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%2F4983 |
| 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/4983 |
| Reload | https://github.com/phpstan/phpstan-src/pull/4983 |
| Reload | https://github.com/phpstan/phpstan-src/pull/4983 |
| phpstan | https://github.com/phpstan |
| phpstan-src | https://github.com/phpstan/phpstan-src |
| Code | https://github.com/phpstan/phpstan-src |
| Pull requests185 (185) | 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 |
| VincentLanglet | https://github.com/VincentLanglet |
| phpstan:2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| VincentLanglet:fix/9908 | https://github.com/VincentLanglet/phpstan-src/tree/fix/9908 |
| Conversation | https://github.com/phpstan/phpstan-src/pull/4983 |
| Commits7 (7) | https://github.com/phpstan/phpstan-src/pull/4983/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/4983/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/4983/files |
| Fix isset() falsey branch not narrowing array type for dim fetches | https://github.com/phpstan/phpstan-src/pull/4983#top |
| VincentLanglet | https://github.com/VincentLanglet |
| phpstan:2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| VincentLanglet:fix/9908 | https://github.com/VincentLanglet/phpstan-src/tree/fix/9908 |
|
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| Feb 17, 2026 | https://github.com/phpstan/phpstan-src/pull/4983#issue-3955018360 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| phpstan/phpstan#9908 | https://github.com/phpstan/phpstan/issues/9908 |
| phpstan/phpstan#10544 | https://github.com/phpstan/phpstan/issues/10544 |
| phpstan/phpstan#8724 | https://github.com/phpstan/phpstan/issues/8724 |
| phpstan/phpstan#5128 | https://github.com/phpstan/phpstan/issues/5128 |
| phpstan/phpstan#12401 | https://github.com/phpstan/phpstan/issues/12401 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| phpstan-bot | https://github.com/phpstan-bot |
| February 17, 2026 23:37 | https://github.com/phpstan/phpstan-src/pull/4983#commits-pushed-3b14a35 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/VincentLanglet |
| Fix isset() falsey branch not narrowing array type for dim fetches | https://github.com/phpstan/phpstan-src/pull/4983/commits/3b14a35486036c4c23b1677a321d03e5a5a13212 |
| 3b14a35 | https://github.com/phpstan/phpstan-src/pull/4983/commits/3b14a35486036c4c23b1677a321d03e5a5a13212 |
| phpstan/phpstan#9908 | https://github.com/phpstan/phpstan/issues/9908 |
|
| https://github.com/VincentLanglet |
| More tests | https://github.com/phpstan/phpstan-src/pull/4983/commits/fed2702f718dca6a3c53c6b67e769c15cd522055 |
| fed2702 | https://github.com/phpstan/phpstan-src/pull/4983/commits/fed2702f718dca6a3c53c6b67e769c15cd522055 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Feb 17, 2026
| https://github.com/phpstan/phpstan-src/pull/4983#ref-pullrequest-3949532172 |
|
Fix #9908: isset condition doesn't refine type
#4962
| https://github.com/phpstan/phpstan-src/pull/4962 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Feb 17, 2026
| https://github.com/phpstan/phpstan-src/pull/4983#pullrequestreview-3816723724 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/4983/files/fed2702f718dca6a3c53c6b67e769c15cd522055 |
| src/Analyser/TypeSpecifier.php | https://github.com/phpstan/phpstan-src/pull/4983/files/fed2702f718dca6a3c53c6b67e769c15cd522055#diff-1076e38598f300a69c9dc998dae31374052f95bd69d0d71c11e9d0a4c188976d |
| VincentLanglet | https://github.com/VincentLanglet |
| Feb 17, 2026 | https://github.com/phpstan/phpstan-src/pull/4983#discussion_r2819477136 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @staabm | https://github.com/staabm |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| staabm | https://github.com/staabm |
| Feb 18, 2026 | https://github.com/phpstan/phpstan-src/pull/4983#discussion_r2820874464 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| VincentLanglet | https://github.com/VincentLanglet |
| Feb 19, 2026 | https://github.com/phpstan/phpstan-src/pull/4983#discussion_r2825020519 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/a81b0e8b8975923f088fe20620e283b4d7352523..660f84e5d3fa95d64e90162ce176ee408ab0ccf4 |
| a81b0e8 | https://github.com/phpstan/phpstan-src/commit/a81b0e8b8975923f088fe20620e283b4d7352523 |
| 660f84e | https://github.com/phpstan/phpstan-src/commit/660f84e5d3fa95d64e90162ce176ee408ab0ccf4 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/a81b0e8b8975923f088fe20620e283b4d7352523..660f84e5d3fa95d64e90162ce176ee408ab0ccf4 |
| February 19, 2026 00:03 | https://github.com/phpstan/phpstan-src/pull/4983#event-22899685227 |
|
| https://github.com/VincentLanglet |
| Simplify | https://github.com/phpstan/phpstan-src/pull/4983/commits/432d18aa48ca7786d7c8fa81adfdcb3cfe13831a |
| 432d18a | https://github.com/phpstan/phpstan-src/pull/4983/commits/432d18aa48ca7786d7c8fa81adfdcb3cfe13831a |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/660f84e5d3fa95d64e90162ce176ee408ab0ccf4..432d18aa48ca7786d7c8fa81adfdcb3cfe13831a |
| 660f84e | https://github.com/phpstan/phpstan-src/commit/660f84e5d3fa95d64e90162ce176ee408ab0ccf4 |
| 432d18a | https://github.com/phpstan/phpstan-src/commit/432d18aa48ca7786d7c8fa81adfdcb3cfe13831a |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/660f84e5d3fa95d64e90162ce176ee408ab0ccf4..432d18aa48ca7786d7c8fa81adfdcb3cfe13831a |
| February 19, 2026 00:04 | https://github.com/phpstan/phpstan-src/pull/4983#event-22899702161 |
| phpstan-bot | https://github.com/phpstan-bot |
| February 19, 2026 01:07 | https://github.com/phpstan/phpstan-src/pull/4983#commits-pushed-24c603c |
|
| https://github.com/phpstan-bot |
|
| https://github.com/VincentLanglet |
| Add regression test for #10544 | https://github.com/phpstan/phpstan-src/pull/4983/commits/24c603ce696153d801101dcc693f166f7bf4d896 |
| 24c603c | https://github.com/phpstan/phpstan-src/pull/4983/commits/24c603ce696153d801101dcc693f166f7bf4d896 |
| phpstan/phpstan#10544 | https://github.com/phpstan/phpstan/issues/10544 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/VincentLanglet |
| Add regression test for #8724 | https://github.com/phpstan/phpstan-src/pull/4983/commits/cf3bf637b0c812fa8d0326bdb177c5f715cc2ac6 |
| cf3bf63 | https://github.com/phpstan/phpstan-src/pull/4983/commits/cf3bf637b0c812fa8d0326bdb177c5f715cc2ac6 |
| phpstan/phpstan#8724 | https://github.com/phpstan/phpstan/issues/8724 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/VincentLanglet |
| Add regression test for | https://github.com/phpstan/phpstan-src/pull/4983/commits/c5a41400634ce22bb987d697df156082ecf5faa1 |
| phpstan#5128 | https://github.com/phpstan/phpstan-src/pull/5128 |
| c5a4140 | https://github.com/phpstan/phpstan-src/pull/4983/commits/c5a41400634ce22bb987d697df156082ecf5faa1 |
| phpstan/phpstan#5128 | https://github.com/phpstan/phpstan/issues/5128 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/VincentLanglet |
| Add regression test for #12401 | https://github.com/phpstan/phpstan-src/pull/4983/commits/06ae0bd09cdf56060a5b05d715e75647b3a4eb0c |
| 06ae0bd | https://github.com/phpstan/phpstan-src/pull/4983/commits/06ae0bd09cdf56060a5b05d715e75647b3a4eb0c |
| phpstan/phpstan#12401 | https://github.com/phpstan/phpstan/issues/12401 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Feb 19, 2026
| https://github.com/phpstan/phpstan-src/pull/4983#pullrequestreview-3823933177 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/4983/files/06ae0bd09cdf56060a5b05d715e75647b3a4eb0c |
| src/Analyser/TypeSpecifier.php | https://github.com/phpstan/phpstan-src/pull/4983/files/06ae0bd09cdf56060a5b05d715e75647b3a4eb0c#diff-1076e38598f300a69c9dc998dae31374052f95bd69d0d71c11e9d0a4c188976d |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Feb 19, 2026
| https://github.com/phpstan/phpstan-src/pull/4983#pullrequestreview-3823956045 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/4983/files/06ae0bd09cdf56060a5b05d715e75647b3a4eb0c |
| staabm | https://github.com/staabm |
| https://github.com/phpstan/phpstan-src/pull/4983#pullrequestreview-3823956045 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/06caadcc7da7254f3a512ada9e3b7b7f6dfcae37..06ae0bd09cdf56060a5b05d715e75647b3a4eb0c |
| 06caadc | https://github.com/phpstan/phpstan-src/commit/06caadcc7da7254f3a512ada9e3b7b7f6dfcae37 |
| 06ae0bd | https://github.com/phpstan/phpstan-src/commit/06ae0bd09cdf56060a5b05d715e75647b3a4eb0c |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/06caadcc7da7254f3a512ada9e3b7b7f6dfcae37..06ae0bd09cdf56060a5b05d715e75647b3a4eb0c |
| February 19, 2026 08:58 | https://github.com/phpstan/phpstan-src/pull/4983#event-22908153027 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| 2ccd7b9 | https://github.com/phpstan/phpstan-src/commit/2ccd7b941407a473cf97c99149a8a2f902d813a2 |
| Feb 19, 2026 | https://github.com/phpstan/phpstan-src/pull/4983#event-22909884349 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
|
isset condition doesn't refine type
phpstan/phpstan#9908
| https://github.com/phpstan/phpstan/issues/9908 |
|
Union type of array is not judge correct
phpstan/phpstan#10544
| https://github.com/phpstan/phpstan/issues/10544 |
|
isset not narrowing down array shapes
phpstan/phpstan#8724
| https://github.com/phpstan/phpstan/issues/8724 |
|
Cannot rule out types by checking for present key in array shape union
phpstan/phpstan#5128
| https://github.com/phpstan/phpstan/issues/5128 |
|
Else after if (isset) on union of array shapes not narrowed
phpstan/phpstan#12401
| https://github.com/phpstan/phpstan/issues/12401 |
|
Narrow the falsey branch of isset($a['x']['y']) only when the intermediate offset is known to exist
#6110
| https://github.com/phpstan/phpstan-src/pull/6110 |
|
Do not narrow the falsey branch of a nested isset() at its intermediate offset
#6175
| https://github.com/phpstan/phpstan-src/pull/6175 |
| https://github.com/SanderMuller |
| SanderMuller | https://github.com/SanderMuller |
|
Aug 12, 2026
| https://github.com/phpstan/phpstan-src/pull/4983#ref-issue-4986747902 |
|
isset() on a nested array offset narrows the falsey branch to never, leaking the intermediate offset's existence (regression in 2.1.40)
phpstan/phpstan#15005
| https://github.com/phpstan/phpstan/issues/15005 |
| 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%2F4983 |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/4983/files/06ae0bd09cdf56060a5b05d715e75647b3a4eb0c |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4983 |
|
| https://github.com/VincentLanglet |
|
| https://github.com/staabm |
|
| https://github.com/phpstan-bot |
|
| 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 |