| 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:42ca01aa-0f7b-f885-11e3-a64864e4bbb0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E5C8:882E2:D0C13C:114CE99:6B00F4F0 |
| html-safe-nonce | fa82efa8ad5baae3ef15e19e4474c006b2a98f5038d4e6932babc6f421463e7b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUM4Ojg4MkUyOkQwQzEzQzoxMTRDRTk5OjZCMDBGNEYwIiwidmlzaXRvcl9pZCI6IjY0MjM2MjIwNDk2ODc3MjkzOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 84bafbd44f6dc3a3d4e90d10392ebde2d8267f1b33d34cbbe68b5ded9cdbe49b |
| hovercard-subject-tag | pull_request:4413946173 |
| 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/6332/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/52d4dbdc7710a45195861c4aeb747bdce445b15a6d8269caa2d0b4c69cda3477/phpstan/phpstan-src/pull/6332 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/52d4dbdc7710a45195861c4aeb747bdce445b15a6d8269caa2d0b4c69cda3477/phpstan/phpstan-src/pull/6332 |
| og:image:alt | Prototype of phpstan/phpstan#6732 as proposed in phpstan/phpstan#6732 (comment) — template arguments inferred from new/generic-call arguments are unresolved until the body's usages resolve them... |
| 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 | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| 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/6332#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6332 |
| 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%2F6332 |
| 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/6332 |
| Reload | https://github.com/phpstan/phpstan-src/pull/6332 |
| Reload | https://github.com/phpstan/phpstan-src/pull/6332 |
| 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 |
| bidirectional-type-narrowing-2 | https://github.com/phpstan/phpstan-src/tree/bidirectional-type-narrowing-2 |
| Conversation | https://github.com/phpstan/phpstan-src/pull/6332 |
| Commits28 (28) | https://github.com/phpstan/phpstan-src/pull/6332/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/6332/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/6332/files |
| Resolve inferred template arguments from the body's usages | https://github.com/phpstan/phpstan-src/pull/6332#top |
| ondrejmirtes | https://github.com/ondrejmirtes |
| 2.3.x | https://github.com/phpstan/phpstan-src/tree/2.3.x |
| bidirectional-type-narrowing-2 | https://github.com/phpstan/phpstan-src/tree/bidirectional-type-narrowing-2 |
|
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Sep 1, 2026 | https://github.com/phpstan/phpstan-src/pull/6332#issue-5314017024 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6332 |
| phpstan/phpstan#6732 | https://github.com/phpstan/phpstan/issues/6732 |
| phpstan/phpstan#6732 (comment) | https://github.com/phpstan/phpstan/issues/6732#issuecomment-1062029088 |
| phpstan/phpstan#6732 | https://github.com/phpstan/phpstan/issues/6732 |
| phpstan/phpstan#12704 | https://github.com/phpstan/phpstan/issues/12704 |
| phpstan/phpstan#10419 | https://github.com/phpstan/phpstan/issues/10419 |
| phpstan/phpstan#14647 | https://github.com/phpstan/phpstan/issues/14647 |
| phpstan/phpstan#13431 | https://github.com/phpstan/phpstan/issues/13431 |
| phpstan/phpstan#12601 | https://github.com/phpstan/phpstan/issues/12601 |
| phpstan/phpstan#12490 | https://github.com/phpstan/phpstan/issues/12490 |
| phpstan/phpstan#12420 | https://github.com/phpstan/phpstan/issues/12420 |
| phpstan/phpstan#11835 | https://github.com/phpstan/phpstan/issues/11835 |
| phpstan/phpstan#11435 | https://github.com/phpstan/phpstan/issues/11435 |
| phpstan/phpstan#10290 | https://github.com/phpstan/phpstan/issues/10290 |
| phpstan/phpstan#10289 | https://github.com/phpstan/phpstan/issues/10289 |
| phpstan/phpstan#5741 | https://github.com/phpstan/phpstan/issues/5741 |
| phpstan/phpstan#8031 | https://github.com/phpstan/phpstan/issues/8031 |
| Claude Code | https://claude.com/claude-code |
| https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 | https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6332 |
| https://github.com/SanderMuller |
| SanderMuller | https://github.com/SanderMuller |
|
Sep 1, 2026
| https://github.com/phpstan/phpstan-src/pull/6332#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 |
|
Sep 1, 2026
| https://github.com/phpstan/phpstan-src/pull/6332#ref-issue-1470411986 |
|
Type inferrence broken for new ClassName() with a nullable generic argument
phpstan/phpstan#8441
| https://github.com/phpstan/phpstan/issues/8441 |
| 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/6332#event-30417316320 |
| September 2, 2026 13:21 | https://github.com/phpstan/phpstan-src/pull/6332#event-30417737908 |
| 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/6332#event-30417802422 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/b2d28ff8c96a0fdcfa12c56bffc90a6cf2dfcb5a..33d76e7c8e6960013ed16e8bbd8ebdbe09e74381 |
| b2d28ff | https://github.com/phpstan/phpstan-src/commit/b2d28ff8c96a0fdcfa12c56bffc90a6cf2dfcb5a |
| 33d76e7 | https://github.com/phpstan/phpstan-src/commit/33d76e7c8e6960013ed16e8bbd8ebdbe09e74381 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/b2d28ff8c96a0fdcfa12c56bffc90a6cf2dfcb5a..33d76e7c8e6960013ed16e8bbd8ebdbe09e74381 |
| September 2, 2026 16:06 | https://github.com/phpstan/phpstan-src/pull/6332#event-30428521931 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Sep 2, 2026 | https://github.com/phpstan/phpstan-src/pull/6332#issuecomment-5513470125 |
| @zonuexe | https://github.com/zonuexe |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6332 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Sep 3, 2026
| https://github.com/phpstan/phpstan-src/pull/6332#ref-issue-5336720805 |
|
Finality of template argument inferred from new is breaking checks against covariant generic types
phpstan/phpstan#15166
| https://github.com/phpstan/phpstan/issues/15166 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/8c597557c4f136ef193a730087e86f0d2eaeacc4..91d1ea855deaa8741ce93b850f50eef9c04e57d9 |
| 8c59755 | https://github.com/phpstan/phpstan-src/commit/8c597557c4f136ef193a730087e86f0d2eaeacc4 |
| 91d1ea8 | https://github.com/phpstan/phpstan-src/commit/91d1ea855deaa8741ce93b850f50eef9c04e57d9 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/8c597557c4f136ef193a730087e86f0d2eaeacc4..91d1ea855deaa8741ce93b850f50eef9c04e57d9 |
| September 6, 2026 06:46 | https://github.com/phpstan/phpstan-src/pull/6332#event-30632854421 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Sep 6, 2026 | https://github.com/phpstan/phpstan-src/pull/6332#event-30634114020 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/df3e4b80f54981d919e0297dc53ebfe0e8b407cd..0a7cddc3cd6715d265695bf7be89428fe7e052de |
| df3e4b8 | https://github.com/phpstan/phpstan-src/commit/df3e4b80f54981d919e0297dc53ebfe0e8b407cd |
| 0a7cddc | https://github.com/phpstan/phpstan-src/commit/0a7cddc3cd6715d265695bf7be89428fe7e052de |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/df3e4b80f54981d919e0297dc53ebfe0e8b407cd..0a7cddc3cd6715d265695bf7be89428fe7e052de |
| September 7, 2026 15:14 | https://github.com/phpstan/phpstan-src/pull/6332#event-30700569097 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| September 7, 2026 17:14 | https://github.com/phpstan/phpstan-src/pull/6332#commits-pushed-d81067d |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Bidirectional type narrowing initial implementation | https://github.com/phpstan/phpstan-src/pull/6332/commits/d81067dbdeaaafd0e268dddad3db2492268d3722 |
| d81067d | https://github.com/phpstan/phpstan-src/pull/6332/commits/d81067dbdeaaafd0e268dddad3db2492268d3722 |
| https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 | https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Add regression tests for issues fixed by unresolved template arguments | https://github.com/phpstan/phpstan-src/pull/6332/commits/2edf14d355ad72a45657d7f140ed36ddd8d4906f |
| 2edf14d | https://github.com/phpstan/phpstan-src/pull/6332/commits/2edf14d355ad72a45657d7f140ed36ddd8d4906f |
| phpstan/phpstan#12704 | https://github.com/phpstan/phpstan/issues/12704 |
| phpstan/phpstan#12576 | https://github.com/phpstan/phpstan/issues/12576 |
| phpstan/phpstan#10419 | https://github.com/phpstan/phpstan/issues/10419 |
| phpstan/phpstan#14647 | https://github.com/phpstan/phpstan/issues/14647 |
| phpstan/phpstan#13431 | https://github.com/phpstan/phpstan/issues/13431 |
| phpstan/phpstan#12601 | https://github.com/phpstan/phpstan/issues/12601 |
| phpstan/phpstan#12490 | https://github.com/phpstan/phpstan/issues/12490 |
| phpstan/phpstan#12420 | https://github.com/phpstan/phpstan/issues/12420 |
| phpstan/phpstan#11835 | https://github.com/phpstan/phpstan/issues/11835 |
| phpstan/phpstan#11435 | https://github.com/phpstan/phpstan/issues/11435 |
| phpstan/phpstan#10290 | https://github.com/phpstan/phpstan/issues/10290 |
| phpstan/phpstan#10289 | https://github.com/phpstan/phpstan/issues/10289 |
| phpstan/phpstan#5741 | https://github.com/phpstan/phpstan/issues/5741 |
| https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 | https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Add regression test for #8031 | https://github.com/phpstan/phpstan-src/pull/6332/commits/168c594a866c70a443456e86c8d36c3bb593f5b4 |
| 168c594 | https://github.com/phpstan/phpstan-src/pull/6332/commits/168c594a866c70a443456e86c8d36c3bb593f5b4 |
| phpstan/phpstan#8031 | https://github.com/phpstan/phpstan/issues/8031 |
| https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 | https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Pin bug-15169-calls to the unresolved template argument semantics | https://github.com/phpstan/phpstan-src/pull/6332/commits/20c3947c8611baa238e3d5cf53a2422aea7b059b |
| 20c3947 | https://github.com/phpstan/phpstan-src/pull/6332/commits/20c3947c8611baa238e3d5cf53a2422aea7b059b |
| https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 | https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Pin the native flavour of template arguments (currently failing) | https://github.com/phpstan/phpstan-src/pull/6332/commits/8fd2168ea560a14f86d99e450de69e67a2228f38 |
| 8fd2168 | https://github.com/phpstan/phpstan-src/pull/6332/commits/8fd2168ea560a14f86d99e450de69e67a2228f38 |
| https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 | https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39 |
|
| https://github.com/ondrejmirtes |
| Avoid retaining call ASTs in template argument caches | https://github.com/phpstan/phpstan-src/pull/6332/commits/5fad23a62cd600af82f13ae7d9a19ff511cf59cf |
| 5fad23a | https://github.com/phpstan/phpstan-src/pull/6332/commits/5fad23a62cd600af82f13ae7d9a19ff511cf59cf |
|
| https://github.com/ondrejmirtes |
| Preserve inference constraints from arrow function arguments | https://github.com/phpstan/phpstan-src/pull/6332/commits/3b1a68801274d2495235503975d41790a6c13c40 |
| 3b1a688 | https://github.com/phpstan/phpstan-src/pull/6332/commits/3b1a68801274d2495235503975d41790a6c13c40 |
|
| https://github.com/ondrejmirtes |
| Preserve inference constraints from terminating expression branches | https://github.com/phpstan/phpstan-src/pull/6332/commits/a87e6be070515566f596ee8db9fc95f58f8af0c2 |
| a87e6be | https://github.com/phpstan/phpstan-src/pull/6332/commits/a87e6be070515566f596ee8db9fc95f58f8af0c2 |
|
| https://github.com/ondrejmirtes |
| Preserve inference constraints when foreach scope does not escape | https://github.com/phpstan/phpstan-src/pull/6332/commits/1f5f1e0bbd977067d31c4f0f43e35a22cd086a19 |
| 1f5f1e0 | https://github.com/phpstan/phpstan-src/pull/6332/commits/1f5f1e0bbd977067d31c4f0f43e35a22cd086a19 |
|
| https://github.com/ondrejmirtes |
| Preserve inference constraints from unreachable for loop bodies | https://github.com/phpstan/phpstan-src/pull/6332/commits/fba526372e4f56a7e06b1ff6d6f6a96b8fca0e0d |
| fba5263 | https://github.com/phpstan/phpstan-src/pull/6332/commits/fba526372e4f56a7e06b1ff6d6f6a96b8fca0e0d |
|
| https://github.com/ondrejmirtes |
| Resolve dependent template bounds and defaults completely | https://github.com/phpstan/phpstan-src/pull/6332/commits/c359956e7dffbe473f3d958ac4b08a953d578a1f |
| c359956 | https://github.com/phpstan/phpstan-src/pull/6332/commits/c359956e7dffbe473f3d958ac4b08a953d578a1f |
|
| https://github.com/ondrejmirtes |
| Preserve unresolved template identity in finite type comparisons | https://github.com/phpstan/phpstan-src/pull/6332/commits/dfd955ced88ccb6f73dc672237d64468c788ff27 |
| dfd955c | https://github.com/phpstan/phpstan-src/pull/6332/commits/dfd955ced88ccb6f73dc672237d64468c788ff27 |
|
| https://github.com/ondrejmirtes |
| Keep PHPDoc template inference out of native construction types | https://github.com/phpstan/phpstan-src/pull/6332/commits/6fd7b530c0241b69b2121a9373441aa72e63c34b |
| 6fd7b53 | https://github.com/phpstan/phpstan-src/pull/6332/commits/6fd7b530c0241b69b2121a9373441aa72e63c34b |
|
| https://github.com/ondrejmirtes |
| Ignore diagnostic call markers when deciding statement replay | https://github.com/phpstan/phpstan-src/pull/6332/commits/90fb324a510dacd80785721bae91d07f2f9080fb |
| 90fb324 | https://github.com/phpstan/phpstan-src/pull/6332/commits/90fb324a510dacd80785721bae91d07f2f9080fb |
|
| https://github.com/ondrejmirtes |
| Reuse analysed bodies for array_map and immediately invoked closures | https://github.com/phpstan/phpstan-src/pull/6332/commits/890671149a038c52feb93233c75c93012b0793e5 |
| 8906711 | https://github.com/phpstan/phpstan-src/pull/6332/commits/890671149a038c52feb93233c75c93012b0793e5 |
|
| https://github.com/ondrejmirtes |
| Carry template resolution policy in immutable analysis contexts | https://github.com/phpstan/phpstan-src/pull/6332/commits/95ed4fe15d448989f009104f6c485ee7ec825d12 |
| 95ed4fe | https://github.com/phpstan/phpstan-src/pull/6332/commits/95ed4fe15d448989f009104f6c485ee7ec825d12 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| September 7, 2026 17:15 | https://github.com/phpstan/phpstan-src/pull/6332#commits-pushed-186e52f |
|
| https://github.com/ondrejmirtes |
| Keep template argument inference compatible with PHP 7.4 | https://github.com/phpstan/phpstan-src/pull/6332/commits/186e52fdbdf216b08f989e9a12d7afc286ce5a1b |
| 186e52f | https://github.com/phpstan/phpstan-src/pull/6332/commits/186e52fdbdf216b08f989e9a12d7afc286ce5a1b |
|
| https://github.com/ondrejmirtes |
| Respect template bounds when inferring from later arguments | https://github.com/phpstan/phpstan-src/pull/6332/commits/d59d8c461411095000c17df8695853449092fc5b |
| d59d8c4 | https://github.com/phpstan/phpstan-src/pull/6332/commits/d59d8c461411095000c17df8695853449092fc5b |
|
| https://github.com/ondrejmirtes |
| Use template bounds for unconstrained generic call arguments | https://github.com/phpstan/phpstan-src/pull/6332/commits/8da57e4c40df2ff86254ee167ab37e6539cd7cee |
| 8da57e4 | https://github.com/phpstan/phpstan-src/pull/6332/commits/8da57e4c40df2ff86254ee167ab37e6539cd7cee |
|
| https://github.com/ondrejmirtes |
| Preserve template defaults when generic calls add no constraints | https://github.com/phpstan/phpstan-src/pull/6332/commits/2c6d58221224cdcf299c559d1e71d7a416fa2a1d |
| 2c6d582 | https://github.com/phpstan/phpstan-src/pull/6332/commits/2c6d58221224cdcf299c559d1e71d7a416fa2a1d |
|
| https://github.com/ondrejmirtes |
| Use generic parameter defaults to constrain empty nested collections | https://github.com/phpstan/phpstan-src/pull/6332/commits/952645bbb33a134a827a4b9d1982cbf13a61f629 |
| 952645b | https://github.com/phpstan/phpstan-src/pull/6332/commits/952645bbb33a134a827a4b9d1982cbf13a61f629 |
|
| https://github.com/ondrejmirtes |
| Use template bounds for objects passed to impure mixed parameters | https://github.com/phpstan/phpstan-src/pull/6332/commits/194bd0e22ed61c8c4bc61553a48c6140ade867f4 |
| 194bd0e | https://github.com/phpstan/phpstan-src/pull/6332/commits/194bd0e22ed61c8c4bc61553a48c6140ade867f4 |
|
| https://github.com/ondrejmirtes |
| Preserve unknown ArrayObject values when constructed from an object | https://github.com/phpstan/phpstan-src/pull/6332/commits/5e5139b113b9f243c8134cd8fa5efd255c8477e5 |
| 5e5139b | https://github.com/phpstan/phpstan-src/pull/6332/commits/5e5139b113b9f243c8134cd8fa5efd255c8477e5 |
|
| https://github.com/ondrejmirtes |
| Preserve inferred arguments when return types omit generic arguments | https://github.com/phpstan/phpstan-src/pull/6332/commits/87a4b796831ed0ffd85e5848bcbe43eaa01af12b |
| 87a4b79 | https://github.com/phpstan/phpstan-src/pull/6332/commits/87a4b796831ed0ffd85e5848bcbe43eaa01af12b |
|
| https://github.com/ondrejmirtes |
| Use a complete PHP version requirement in Bug14396Test | https://github.com/phpstan/phpstan-src/pull/6332/commits/24164110cefab401e35dfcdd6ee2648b071599de |
| 2416411 | https://github.com/phpstan/phpstan-src/pull/6332/commits/24164110cefab401e35dfcdd6ee2648b071599de |
|
| https://github.com/ondrejmirtes |
| Update levels expectations for inferred SplObjectStorage values | https://github.com/phpstan/phpstan-src/pull/6332/commits/b379e3d434687e0ae9d652fcfc7beeb7a7e6addb |
| b379e3d | https://github.com/phpstan/phpstan-src/pull/6332/commits/b379e3d434687e0ae9d652fcfc7beeb7a7e6addb |
|
| https://github.com/ondrejmirtes |
| Preserve bounds for unconstrained template arguments | https://github.com/phpstan/phpstan-src/pull/6332/commits/a82b7e9e0b12b4923e8bafaf500959aafb009b1b |
| a82b7e9 | https://github.com/phpstan/phpstan-src/pull/6332/commits/a82b7e9e0b12b4923e8bafaf500959aafb009b1b |
|
| https://github.com/ondrejmirtes |
| Solve linked invariant template arguments together | https://github.com/phpstan/phpstan-src/pull/6332/commits/66ec5e6699558b38eba7555b9da68a3a4c10c532 |
| 66ec5e6 | https://github.com/phpstan/phpstan-src/pull/6332/commits/66ec5e6699558b38eba7555b9da68a3a4c10c532 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/0a7cddc3cd6715d265695bf7be89428fe7e052de..66ec5e6699558b38eba7555b9da68a3a4c10c532 |
| 0a7cddc | https://github.com/phpstan/phpstan-src/commit/0a7cddc3cd6715d265695bf7be89428fe7e052de |
| 66ec5e6 | https://github.com/phpstan/phpstan-src/commit/66ec5e6699558b38eba7555b9da68a3a4c10c532 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/0a7cddc3cd6715d265695bf7be89428fe7e052de..66ec5e6699558b38eba7555b9da68a3a4c10c532 |
| September 7, 2026 15:15 | https://github.com/phpstan/phpstan-src/pull/6332#event-30700585850 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| 3b094df | https://github.com/phpstan/phpstan-src/commit/3b094df6e0633a644b635b99cb052a08883fee9e |
| Sep 7, 2026 | https://github.com/phpstan/phpstan-src/pull/6332#event-30700612682 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6332 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| September 7, 2026 15:15 | https://github.com/phpstan/phpstan-src/pull/6332#event-30700614172 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
| Sep 8, 2026 | https://github.com/phpstan/phpstan-src/pull/6332#issuecomment-5580968036 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6332 |
|
Infer signatures of closures from where their values are sent
#6604
| https://github.com/phpstan/phpstan-src/pull/6604 |
|
Add regression tests for issues fixed by resolving inferred template arguments
#6605
| https://github.com/phpstan/phpstan-src/pull/6605 |
|
Apply the effects of a closure's by-ref uses where it is invoked
#6610
| https://github.com/phpstan/phpstan-src/pull/6610 |
|
Close soundness holes in closure signature inference
#6622
| https://github.com/phpstan/phpstan-src/pull/6622 |
| 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%2F6332 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6332 |
|
Function should return Err but returns Err
| https://github.com/phpstan/phpstan/issues/10290 |
|
IteratorAggregate with ArrayIterator on array property key type mismatch
| https://github.com/phpstan/phpstan/issues/10289 |
|
Union of constant string type lost when used with generics.
| https://github.com/phpstan/phpstan/issues/8031 |
|
Bidirectional type narrowing for generic types (would close an obscure hole in type checking!)
| https://github.com/phpstan/phpstan/issues/6732 |
|
Array type variables don't work with literal values
| https://github.com/phpstan/phpstan/issues/5741 |
|
Template-covariance checks too strict
| https://github.com/phpstan/phpstan/issues/10419 |
|
True inferred as bool
| https://github.com/phpstan/phpstan/issues/11435 |
|
Covariant false-positive with lower case string union
| https://github.com/phpstan/phpstan/issues/11835 |
|
When building a collection from BackedEnum values, the resulting type of the values is broadened to string
| https://github.com/phpstan/phpstan/issues/12420 |
|
Several template covariant bugs
| https://github.com/phpstan/phpstan/issues/12490 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/6332 |
|
| 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 |