René's URL Explorer Experiment


Title: Resolve inferred template arguments from the body's usages by ondrejmirtes · Pull Request #6332 · phpstan/phpstan-src · GitHub

Open Graph Title: Resolve inferred template arguments from the body's usages by ondrejmirtes · Pull Request #6332 · phpstan/phpstan-src

X Title: Resolve inferred template arguments from the body's usages by ondrejmirtes · Pull Request #6332 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Resolve inferred template arguments from the body's usages by ondrejmirtes · Pull Request #6332 · phpstan/phpstan-src

Open Graph Description: 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...

X Description: 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 ...

Opengraph URL: https://github.com/phpstan/phpstan-src/pull/6332

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:42ca01aa-0f7b-f885-11e3-a64864e4bbb0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5C8:882E2:D0C13C:114CE99:6B00F4F0
html-safe-noncefa82efa8ad5baae3ef15e19e4474c006b2a98f5038d4e6932babc6f421463e7b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUM4Ojg4MkUyOkQwQzEzQzoxMTRDRTk5OjZCMDBGNEYwIiwidmlzaXRvcl9pZCI6IjY0MjM2MjIwNDk2ODc3MjkzOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac84bafbd44f6dc3a3d4e90d10392ebde2d8267f1b33d34cbbe68b5ded9cdbe49b
hovercard-subject-tagpull_request:4413946173
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/phpstan/phpstan-src/6332/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/52d4dbdc7710a45195861c4aeb747bdce445b15a6d8269caa2d0b4c69cda3477/phpstan/phpstan-src/pull/6332
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52d4dbdc7710a45195861c4aeb747bdce445b15a6d8269caa2d0b4c69cda3477/phpstan/phpstan-src/pull/6332
og:image:altPrototype 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameondrejmirtes
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id219334214
octolytics-dimension-repository_nwophpstan/phpstan-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id219334214
octolytics-dimension-repository_network_root_nwophpstan/phpstan-src
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/6332#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6332
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6332
Sign uphttps://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
Reloadhttps://github.com/phpstan/phpstan-src/pull/6332
Reloadhttps://github.com/phpstan/phpstan-src/pull/6332
Reloadhttps://github.com/phpstan/phpstan-src/pull/6332
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests186 (186)https://github.com/phpstan/phpstan-src/pulls
Actionshttps://github.com/phpstan/phpstan-src/actions
Security and qualityhttps://github.com/phpstan/phpstan-src/security
Insightshttps://github.com/phpstan/phpstan-src/insights
https://github.com/phpstan/phpstan-src
ondrejmirteshttps://github.com/ondrejmirtes
2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
bidirectional-type-narrowing-2https://github.com/phpstan/phpstan-src/tree/bidirectional-type-narrowing-2
Conversationhttps://github.com/phpstan/phpstan-src/pull/6332
Commits28 (28)https://github.com/phpstan/phpstan-src/pull/6332/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/6332/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/6332/files
Resolve inferred template arguments from the body's usageshttps://github.com/phpstan/phpstan-src/pull/6332#top
ondrejmirteshttps://github.com/ondrejmirtes
2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
bidirectional-type-narrowing-2https://github.com/phpstan/phpstan-src/tree/bidirectional-type-narrowing-2
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Sep 1, 2026https://github.com/phpstan/phpstan-src/pull/6332#issue-5314017024
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6332
phpstan/phpstan#6732https://github.com/phpstan/phpstan/issues/6732
phpstan/phpstan#6732 (comment)https://github.com/phpstan/phpstan/issues/6732#issuecomment-1062029088
phpstan/phpstan#6732https://github.com/phpstan/phpstan/issues/6732
phpstan/phpstan#12704https://github.com/phpstan/phpstan/issues/12704
phpstan/phpstan#10419https://github.com/phpstan/phpstan/issues/10419
phpstan/phpstan#14647https://github.com/phpstan/phpstan/issues/14647
phpstan/phpstan#13431https://github.com/phpstan/phpstan/issues/13431
phpstan/phpstan#12601https://github.com/phpstan/phpstan/issues/12601
phpstan/phpstan#12490https://github.com/phpstan/phpstan/issues/12490
phpstan/phpstan#12420https://github.com/phpstan/phpstan/issues/12420
phpstan/phpstan#11835https://github.com/phpstan/phpstan/issues/11835
phpstan/phpstan#11435https://github.com/phpstan/phpstan/issues/11435
phpstan/phpstan#10290https://github.com/phpstan/phpstan/issues/10290
phpstan/phpstan#10289https://github.com/phpstan/phpstan/issues/10289
phpstan/phpstan#5741https://github.com/phpstan/phpstan/issues/5741
phpstan/phpstan#8031https://github.com/phpstan/phpstan/issues/8031
Claude Codehttps://claude.com/claude-code
https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6332
https://github.com/SanderMuller
SanderMullerhttps://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
ondrejmirteshttps://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
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/2aca59b947d029380119cf9ef43e093d1863910d..00f2b74a6aa033d11ccd175b80144be5fd1505d6
2aca59bhttps://github.com/phpstan/phpstan-src/commit/2aca59b947d029380119cf9ef43e093d1863910d
00f2b74https://github.com/phpstan/phpstan-src/commit/00f2b74a6aa033d11ccd175b80144be5fd1505d6
Compare https://github.com/phpstan/phpstan-src/compare/2aca59b947d029380119cf9ef43e093d1863910d..00f2b74a6aa033d11ccd175b80144be5fd1505d6
September 2, 2026 13:15https://github.com/phpstan/phpstan-src/pull/6332#event-30417316320
September 2, 2026 13:21https://github.com/phpstan/phpstan-src/pull/6332#event-30417737908
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/a4793f730dbce70efa0d3fb04c9906326852ad2f..2ef5ee0dcabc5a8732e4503cf3f56903739e31a2
a4793f7https://github.com/phpstan/phpstan-src/commit/a4793f730dbce70efa0d3fb04c9906326852ad2f
2ef5ee0https://github.com/phpstan/phpstan-src/commit/2ef5ee0dcabc5a8732e4503cf3f56903739e31a2
Compare https://github.com/phpstan/phpstan-src/compare/a4793f730dbce70efa0d3fb04c9906326852ad2f..2ef5ee0dcabc5a8732e4503cf3f56903739e31a2
September 2, 2026 13:22https://github.com/phpstan/phpstan-src/pull/6332#event-30417802422
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/b2d28ff8c96a0fdcfa12c56bffc90a6cf2dfcb5a..33d76e7c8e6960013ed16e8bbd8ebdbe09e74381
b2d28ffhttps://github.com/phpstan/phpstan-src/commit/b2d28ff8c96a0fdcfa12c56bffc90a6cf2dfcb5a
33d76e7https://github.com/phpstan/phpstan-src/commit/33d76e7c8e6960013ed16e8bbd8ebdbe09e74381
Compare https://github.com/phpstan/phpstan-src/compare/b2d28ff8c96a0fdcfa12c56bffc90a6cf2dfcb5a..33d76e7c8e6960013ed16e8bbd8ebdbe09e74381
September 2, 2026 16:06https://github.com/phpstan/phpstan-src/pull/6332#event-30428521931
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 2, 2026https://github.com/phpstan/phpstan-src/pull/6332#issuecomment-5513470125
@zonuexehttps://github.com/zonuexe
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6332
https://github.com/ondrejmirtes
ondrejmirteshttps://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
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/8c597557c4f136ef193a730087e86f0d2eaeacc4..91d1ea855deaa8741ce93b850f50eef9c04e57d9
8c59755https://github.com/phpstan/phpstan-src/commit/8c597557c4f136ef193a730087e86f0d2eaeacc4
91d1ea8https://github.com/phpstan/phpstan-src/commit/91d1ea855deaa8741ce93b850f50eef9c04e57d9
Compare https://github.com/phpstan/phpstan-src/compare/8c597557c4f136ef193a730087e86f0d2eaeacc4..91d1ea855deaa8741ce93b850f50eef9c04e57d9
September 6, 2026 06:46https://github.com/phpstan/phpstan-src/pull/6332#event-30632854421
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Sep 6, 2026https://github.com/phpstan/phpstan-src/pull/6332#event-30634114020
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/df3e4b80f54981d919e0297dc53ebfe0e8b407cd..0a7cddc3cd6715d265695bf7be89428fe7e052de
df3e4b8https://github.com/phpstan/phpstan-src/commit/df3e4b80f54981d919e0297dc53ebfe0e8b407cd
0a7cddchttps://github.com/phpstan/phpstan-src/commit/0a7cddc3cd6715d265695bf7be89428fe7e052de
Compare https://github.com/phpstan/phpstan-src/compare/df3e4b80f54981d919e0297dc53ebfe0e8b407cd..0a7cddc3cd6715d265695bf7be89428fe7e052de
September 7, 2026 15:14https://github.com/phpstan/phpstan-src/pull/6332#event-30700569097
ondrejmirteshttps://github.com/ondrejmirtes
September 7, 2026 17:14https://github.com/phpstan/phpstan-src/pull/6332#commits-pushed-d81067d
https://github.com/ondrejmirtes
https://github.com/claude
Bidirectional type narrowing initial implementationhttps://github.com/phpstan/phpstan-src/pull/6332/commits/d81067dbdeaaafd0e268dddad3db2492268d3722
d81067dhttps://github.com/phpstan/phpstan-src/pull/6332/commits/d81067dbdeaaafd0e268dddad3db2492268d3722
https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39
https://github.com/ondrejmirtes
https://github.com/claude
Add regression tests for issues fixed by unresolved template argumentshttps://github.com/phpstan/phpstan-src/pull/6332/commits/2edf14d355ad72a45657d7f140ed36ddd8d4906f
2edf14dhttps://github.com/phpstan/phpstan-src/pull/6332/commits/2edf14d355ad72a45657d7f140ed36ddd8d4906f
phpstan/phpstan#12704https://github.com/phpstan/phpstan/issues/12704
phpstan/phpstan#12576https://github.com/phpstan/phpstan/issues/12576
phpstan/phpstan#10419https://github.com/phpstan/phpstan/issues/10419
phpstan/phpstan#14647https://github.com/phpstan/phpstan/issues/14647
phpstan/phpstan#13431https://github.com/phpstan/phpstan/issues/13431
phpstan/phpstan#12601https://github.com/phpstan/phpstan/issues/12601
phpstan/phpstan#12490https://github.com/phpstan/phpstan/issues/12490
phpstan/phpstan#12420https://github.com/phpstan/phpstan/issues/12420
phpstan/phpstan#11835https://github.com/phpstan/phpstan/issues/11835
phpstan/phpstan#11435https://github.com/phpstan/phpstan/issues/11435
phpstan/phpstan#10290https://github.com/phpstan/phpstan/issues/10290
phpstan/phpstan#10289https://github.com/phpstan/phpstan/issues/10289
phpstan/phpstan#5741https://github.com/phpstan/phpstan/issues/5741
https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39
https://github.com/ondrejmirtes
https://github.com/claude
Add regression test for #8031https://github.com/phpstan/phpstan-src/pull/6332/commits/168c594a866c70a443456e86c8d36c3bb593f5b4
168c594https://github.com/phpstan/phpstan-src/pull/6332/commits/168c594a866c70a443456e86c8d36c3bb593f5b4
phpstan/phpstan#8031https://github.com/phpstan/phpstan/issues/8031
https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39
https://github.com/ondrejmirtes
https://github.com/claude
Pin bug-15169-calls to the unresolved template argument semanticshttps://github.com/phpstan/phpstan-src/pull/6332/commits/20c3947c8611baa238e3d5cf53a2422aea7b059b
20c3947https://github.com/phpstan/phpstan-src/pull/6332/commits/20c3947c8611baa238e3d5cf53a2422aea7b059b
https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39https://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
8fd2168https://github.com/phpstan/phpstan-src/pull/6332/commits/8fd2168ea560a14f86d99e450de69e67a2228f38
https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39https://claude.ai/code/session_01GNLiox4nj8c7YstGfsuZ39
https://github.com/ondrejmirtes
Avoid retaining call ASTs in template argument cacheshttps://github.com/phpstan/phpstan-src/pull/6332/commits/5fad23a62cd600af82f13ae7d9a19ff511cf59cf
5fad23ahttps://github.com/phpstan/phpstan-src/pull/6332/commits/5fad23a62cd600af82f13ae7d9a19ff511cf59cf
https://github.com/ondrejmirtes
Preserve inference constraints from arrow function argumentshttps://github.com/phpstan/phpstan-src/pull/6332/commits/3b1a68801274d2495235503975d41790a6c13c40
3b1a688https://github.com/phpstan/phpstan-src/pull/6332/commits/3b1a68801274d2495235503975d41790a6c13c40
https://github.com/ondrejmirtes
Preserve inference constraints from terminating expression brancheshttps://github.com/phpstan/phpstan-src/pull/6332/commits/a87e6be070515566f596ee8db9fc95f58f8af0c2
a87e6behttps://github.com/phpstan/phpstan-src/pull/6332/commits/a87e6be070515566f596ee8db9fc95f58f8af0c2
https://github.com/ondrejmirtes
Preserve inference constraints when foreach scope does not escapehttps://github.com/phpstan/phpstan-src/pull/6332/commits/1f5f1e0bbd977067d31c4f0f43e35a22cd086a19
1f5f1e0https://github.com/phpstan/phpstan-src/pull/6332/commits/1f5f1e0bbd977067d31c4f0f43e35a22cd086a19
https://github.com/ondrejmirtes
Preserve inference constraints from unreachable for loop bodieshttps://github.com/phpstan/phpstan-src/pull/6332/commits/fba526372e4f56a7e06b1ff6d6f6a96b8fca0e0d
fba5263https://github.com/phpstan/phpstan-src/pull/6332/commits/fba526372e4f56a7e06b1ff6d6f6a96b8fca0e0d
https://github.com/ondrejmirtes
Resolve dependent template bounds and defaults completelyhttps://github.com/phpstan/phpstan-src/pull/6332/commits/c359956e7dffbe473f3d958ac4b08a953d578a1f
c359956https://github.com/phpstan/phpstan-src/pull/6332/commits/c359956e7dffbe473f3d958ac4b08a953d578a1f
https://github.com/ondrejmirtes
Preserve unresolved template identity in finite type comparisonshttps://github.com/phpstan/phpstan-src/pull/6332/commits/dfd955ced88ccb6f73dc672237d64468c788ff27
dfd955chttps://github.com/phpstan/phpstan-src/pull/6332/commits/dfd955ced88ccb6f73dc672237d64468c788ff27
https://github.com/ondrejmirtes
Keep PHPDoc template inference out of native construction typeshttps://github.com/phpstan/phpstan-src/pull/6332/commits/6fd7b530c0241b69b2121a9373441aa72e63c34b
6fd7b53https://github.com/phpstan/phpstan-src/pull/6332/commits/6fd7b530c0241b69b2121a9373441aa72e63c34b
https://github.com/ondrejmirtes
Ignore diagnostic call markers when deciding statement replayhttps://github.com/phpstan/phpstan-src/pull/6332/commits/90fb324a510dacd80785721bae91d07f2f9080fb
90fb324https://github.com/phpstan/phpstan-src/pull/6332/commits/90fb324a510dacd80785721bae91d07f2f9080fb
https://github.com/ondrejmirtes
Reuse analysed bodies for array_map and immediately invoked closureshttps://github.com/phpstan/phpstan-src/pull/6332/commits/890671149a038c52feb93233c75c93012b0793e5
8906711https://github.com/phpstan/phpstan-src/pull/6332/commits/890671149a038c52feb93233c75c93012b0793e5
https://github.com/ondrejmirtes
Carry template resolution policy in immutable analysis contextshttps://github.com/phpstan/phpstan-src/pull/6332/commits/95ed4fe15d448989f009104f6c485ee7ec825d12
95ed4fehttps://github.com/phpstan/phpstan-src/pull/6332/commits/95ed4fe15d448989f009104f6c485ee7ec825d12
ondrejmirteshttps://github.com/ondrejmirtes
September 7, 2026 17:15https://github.com/phpstan/phpstan-src/pull/6332#commits-pushed-186e52f
https://github.com/ondrejmirtes
Keep template argument inference compatible with PHP 7.4https://github.com/phpstan/phpstan-src/pull/6332/commits/186e52fdbdf216b08f989e9a12d7afc286ce5a1b
186e52fhttps://github.com/phpstan/phpstan-src/pull/6332/commits/186e52fdbdf216b08f989e9a12d7afc286ce5a1b
https://github.com/ondrejmirtes
Respect template bounds when inferring from later argumentshttps://github.com/phpstan/phpstan-src/pull/6332/commits/d59d8c461411095000c17df8695853449092fc5b
d59d8c4https://github.com/phpstan/phpstan-src/pull/6332/commits/d59d8c461411095000c17df8695853449092fc5b
https://github.com/ondrejmirtes
Use template bounds for unconstrained generic call argumentshttps://github.com/phpstan/phpstan-src/pull/6332/commits/8da57e4c40df2ff86254ee167ab37e6539cd7cee
8da57e4https://github.com/phpstan/phpstan-src/pull/6332/commits/8da57e4c40df2ff86254ee167ab37e6539cd7cee
https://github.com/ondrejmirtes
Preserve template defaults when generic calls add no constraintshttps://github.com/phpstan/phpstan-src/pull/6332/commits/2c6d58221224cdcf299c559d1e71d7a416fa2a1d
2c6d582https://github.com/phpstan/phpstan-src/pull/6332/commits/2c6d58221224cdcf299c559d1e71d7a416fa2a1d
https://github.com/ondrejmirtes
Use generic parameter defaults to constrain empty nested collectionshttps://github.com/phpstan/phpstan-src/pull/6332/commits/952645bbb33a134a827a4b9d1982cbf13a61f629
952645bhttps://github.com/phpstan/phpstan-src/pull/6332/commits/952645bbb33a134a827a4b9d1982cbf13a61f629
https://github.com/ondrejmirtes
Use template bounds for objects passed to impure mixed parametershttps://github.com/phpstan/phpstan-src/pull/6332/commits/194bd0e22ed61c8c4bc61553a48c6140ade867f4
194bd0ehttps://github.com/phpstan/phpstan-src/pull/6332/commits/194bd0e22ed61c8c4bc61553a48c6140ade867f4
https://github.com/ondrejmirtes
Preserve unknown ArrayObject values when constructed from an objecthttps://github.com/phpstan/phpstan-src/pull/6332/commits/5e5139b113b9f243c8134cd8fa5efd255c8477e5
5e5139bhttps://github.com/phpstan/phpstan-src/pull/6332/commits/5e5139b113b9f243c8134cd8fa5efd255c8477e5
https://github.com/ondrejmirtes
Preserve inferred arguments when return types omit generic argumentshttps://github.com/phpstan/phpstan-src/pull/6332/commits/87a4b796831ed0ffd85e5848bcbe43eaa01af12b
87a4b79https://github.com/phpstan/phpstan-src/pull/6332/commits/87a4b796831ed0ffd85e5848bcbe43eaa01af12b
https://github.com/ondrejmirtes
Use a complete PHP version requirement in Bug14396Testhttps://github.com/phpstan/phpstan-src/pull/6332/commits/24164110cefab401e35dfcdd6ee2648b071599de
2416411https://github.com/phpstan/phpstan-src/pull/6332/commits/24164110cefab401e35dfcdd6ee2648b071599de
https://github.com/ondrejmirtes
Update levels expectations for inferred SplObjectStorage valueshttps://github.com/phpstan/phpstan-src/pull/6332/commits/b379e3d434687e0ae9d652fcfc7beeb7a7e6addb
b379e3dhttps://github.com/phpstan/phpstan-src/pull/6332/commits/b379e3d434687e0ae9d652fcfc7beeb7a7e6addb
https://github.com/ondrejmirtes
Preserve bounds for unconstrained template argumentshttps://github.com/phpstan/phpstan-src/pull/6332/commits/a82b7e9e0b12b4923e8bafaf500959aafb009b1b
a82b7e9https://github.com/phpstan/phpstan-src/pull/6332/commits/a82b7e9e0b12b4923e8bafaf500959aafb009b1b
https://github.com/ondrejmirtes
Solve linked invariant template arguments togetherhttps://github.com/phpstan/phpstan-src/pull/6332/commits/66ec5e6699558b38eba7555b9da68a3a4c10c532
66ec5e6https://github.com/phpstan/phpstan-src/pull/6332/commits/66ec5e6699558b38eba7555b9da68a3a4c10c532
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/0a7cddc3cd6715d265695bf7be89428fe7e052de..66ec5e6699558b38eba7555b9da68a3a4c10c532
0a7cddchttps://github.com/phpstan/phpstan-src/commit/0a7cddc3cd6715d265695bf7be89428fe7e052de
66ec5e6https://github.com/phpstan/phpstan-src/commit/66ec5e6699558b38eba7555b9da68a3a4c10c532
Compare https://github.com/phpstan/phpstan-src/compare/0a7cddc3cd6715d265695bf7be89428fe7e052de..66ec5e6699558b38eba7555b9da68a3a4c10c532
September 7, 2026 15:15https://github.com/phpstan/phpstan-src/pull/6332#event-30700585850
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
3b094dfhttps://github.com/phpstan/phpstan-src/commit/3b094df6e0633a644b635b99cb052a08883fee9e
Sep 7, 2026https://github.com/phpstan/phpstan-src/pull/6332#event-30700612682
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6332
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
September 7, 2026 15:15https://github.com/phpstan/phpstan-src/pull/6332#event-30700614172
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 8, 2026https://github.com/phpstan/phpstan-src/pull/6332#issuecomment-5580968036
Please reload this pagehttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6332
Please reload this pagehttps://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 pagehttps://github.com/phpstan/phpstan-src/pull/6332
https://github.com/ondrejmirtes
https://github.com/staabm
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.