| 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:f34dee68-13a2-8ea3-fa68-40c1601edf7a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C95C:275626:222732:2E7680:6B00AEC8 |
| html-safe-nonce | ca309e47741ed0b9edc899fc52cf9e063ec5737da0fcc5887b9fb999d58c0cce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTVDOjI3NTYyNjoyMjI3MzI6MkU3NjgwOjZCMDBBRUM4IiwidmlzaXRvcl9pZCI6IjgzNTEyNDY3NTEzMDIyMDEwMzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4dd1692ef555db0b059d93482f3f78b31ecd6e89c6ad9c0f546c0d469b6a09af |
| hovercard-subject-tag | pull_request:3291950384 |
| 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/4965/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ab58b0eccbbfc3bf89ab4c676ff05bda5fd1d146ba54fdc18f1be96f932770a0/phpstan/phpstan-src/pull/4965 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ab58b0eccbbfc3bf89ab4c676ff05bda5fd1d146ba54fdc18f1be96f932770a0/phpstan/phpstan-src/pull/4965 |
| og:image:alt | Summary
When the result of isset() on a property-accessed array element (e.g., $notEmpty = isset($a->worlds[0])) was stored in a variable and later used in a condition, PHPStan failed to narrow ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | phpstan-bot |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/phpstan/phpstan-src/pull/4965#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4965 |
| 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%2F4965 |
| 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/4965 |
| Reload | https://github.com/phpstan/phpstan-src/pull/4965 |
| Reload | https://github.com/phpstan/phpstan-src/pull/4965 |
| 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 |
| phpstan-bot | https://github.com/phpstan-bot |
| 2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| create-pull-request/patch-8yeqewa | https://github.com/phpstan/phpstan-src/tree/create-pull-request/patch-8yeqewa |
| Conversation | https://github.com/phpstan/phpstan-src/pull/4965 |
| Commits9 (9) | https://github.com/phpstan/phpstan-src/pull/4965/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/4965/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/4965/files |
| Fix #12574: Erroneous Offset might not exist | https://github.com/phpstan/phpstan-src/pull/4965#top |
| phpstan-bot | https://github.com/phpstan-bot |
| 2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| create-pull-request/patch-8yeqewa | https://github.com/phpstan/phpstan-src/tree/create-pull-request/patch-8yeqewa |
|
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Feb 16, 2026 | https://github.com/phpstan/phpstan-src/pull/4965#issue-3949997809 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| phpstan/phpstan#12574 | https://github.com/phpstan/phpstan/issues/12574 |
| phpstan/phpstan#10040 | https://github.com/phpstan/phpstan/issues/10040 |
| phpstan/phpstan#11102 | https://github.com/phpstan/phpstan/issues/11102 |
| phpstan/phpstan#11870 | https://github.com/phpstan/phpstan/issues/11870 |
| phpstan/phpstan#6991 | https://github.com/phpstan/phpstan/issues/6991 |
| phpstan/phpstan#7716 | https://github.com/phpstan/phpstan/issues/7716 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| phpstan-bot | https://github.com/phpstan-bot |
| February 16, 2026 23:43 | https://github.com/phpstan/phpstan-src/pull/4965#commits-pushed-86a07a2 |
|
| https://github.com/phpstan-bot |
| Fix isset() type narrowing lost when result stored in variable for pr… | https://github.com/phpstan/phpstan-src/pull/4965/commits/86a07a22055b134bca6de171fabf27e7cecc4d32 |
| 86a07a2 | https://github.com/phpstan/phpstan-src/pull/4965/commits/86a07a22055b134bca6de171fabf27e7cecc4d32 |
| phpstan/phpstan#12574 | https://github.com/phpstan/phpstan/issues/12574 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Add regression test for #11870 | https://github.com/phpstan/phpstan-src/pull/4965/commits/71e33f80e66e4b5363b9234d7f6785b04ff8aa45 |
| 71e33f8 | https://github.com/phpstan/phpstan-src/pull/4965/commits/71e33f80e66e4b5363b9234d7f6785b04ff8aa45 |
| phpstan/phpstan#11870 | https://github.com/phpstan/phpstan/issues/11870 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Add regression test for #11102 | https://github.com/phpstan/phpstan-src/pull/4965/commits/02719b13326985bcfd2be08b2c35bb9fab3e2713 |
| 02719b1 | https://github.com/phpstan/phpstan-src/pull/4965/commits/02719b13326985bcfd2be08b2c35bb9fab3e2713 |
| phpstan/phpstan#11102 | https://github.com/phpstan/phpstan/issues/11102 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Add regression test for #10040 | https://github.com/phpstan/phpstan-src/pull/4965/commits/156b1eab259befd5bf80689584d51f9c390373b6 |
| 156b1ea | https://github.com/phpstan/phpstan-src/pull/4965/commits/156b1eab259befd5bf80689584d51f9c390373b6 |
| phpstan/phpstan#10040 | https://github.com/phpstan/phpstan/issues/10040 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Add regression test for #7716 | https://github.com/phpstan/phpstan-src/pull/4965/commits/38363437044eb695a430c4c91458382fafb7327d |
| 3836343 | https://github.com/phpstan/phpstan-src/pull/4965/commits/38363437044eb695a430c4c91458382fafb7327d |
| phpstan/phpstan#7716 | https://github.com/phpstan/phpstan/issues/7716 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Add regression test for | https://github.com/phpstan/phpstan-src/pull/4965/commits/0ca189006b89c4f4fed14a9a2a59633875e93801 |
| #6991 | https://github.com/phpstan/phpstan-src/pull/6991 |
| 0ca1890 | https://github.com/phpstan/phpstan-src/pull/4965/commits/0ca189006b89c4f4fed14a9a2a59633875e93801 |
| phpstan/phpstan#6991 | https://github.com/phpstan/phpstan/issues/6991 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Add regression test for | https://github.com/phpstan/phpstan-src/pull/4965/commits/2998d07a056c730ec2cac970a1392b9c28b74821 |
| #6120 | https://github.com/phpstan/phpstan-src/pull/6120 |
| 2998d07 | https://github.com/phpstan/phpstan-src/pull/4965/commits/2998d07a056c730ec2cac970a1392b9c28b74821 |
| phpstan/phpstan#6120 | https://github.com/phpstan/phpstan/issues/6120 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Feb 18, 2026
| https://github.com/phpstan/phpstan-src/pull/4965#pullrequestreview-3818808540 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/4965/files/a56a74a4ca3720082fd994a9956f3a41b38e211f |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Feb 18, 2026
| https://github.com/phpstan/phpstan-src/pull/4965#pullrequestreview-3819065055 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/4965/files/2998d07a056c730ec2cac970a1392b9c28b74821 |
| tests/PHPStan/Analyser/nsrt/bug-10040.php | https://github.com/phpstan/phpstan-src/pull/4965/files/2998d07a056c730ec2cac970a1392b9c28b74821#diff-a2d37ca80cff1e84910ee65c09f4a7641ac18ebe35297be7ad03561e7881480d |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Feb 18, 2026 | https://github.com/phpstan/phpstan-src/pull/4965#issuecomment-3920254861 |
| @phpstan-bot | https://github.com/phpstan-bot |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Feb 18, 2026 | https://github.com/phpstan/phpstan-src/pull/4965#issuecomment-3920264809 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| @staabm | https://github.com/staabm |
| View job | https://github.com/phpstan/phpstan-src/actions/runs/22137710259 |
| a538aa4 | https://github.com/phpstan/phpstan-src/commit/a538aa4221bafb4e82d088ca31f2f9b3a1d19246 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/staabm |
| Fix bug-10040.php: put declare(strict_types) after lint comment | https://github.com/phpstan/phpstan-src/pull/4965/commits/a538aa4221bafb4e82d088ca31f2f9b3a1d19246 |
| a538aa4 | https://github.com/phpstan/phpstan-src/pull/4965/commits/a538aa4221bafb4e82d088ca31f2f9b3a1d19246 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Feb 18, 2026 | https://github.com/phpstan/phpstan-src/pull/4965#issuecomment-3920278258 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| @phpstan-bot | https://github.com/phpstan-bot |
| @VincentLanglet | https://github.com/VincentLanglet |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Feb 18, 2026 | https://github.com/phpstan/phpstan-src/pull/4965#issuecomment-3920287254 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| @staabm | https://github.com/staabm |
| View job | https://github.com/phpstan/phpstan-src/actions/runs/22137874995 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/staabm |
| Revert "Fix bug-10040.php: put declare(strict_types) after lint comment" | https://github.com/phpstan/phpstan-src/pull/4965/commits/a56a74a4ca3720082fd994a9956f3a41b38e211f |
| a56a74a | https://github.com/phpstan/phpstan-src/pull/4965/commits/a56a74a4ca3720082fd994a9956f3a41b38e211f |
| a538aa4 | https://github.com/phpstan/phpstan-src/commit/a538aa4221bafb4e82d088ca31f2f9b3a1d19246 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Feb 18, 2026
| https://github.com/phpstan/phpstan-src/pull/4965#pullrequestreview-3819460111 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/4965/files/a56a74a4ca3720082fd994a9956f3a41b38e211f |
| src/Analyser/NodeScopeResolver.php | https://github.com/phpstan/phpstan-src/pull/4965/files/a56a74a4ca3720082fd994a9956f3a41b38e211f#diff-0c3f50d118357d9cb6d6f4d0eade75b83797d57056ff3b9c58ec881a13eaa6fe |
| VincentLanglet | https://github.com/VincentLanglet |
| Feb 18, 2026 | https://github.com/phpstan/phpstan-src/pull/4965#discussion_r2821936729 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://phpstan.org/r/838517f6-ed32-4fab-993a-d54d85ea6986 | https://phpstan.org/r/838517f6-ed32-4fab-993a-d54d85ea6986 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Feb 18, 2026 | https://github.com/phpstan/phpstan-src/pull/4965#issuecomment-3920520005 |
| #4988 | https://github.com/phpstan/phpstan-src/pull/4988 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Feb 18, 2026 | https://github.com/phpstan/phpstan-src/pull/4965#event-22882673081 |
| 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%2F4965 |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/4965/files/2998d07a056c730ec2cac970a1392b9c28b74821 |
|
| https://github.com/VincentLanglet |
|
VincentLanglet
| https://github.com/VincentLanglet |
|
| https://github.com/phpstan/phpstan-src/pull/4965/files/a56a74a4ca3720082fd994a9956f3a41b38e211f |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/4965 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/staabm |
|
| https://github.com/VincentLanglet |
|
| 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 |