| 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:4609bade-fd35-bd22-251f-de5a48f3234a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C550:395430:6F941E:95E725:6B00D738 |
| html-safe-nonce | 379c57595cf2e5854634017a74566419b65ad73b05218380026165f6c0a4db4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTUwOjM5NTQzMDo2Rjk0MUU6OTVFNzI1OjZCMDBENzM4IiwidmlzaXRvcl9pZCI6IjY2ODEyOTkzMDQxMDA5NzY0NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5f5fdd97986326d636f782a698ac36bcc4d24c2fa1bba5afbd6ebe1696f72b30 |
| hovercard-subject-tag | pull_request:3863715017 |
| 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/5876/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a791361fc2ca28ec4453c52e318ce74a5318331d666c3494ed6198413af9d929/phpstan/phpstan-src/pull/5876 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a791361fc2ca28ec4453c52e318ce74a5318331d666c3494ed6198413af9d929/phpstan/phpstan-src/pull/5876 |
| og:image:alt | Summary
When a variable was assigned inside one branch of an if and then the same
condition was re-checked later, PHPStan failed to re-narrow the variable if its
declared type was mixed:
/**
* @pa... |
| 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 | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| 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 | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| 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/5876#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5876 |
| 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%2F5876 |
| 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/5876 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5876 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5876 |
| 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 |
| staabm | https://github.com/staabm |
| phpstan:2.2.x | https://github.com/phpstan/phpstan-src/tree/2.2.x |
| phpstan-bot:create-pull-request/patch-c6llvwi | https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-c6llvwi |
| Conversation | https://github.com/phpstan/phpstan-src/pull/5876 |
| Commits9 (9) | https://github.com/phpstan/phpstan-src/pull/5876/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/5876/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/5876/files |
| Keep subtype-absorbed variables as conditional-expression targets when merging branches | https://github.com/phpstan/phpstan-src/pull/5876#top |
| staabm | https://github.com/staabm |
| phpstan:2.2.x | https://github.com/phpstan/phpstan-src/tree/2.2.x |
| phpstan-bot:create-pull-request/patch-c6llvwi | https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-c6llvwi |
|
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Jun 14, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#issue-4660324217 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| phpstan/phpstan#7948 | https://github.com/phpstan/phpstan/issues/7948 |
| phpstan/phpstan#4905 | https://github.com/phpstan/phpstan/issues/4905 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Jun 14, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4493520203 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files |
| tests/PHPStan/Rules/Properties/TypesAssignedToPropertiesRuleTest.php | https://github.com/phpstan/phpstan-src/pull/5876/files#diff-4583eaca68e2ba24d66cb6be67c8cca1451891382a50d6125e05afd4ec5639a7 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php | https://github.com/phpstan/phpstan-src/pull/5876/files#diff-e337f6440f4bf865a98630872566d6714bd9c496a27655277a62853872213060 |
| VincentLanglet | https://github.com/VincentLanglet |
| Jun 14, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410189347 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/311ac20ca82c8997c8ea185b2a374dc187cea041..80280f6a9360345c8d28997eddd8de90ee43b35a |
| 311ac20 | https://github.com/phpstan/phpstan-src/commit/311ac20ca82c8997c8ea185b2a374dc187cea041 |
| 80280f6 | https://github.com/phpstan/phpstan-src/commit/80280f6a9360345c8d28997eddd8de90ee43b35a |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/311ac20ca82c8997c8ea185b2a374dc187cea041..80280f6a9360345c8d28997eddd8de90ee43b35a |
| June 14, 2026 20:57 | https://github.com/phpstan/phpstan-src/pull/5876#event-26732280059 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Jun 14, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4493574573 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files |
| src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php | https://github.com/phpstan/phpstan-src/pull/5876/files#diff-e337f6440f4bf865a98630872566d6714bd9c496a27655277a62853872213060 |
| VincentLanglet | https://github.com/VincentLanglet |
| Jun 14, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410235784 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| phpstan-bot | https://github.com/phpstan-bot |
| Jun 14, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410248319 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| VincentLanglet | https://github.com/VincentLanglet |
| Jun 14, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410301415 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| phpstan-bot | https://github.com/phpstan-bot |
| Jun 14, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410320497 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Jun 19, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4532799800 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Jun 19, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4532820310 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files |
| VincentLanglet | https://github.com/VincentLanglet |
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4532820310 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| phpstan/phpstan#4905 | https://github.com/phpstan/phpstan/issues/4905 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Jun 19, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#issuecomment-4751596478 |
| #4905 | https://github.com/phpstan/phpstan-src/pull/4905 |
| phpstan/phpstan#4905 | https://github.com/phpstan/phpstan/issues/4905 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Jun 19, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533297388 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files |
| tests/PHPStan/Rules/Properties/data/bug-4905.php | https://github.com/phpstan/phpstan-src/pull/5876/files#diff-8a9f6437cfe263027c030be4ad0f867f54095a27cb145a1c667b3697bd880333 |
| VincentLanglet | https://github.com/VincentLanglet |
| Jun 19, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3442862427 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| phpstan-bot | https://github.com/phpstan-bot |
| Jun 19, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3442876051 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Jun 19, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533323102 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files |
| Makefile | https://github.com/phpstan/phpstan-src/pull/5876/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Jun 19, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533347014 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files |
| staabm | https://github.com/staabm |
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533347014 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://phpstan.org/r/c333fb80-5698-455c-97fc-82dd9f879687 | https://phpstan.org/r/c333fb80-5698-455c-97fc-82dd9f879687 |
| phpstan/phpstan#11281 | https://github.com/phpstan/phpstan/issues/11281 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Jun 19, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#issuecomment-4752206745 |
| phpstan/phpstan#11281 | https://github.com/phpstan/phpstan/issues/11281 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| VincentLanglet | https://github.com/VincentLanglet |
| June 19, 2026 16:11 | https://github.com/phpstan/phpstan-src/pull/5876#commits-pushed-89a5eda |
|
| https://github.com/VincentLanglet |
|
| https://github.com/staabm |
| Keep subtype-absorbed variables as conditional-expression targets whe… | https://github.com/phpstan/phpstan-src/pull/5876/commits/89a5edad5419c2b0867e790b0660c34fc00ac316 |
| 89a5eda | https://github.com/phpstan/phpstan-src/pull/5876/commits/89a5edad5419c2b0867e790b0660c34fc00ac316 |
| @PHPStan-Ignore | https://github.com/PHPStan-Ignore |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/staabm |
| Build class reflection inside the loop in OptimizedDirectorySourceLoc… | https://github.com/phpstan/phpstan-src/pull/5876/commits/6b46aa97aafd1fdcb04e5461ce6e0cccefbbff84 |
| 6b46aa9 | https://github.com/phpstan/phpstan-src/pull/5876/commits/6b46aa97aafd1fdcb04e5461ce6e0cccefbbff84 |
| @PHPStan-Ignore | https://github.com/PHPStan-Ignore |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/staabm |
| Capture located file in OptimizedDirectorySourceLocator class branch … | https://github.com/phpstan/phpstan-src/pull/5876/commits/07d80dfd4bc2b5739c7fffdd671adb42a5d8a8c5 |
| 07d80df | https://github.com/phpstan/phpstan-src/pull/5876/commits/07d80dfd4bc2b5739c7fffdd671adb42a5d8a8c5 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/staabm |
| Add AccessPropertiesRule test for property access after assert in rep… | https://github.com/phpstan/phpstan-src/pull/5876/commits/557afa8e907f63ff5a524640598d59902d9916f7 |
| 557afa8 | https://github.com/phpstan/phpstan-src/pull/5876/commits/557afa8e907f63ff5a524640598d59902d9916f7 |
| phpstan/phpstan#4905 | https://github.com/phpstan/phpstan/issues/4905 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/staabm |
| Exclude bug-4905.php from PHP 7.4 lint | https://github.com/phpstan/phpstan-src/pull/5876/commits/001a63755d51d508a767d595586fec55ae7fcaae |
| 001a637 | https://github.com/phpstan/phpstan-src/pull/5876/commits/001a63755d51d508a767d595586fec55ae7fcaae |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/staabm |
| Use inline lint comment for bug-4905.php instead of Makefile exclude | https://github.com/phpstan/phpstan-src/pull/5876/commits/d63f038a7aab9ad9b6ec4d407b37c2c763709ac5 |
| d63f038 | https://github.com/phpstan/phpstan-src/pull/5876/commits/d63f038a7aab9ad9b6ec4d407b37c2c763709ac5 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/staabm |
| Add NSRT test for improved type narrowing after try/catch flag (bug-1… | https://github.com/phpstan/phpstan-src/pull/5876/commits/c4eaa5eff20a794f4df01ce8479d0093496aa69c |
| c4eaa5e | https://github.com/phpstan/phpstan-src/pull/5876/commits/c4eaa5eff20a794f4df01ce8479d0093496aa69c |
|
| https://github.com/staabm |
| fix | https://github.com/phpstan/phpstan-src/pull/5876/commits/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2 |
| e5cbd0b | https://github.com/phpstan/phpstan-src/pull/5876/commits/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/7b168226130cdf9940522209a93ef9e07a601ca3..e5cbd0b7654acbc14de6269410d439a7e1d5a0e2 |
| 7b16822 | https://github.com/phpstan/phpstan-src/commit/7b168226130cdf9940522209a93ef9e07a601ca3 |
| e5cbd0b | https://github.com/phpstan/phpstan-src/commit/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/7b168226130cdf9940522209a93ef9e07a601ca3..e5cbd0b7654acbc14de6269410d439a7e1d5a0e2 |
| June 19, 2026 14:11 | https://github.com/phpstan/phpstan-src/pull/5876#event-26960785595 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Jun 19, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533476593 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Jun 20, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4536810403 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2 |
| staabm | https://github.com/staabm |
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4536810403 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://phpstan.org/r/bdf6da49-f84e-4a41-917b-f9639f64b742 | https://phpstan.org/r/bdf6da49-f84e-4a41-917b-f9639f64b742 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Add NSRT case for boolean-flag guard re-narrowing nullable to null | https://github.com/phpstan/phpstan-src/pull/5876/commits/5996af0d77beb18362e843c5372ba26ae4481882 |
| 5996af0 | https://github.com/phpstan/phpstan-src/pull/5876/commits/5996af0d77beb18362e843c5372ba26ae4481882 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Jun 20, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#issuecomment-4757058476 |
| https://phpstan.org/r/bdf6da49-f84e-4a41-917b-f9639f64b742 | https://phpstan.org/r/bdf6da49-f84e-4a41-917b-f9639f64b742 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Jun 20, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4536824650 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5876/files/5996af0d77beb18362e843c5372ba26ae4481882 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| c53a7b8 | https://github.com/phpstan/phpstan-src/commit/c53a7b8a5fbc232f309109707f18e82ae9be5a60 |
| Jun 20, 2026 | https://github.com/phpstan/phpstan-src/pull/5876#event-26983598698 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| June 20, 2026 09:03 | https://github.com/phpstan/phpstan-src/pull/5876#event-26983599054 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
|
Jun 26, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#ref-pullrequest-4750488064 |
|
Report type errors in function/method-calls on lower level, when MixedType is involved in Ternary
#5939
| https://github.com/phpstan/phpstan-src/pull/5939 |
| staabm | https://github.com/staabm |
|
Jun 27, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#ref-commit-6324ede |
|
| https://github.com/staabm |
| Cover subtype-absorbed try/catch results surviving as conditional tar… | https://github.com/phpstan-bot/phpstan-src/commit/6324ede9bc7735c66ff1adb42b6f744e8c1d31ab |
| 6324ede | https://github.com/phpstan-bot/phpstan-src/commit/6324ede9bc7735c66ff1adb42b6f744e8c1d31ab |
| c53a7b8 | https://github.com/phpstan-bot/phpstan-src/commit/c53a7b8a5fbc232f309109707f18e82ae9be5a60 |
| phpstan#5876 | https://github.com/phpstan/phpstan-src/pull/5876 |
|
Performance regression: keeping subtype-absorbed conditional targets (phpstan-src#5876) adds ~15% on constant-array loop code (bench bug-10538.php)
phpstan/phpstan#14921
| https://github.com/phpstan/phpstan/issues/14921 |
|
Performance regression: switch-heavy array-shape code ~30% slower since the type "reasons" commits (bench bug-7581.php)
phpstan/phpstan#14918
| https://github.com/phpstan/phpstan/issues/14918 |
|
Performance regression: deep !== chains ~30pp slower since TypeSpecifier→ExprHandler dispatch refactor (bench bug-14207-and.php, and-chain-truthy-blowup.php)
phpstan/phpstan#14919
| https://github.com/phpstan/phpstan/issues/14919 |
|
Performance regression: reverse isSuperTypeOf() guard check in MutatingScope (phpstan-src#5848) costs 13–21% on condition-heavy benches
phpstan/phpstan#14920
| https://github.com/phpstan/phpstan/issues/14920 |
|
Cache per-guard isSuperTypeOf() results in createConditionalExpressions() instead of recomputing them per target
#6001
| https://github.com/phpstan/phpstan-src/pull/6001 |
|
Skip constant-array guards when creating conditional expressions for subtype-absorbed targets
#6002
| https://github.com/phpstan/phpstan-src/pull/6002 |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Jul 4, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#ref-commit-ef3fe97 |
|
| https://github.com/ondrejmirtes |
| Cache per-guard isSuperTypeOf() results in `createConditionalExpres… | https://github.com/phpstan/phpstan-src/commit/ef3fe9765aab1d1b1d092f21b30338f2b8ccebe0 |
| ef3fe97 | https://github.com/phpstan/phpstan-src/commit/ef3fe9765aab1d1b1d092f21b30338f2b8ccebe0 |
| #5848 | https://github.com/phpstan/phpstan-src/pull/5848 |
| #5848 | https://github.com/phpstan/phpstan-src/pull/5848 |
| #5876 | https://github.com/phpstan/phpstan-src/pull/5876 |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Jul 4, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#ref-commit-6807620 |
|
| https://github.com/ondrejmirtes |
| Skip constant-array guards when creating conditional expressions for … | https://github.com/phpstan/phpstan-src/commit/68076207e8ec1fba7cde37b4fe22e39fd75abbdd |
| 6807620 | https://github.com/phpstan/phpstan-src/commit/68076207e8ec1fba7cde37b4fe22e39fd75abbdd |
| #5876 | https://github.com/phpstan/phpstan-src/pull/5876 |
| #5848 | https://github.com/phpstan/phpstan-src/pull/5848 |
| #5876 | https://github.com/phpstan/phpstan-src/pull/5876 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Nov 13, 2026
| https://github.com/phpstan/phpstan-src/pull/5876#ref-pullrequest-6381719098 |
|
Walk a while loop's exit condition instead of narrowing the body's scope by it
#7063
| https://github.com/phpstan/phpstan-src/pull/7063 |
| 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%2F5876 |
|
| https://github.com/VincentLanglet |
|
VincentLanglet
| https://github.com/VincentLanglet |
|
| https://github.com/phpstan/phpstan-src/pull/5876/files/54b40826c2b4fd36e71adb7e61b222fe6663a09f |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/5876/files/5996af0d77beb18362e843c5372ba26ae4481882 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
|
mixed type is breaking conditional analysis type narrowing
| https://github.com/phpstan/phpstan/issues/7948 |
|
Cannot access property XX on Class|null after an assert
| https://github.com/phpstan/phpstan/issues/4905 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5876 |
|
| 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 |