| 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:5df7025d-3847-5542-c34d-d5df37c040fe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 912C:1F5665:472B98:5F4FBD:6B008DF1 |
| html-safe-nonce | 0628570049d7ba9c9ac76ad5d2c0be11fe3eb9118be72abf5c4f1cfa77adf898 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTJDOjFGNTY2NTo0NzJCOTg6NUY0RkJEOjZCMDA4REYxIiwidmlzaXRvcl9pZCI6IjgwMjc5OTkxMzc0MTkwMDU0MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 06be2eb643dbdc6eee5e8c930dc96d9b791917a7420ff9cab2900f4153d667be |
| hovercard-subject-tag | pull_request:4584430267 |
| 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/6485/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1950cd8e1d8442d1038a70e339420155a33d027d6c61f7d00fbc2a1faf4efa2c/phpstan/phpstan-src/pull/6485 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1950cd8e1d8442d1038a70e339420155a33d027d6c61f7d00fbc2a1faf4efa2c/phpstan/phpstan-src/pull/6485 |
| og:image:alt | Summary
A union of parameterized class-string types was not narrowed after a class name was excluded with !==: class-string<X<int>>|class-string<Y<int>> stayed unchanged ins... |
| 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 | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| 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 | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| 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/6485#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6485 |
| 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%2F6485 |
| 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/6485 |
| Reload | https://github.com/phpstan/phpstan-src/pull/6485 |
| Reload | https://github.com/phpstan/phpstan-src/pull/6485 |
| 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 |
| phpstan:2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| phpstan-bot:create-pull-request/patch-9n3wj48 | https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-9n3wj48 |
| Conversation | https://github.com/phpstan/phpstan-src/pull/6485 |
| Commits6 (6) | https://github.com/phpstan/phpstan-src/pull/6485/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/6485/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/6485/files |
| Erase generic type arguments when comparing a class-string against a constant class-string | https://github.com/phpstan/phpstan-src/pull/6485#top |
| phpstan-bot | https://github.com/phpstan-bot |
| phpstan:2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| phpstan-bot:create-pull-request/patch-9n3wj48 | https://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-9n3wj48 |
|
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Sep 20, 2026 | https://github.com/phpstan/phpstan-src/pull/6485#issue-5518393461 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
| phpstan/phpstan#15266 | https://github.com/phpstan/phpstan/issues/15266 |
| phpstan/phpstan#10498 | https://github.com/phpstan/phpstan/issues/10498 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Sep 20, 2026
| https://github.com/phpstan/phpstan-src/pull/6485#pullrequestreview-5260836155 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/6485/files |
| src/Type/Generic/GenericClassStringType.php | https://github.com/phpstan/phpstan-src/pull/6485/files#diff-80cac2d18fff1ed19173e902770bb4e2c6e9608abd1a49839b9fd40e2b777c4e |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Sep 20, 2026
| https://github.com/phpstan/phpstan-src/pull/6485#pullrequestreview-5260857958 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/6485/files |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| Sep 20, 2026 | https://github.com/phpstan/phpstan-src/pull/6485#event-31483817358 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| staabm | https://github.com/staabm |
| September 20, 2026 14:48 | https://github.com/phpstan/phpstan-src/pull/6485#event-31483819738 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Sep 22, 2026
| https://github.com/phpstan/phpstan-src/pull/6485#pullrequestreview-5279966772 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/6485/files |
| staabm | https://github.com/staabm |
| https://github.com/phpstan/phpstan-src/pull/6485#pullrequestreview-5279966772 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Sep 22, 2026
| https://github.com/phpstan/phpstan-src/pull/6485#pullrequestreview-5280095082 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/6485/files |
| VincentLanglet | https://github.com/VincentLanglet |
| https://github.com/phpstan/phpstan-src/pull/6485#pullrequestreview-5280095082 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| phpstan/phpstan#10498 | https://github.com/phpstan/phpstan/issues/10498 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
| tests/PHPStan/Rules/Comparison/data/bug-15266.php | https://github.com/phpstan/phpstan-src/pull/6485/files#diff-8485944ca7a10b0a1d9cb29cdd5975d4f8faf9f8fe7a36a9388d075e58643928 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
| phpstan-bot | https://github.com/phpstan-bot |
| September 22, 2026 18:33 | https://github.com/phpstan/phpstan-src/pull/6485#commits-pushed-4728624 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/VincentLanglet |
| Erase generic type arguments when comparing a class-string against … | https://github.com/phpstan/phpstan-src/pull/6485/commits/4728624659e38b93c26dc42bbde540dfb2e98dcc |
| 4728624 | https://github.com/phpstan/phpstan-src/pull/6485/commits/4728624659e38b93c26dc42bbde540dfb2e98dcc |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/VincentLanglet |
| Inline the single-use type argument erasure into isValueOfGenericType | https://github.com/phpstan/phpstan-src/pull/6485/commits/36e6600d79b36de86654504624a6a3f3c329e572 |
| 36e6600 | https://github.com/phpstan/phpstan-src/pull/6485/commits/36e6600d79b36de86654504624a6a3f3c329e572 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/VincentLanglet |
| Lint the match() reproducer only on PHP 8.0+ | https://github.com/phpstan/phpstan-src/pull/6485/commits/2b78e04cfa7e02bbe1ec52094c593a96dd0493a1 |
| 2b78e04 | https://github.com/phpstan/phpstan-src/pull/6485/commits/2b78e04cfa7e02bbe1ec52094c593a96dd0493a1 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
|
| https://github.com/VincentLanglet |
| Added regression test for static::class comparison in a generic class | https://github.com/phpstan/phpstan-src/pull/6485/commits/4102d836a88a09067925398bf01c33193833f958 |
| 4102d83 | https://github.com/phpstan/phpstan-src/pull/6485/commits/4102d836a88a09067925398bf01c33193833f958 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/0379b431b737e5866ab4594bb0307a42695b9621..4102d836a88a09067925398bf01c33193833f958 |
| 0379b43 | https://github.com/phpstan/phpstan-src/commit/0379b431b737e5866ab4594bb0307a42695b9621 |
| 4102d83 | https://github.com/phpstan/phpstan-src/commit/4102d836a88a09067925398bf01c33193833f958 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/0379b431b737e5866ab4594bb0307a42695b9621..4102d836a88a09067925398bf01c33193833f958 |
| September 22, 2026 16:34 | https://github.com/phpstan/phpstan-src/pull/6485#event-31615432170 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Sep 22, 2026
| https://github.com/phpstan/phpstan-src/pull/6485#pullrequestreview-5280991801 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/6485/files/4102d836a88a09067925398bf01c33193833f958 |
| VincentLanglet | https://github.com/VincentLanglet |
| https://github.com/phpstan/phpstan-src/pull/6485#pullrequestreview-5280991801 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
| phpstan-bot | https://github.com/phpstan-bot |
| September 22, 2026 17:07 | https://github.com/phpstan/phpstan-src/pull/6485#commits-pushed-740aaeb |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Mirror the class-string type argument erasure in the native Type classes | https://github.com/phpstan/phpstan-src/pull/6485/commits/740aaebd5ebddf21e0f07e08d62f8388e8f5d870 |
| 740aaeb | https://github.com/phpstan/phpstan-src/pull/6485/commits/740aaebd5ebddf21e0f07e08d62f8388e8f5d870 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/claude |
| Bump expected turbo version | https://github.com/phpstan/phpstan-src/pull/6485/commits/18003c71cd23055e0518483aaec5348bbb8f2e6b |
| 18003c7 | https://github.com/phpstan/phpstan-src/pull/6485/commits/18003c71cd23055e0518483aaec5348bbb8f2e6b |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Sep 22, 2026 | https://github.com/phpstan/phpstan-src/pull/6485#issuecomment-5780715933 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Sep 22, 2026
| https://github.com/phpstan/phpstan-src/pull/6485#pullrequestreview-5282471820 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/6485/files/18003c71cd23055e0518483aaec5348bbb8f2e6b |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| Sep 22, 2026 | https://github.com/phpstan/phpstan-src/pull/6485#event-31631275608 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| Sep 22, 2026 | https://github.com/phpstan/phpstan-src/pull/6485#issuecomment-5784056170 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| September 22, 2026 20:59 | https://github.com/phpstan/phpstan-src/pull/6485#event-31631312079 |
|
Resolve PHP version checks in src/Type/Php extensions from Scope::getPhpVersion()
#6551
| https://github.com/phpstan/phpstan-src/pull/6551 |
|
Resolve PHP version checks in remaining scope-aware extensions from Scope::getPhpVersion() and forbid injecting PhpVersion into them
#6563
| https://github.com/phpstan/phpstan-src/pull/6563 |
| 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%2F6485 |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/6485/files/62ade723fbbefe2b7e28ef611482afd54d3ff5a9 |
|
| https://github.com/VincentLanglet |
|
VincentLanglet
| https://github.com/VincentLanglet |
|
| https://github.com/phpstan/phpstan-src/pull/6485/files/18003c71cd23055e0518483aaec5348bbb8f2e6b |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
|
| https://github.com/VincentLanglet |
|
VincentLanglet
| https://github.com/VincentLanglet |
|
Parameterized class-string is not narrowed after excluding a final class name
| https://github.com/phpstan/phpstan/issues/15266 |
|
Incorrect "comparison will always evaluate to false" for comparison between static::class and ::class in class with @template
| https://github.com/phpstan/phpstan/issues/10498 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6485 |
|
| https://github.com/phpstan-bot |
|
| https://github.com/VincentLanglet |
|
| 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 |