René's URL Explorer Experiment


Title: Single-pass expression analysis groundwork - answer type questions from ExpressionResults by ondrejmirtes · Pull Request #5857 · phpstan/phpstan-src · GitHub

Open Graph Title: Single-pass expression analysis groundwork - answer type questions from ExpressionResults by ondrejmirtes · Pull Request #5857 · phpstan/phpstan-src

X Title: Single-pass expression analysis groundwork - answer type questions from ExpressionResults by ondrejmirtes · Pull Request #5857 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Single-pass expression analysis groundwork - answer type questions from ExpressionResults by ondrejmirtes · Pull Request #5857 · phpstan/phpstan-src

Open Graph Description: Groundwork for the "new world" where an expression is traversed once: after processExpr, its ExpressionResult knows the before/after scopes, the type (typeCallback) and the narrowing (spe...

X Description: Groundwork for the "new world" where an expression is traversed once: after processExpr, its ExpressionResult knows the before/after scopes, the type (typeCallback) and the narrow...

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

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:26302f2f-9b1b-73f9-e1b2-511f0157caf3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id989A:296654:82652D:B0B94B:6B00E108
html-safe-nonce3ed1faa7b307775f1b34e04457803ee272573fa65e7dcbf0c8ade41ce91634fc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODlBOjI5NjY1NDo4MjY1MkQ6QjBCOTRCOjZCMDBFMTA4IiwidmlzaXRvcl9pZCI6IjI1OTAwMDY2ODc3NjM1ODE1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac528efa0fadfb9e9449427a6cefd062085515a03f47d642f0611b4f2c0352a4a6
hovercard-subject-tagpull_request:3856225748
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/5857/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2388393ba4cddb49c9ed58a9649029d485b73f073c89202f1c25b22fa585f4e4/phpstan/phpstan-src/pull/5857
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2388393ba4cddb49c9ed58a9649029d485b73f073c89202f1c25b22fa585f4e4/phpstan/phpstan-src/pull/5857
og:image:altGroundwork for the "new world" where an expression is traversed once: after processExpr, its ExpressionResult knows the before/after scopes, the type (typeCallback) and the narrowing (spe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameondrejmirtes
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
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
release5425dc24e8bd8d6fca9641a12afc984825a43875
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/5857#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5857
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%2F5857
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/5857
Reloadhttps://github.com/phpstan/phpstan-src/pull/5857
Reloadhttps://github.com/phpstan/phpstan-src/pull/5857
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
resolve-type-rewrite-2https://github.com/phpstan/phpstan-src/tree/resolve-type-rewrite-2
Conversationhttps://github.com/phpstan/phpstan-src/pull/5857
Commits90 (90)https://github.com/phpstan/phpstan-src/pull/5857/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/5857/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/5857/files
Single-pass expression analysis groundwork - answer type questions from ExpressionResultshttps://github.com/phpstan/phpstan-src/pull/5857#top
ondrejmirteshttps://github.com/ondrejmirtes
2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
resolve-type-rewrite-2https://github.com/phpstan/phpstan-src/tree/resolve-type-rewrite-2
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Jun 12, 2026https://github.com/phpstan/phpstan-src/pull/5857#issue-4651066303
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5857
phpstan/phpstan#13944https://github.com/phpstan/phpstan/issues/13944
phpstan/phpstan#12207https://github.com/phpstan/phpstan/issues/12207
phpstan/phpstan#7155https://github.com/phpstan/phpstan/issues/7155
phpstan/phpstan#14396https://github.com/phpstan/phpstan/issues/14396
phpstan/phpstan#11953https://github.com/phpstan/phpstan/issues/11953
phpstan/phpstan#12780https://github.com/phpstan/phpstan/issues/12780
Claude Codehttps://claude.com/claude-code
phpstan/phpstan#14999https://github.com/phpstan/phpstan/issues/14999
phpstan/phpstan#13334https://github.com/phpstan/phpstan/issues/13334
phpstan/phpstan#15004https://github.com/phpstan/phpstan/issues/15004
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5857
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Jun 12, 2026 https://github.com/phpstan/phpstan-src/pull/5857#ref-pullrequest-4629508975
New world: single-pass expression processing through ExpressionResult callbacks #5838 https://github.com/phpstan/phpstan-src/pull/5838
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/ebb19a0a28f6b10f0c6eb167849c26b00605e328..457689b575a5f94dfe9d8ef7e6beb6c98b3acea1
ebb19a0https://github.com/phpstan/phpstan-src/commit/ebb19a0a28f6b10f0c6eb167849c26b00605e328
457689bhttps://github.com/phpstan/phpstan-src/commit/457689b575a5f94dfe9d8ef7e6beb6c98b3acea1
Compare https://github.com/phpstan/phpstan-src/compare/ebb19a0a28f6b10f0c6eb167849c26b00605e328..457689b575a5f94dfe9d8ef7e6beb6c98b3acea1
June 12, 2026 17:15https://github.com/phpstan/phpstan-src/pull/5857#event-26686552882
https://github.com/staabm
staabmhttps://github.com/staabm
Jun 12, 2026 https://github.com/phpstan/phpstan-src/pull/5857#pullrequestreview-4488053471
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5857/files
src/Analyser/DirectInternalScopeFactory.phphttps://github.com/phpstan/phpstan-src/pull/5857/files#diff-e27fbdf718403efcadc1102661277350983004e9285fc56ac946d359c8d0e64a
staabmhttps://github.com/staabm
Jun 12, 2026https://github.com/phpstan/phpstan-src/pull/5857#discussion_r3405316832
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5857
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/eb310774fbe795f5029bca61258916f1f0512f51..59cbf228e0399492b2351365c04e7185dc150f4b
eb31077https://github.com/phpstan/phpstan-src/commit/eb310774fbe795f5029bca61258916f1f0512f51
59cbf22https://github.com/phpstan/phpstan-src/commit/59cbf228e0399492b2351365c04e7185dc150f4b
Compare https://github.com/phpstan/phpstan-src/compare/eb310774fbe795f5029bca61258916f1f0512f51..59cbf228e0399492b2351365c04e7185dc150f4b
June 19, 2026 11:44https://github.com/phpstan/phpstan-src/pull/5857#event-26955555544
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/59cbf228e0399492b2351365c04e7185dc150f4b..125cf220928285763d2f445d7064ce6e20d916e6
59cbf22https://github.com/phpstan/phpstan-src/commit/59cbf228e0399492b2351365c04e7185dc150f4b
125cf22https://github.com/phpstan/phpstan-src/commit/125cf220928285763d2f445d7064ce6e20d916e6
Compare https://github.com/phpstan/phpstan-src/compare/59cbf228e0399492b2351365c04e7185dc150f4b..125cf220928285763d2f445d7064ce6e20d916e6
June 20, 2026 11:56https://github.com/phpstan/phpstan-src/pull/5857#event-26987287616
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Jun 25, 2026 https://github.com/phpstan/phpstan-src/pull/5857#ref-issue-4743167581
Performance: super-linear analysis time when a variable is assigned across many === narrowing branches phpstan/phpstan#14869 https://github.com/phpstan/phpstan/issues/14869
https://github.com/SanderMuller
SanderMullerhttps://github.com/SanderMuller
Jun 25, 2026 https://github.com/phpstan/phpstan-src/pull/5857#ref-pullrequest-4744275302
Constant-scalar and enum-case union fast path in TypeCombinator::intersect #5935 https://github.com/phpstan/phpstan-src/pull/5935
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/f98892fb619e2543e2473a5802fb93778492dd7c..4455baa32a3984feb263503281398517740380eb
f98892fhttps://github.com/phpstan/phpstan-src/commit/f98892fb619e2543e2473a5802fb93778492dd7c
4455baahttps://github.com/phpstan/phpstan-src/commit/4455baa32a3984feb263503281398517740380eb
Compare https://github.com/phpstan/phpstan-src/compare/f98892fb619e2543e2473a5802fb93778492dd7c..4455baa32a3984feb263503281398517740380eb
July 6, 2026 22:20https://github.com/phpstan/phpstan-src/pull/5857#event-27634259804
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/61fe06e054b20dd7bf9d4427d501dda3f532c24f..e38aaddf08b9fd62c1c1835f7da9969ffefd0875
61fe06ehttps://github.com/phpstan/phpstan-src/commit/61fe06e054b20dd7bf9d4427d501dda3f532c24f
e38aaddhttps://github.com/phpstan/phpstan-src/commit/e38aaddf08b9fd62c1c1835f7da9969ffefd0875
Compare https://github.com/phpstan/phpstan-src/compare/61fe06e054b20dd7bf9d4427d501dda3f532c24f..e38aaddf08b9fd62c1c1835f7da9969ffefd0875
July 16, 2026 14:56https://github.com/phpstan/phpstan-src/pull/5857#event-28076410842
Jul 16, 2026 https://github.com/phpstan/phpstan-src/pull/5857#ref-issue-4906431656
False positive notIdentical.alwaysFalse: A !== null && in_array($A, $arr) wrongly narrows $A to null in the else branch (regression in 2.2.3, related to #14908) phpstan/phpstan#14966 https://github.com/phpstan/phpstan/issues/14966
ondrejmirteshttps://github.com/ondrejmirtes
Jul 23, 2026 https://github.com/phpstan/phpstan-src/pull/5857#ref-commit-cdc6ca2
https://github.com/ondrejmirtes
https://github.com/claude
Add bench for the expression chain walk speedup fromhttps://github.com/phpstan/phpstan-src/commit/cdc6ca267a2de883adc54393e277e905560b0a6b
#6084https://github.com/phpstan/phpstan-src/pull/6084
https://github.com/phpstan/phpstan-src/commit/cdc6ca267a2de883adc54393e277e905560b0a6b#comments
cdc6ca2https://github.com/phpstan/phpstan-src/commit/cdc6ca267a2de883adc54393e277e905560b0a6b
https://claude.ai/code/session_016szvNF5RXhACdfMQNc6DVLhttps://claude.ai/code/session_016szvNF5RXhACdfMQNc6DVL
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/6f5a635c98e4881475ad66af25256ef686d70a2f..8a281e2928b3b6005ddc2cff0cbb36d9fecf2ffc
6f5a635https://github.com/phpstan/phpstan-src/commit/6f5a635c98e4881475ad66af25256ef686d70a2f
8a281e2https://github.com/phpstan/phpstan-src/commit/8a281e2928b3b6005ddc2cff0cbb36d9fecf2ffc
Compare https://github.com/phpstan/phpstan-src/compare/6f5a635c98e4881475ad66af25256ef686d70a2f..8a281e2928b3b6005ddc2cff0cbb36d9fecf2ffc
July 28, 2026 11:27https://github.com/phpstan/phpstan-src/pull/5857#event-28594650352
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/fb22d34fff77d55195fba63c54486167db049ebb..84b1614bcd33c92d7e5c5432c86532cda211f94e
fb22d34https://github.com/phpstan/phpstan-src/commit/fb22d34fff77d55195fba63c54486167db049ebb
84b1614https://github.com/phpstan/phpstan-src/commit/84b1614bcd33c92d7e5c5432c86532cda211f94e
Compare https://github.com/phpstan/phpstan-src/compare/fb22d34fff77d55195fba63c54486167db049ebb..84b1614bcd33c92d7e5c5432c86532cda211f94e
July 28, 2026 17:31https://github.com/phpstan/phpstan-src/pull/5857#event-28613982036
ondrejmirteshttps://github.com/ondrejmirtes
September 2, 2026 15:14https://github.com/phpstan/phpstan-src/pull/5857#commits-pushed-0c891f8
https://github.com/ondrejmirtes
Read a conditional-holder condition through its own ExpressionResulthttps://github.com/phpstan/phpstan-src/pull/5857/commits/0c891f85ca19f7da4a4400197f2caa0fb8d285a0
0c891f8https://github.com/phpstan/phpstan-src/pull/5857/commits/0c891f85ca19f7da4a4400197f2caa0fb8d285a0
https://github.com/ondrejmirtes
Keep void out of the value type of everything but a resolved callhttps://github.com/phpstan/phpstan-src/pull/5857/commits/7a5b10c20cc51cf3caf69a2d31ecf80471e44a48
7a5b10chttps://github.com/phpstan/phpstan-src/pull/5857/commits/7a5b10c20cc51cf3caf69a2d31ecf80471e44a48
https://github.com/ondrejmirtes
Resolve late-resolvable types when reading a tracked holderhttps://github.com/phpstan/phpstan-src/pull/5857/commits/993e33c793a62fbcca290a72f9abef149de04919
993e33chttps://github.com/phpstan/phpstan-src/pull/5857/commits/993e33c793a62fbcca290a72f9abef149de04919
https://github.com/ondrejmirtes
Pass the storage argument positionallyhttps://github.com/phpstan/phpstan-src/pull/5857/commits/24570695f4d4c271f9888e6485ca7d80069a57af
2457069https://github.com/phpstan/phpstan-src/pull/5857/commits/24570695f4d4c271f9888e6485ca7d80069a57af
https://github.com/ondrejmirtes
Read a variable-variable from the tracked expressionshttps://github.com/phpstan/phpstan-src/pull/5857/commits/c2613af3c9d5f02c40fdbadfb8a84effb179b683
c2613afhttps://github.com/phpstan/phpstan-src/pull/5857/commits/c2613af3c9d5f02c40fdbadfb8a84effb179b683
https://github.com/ondrejmirtes
Keep the tracked type when there is no void to keephttps://github.com/phpstan/phpstan-src/pull/5857/commits/507c4e5f4101539481360bf6f4f0adde78c5070a
507c4e5https://github.com/phpstan/phpstan-src/pull/5857/commits/507c4e5f4101539481360bf6f4f0adde78c5070a
https://github.com/ondrejmirtes
Build a match arm's filtering haystack from the conditions' typeshttps://github.com/phpstan/phpstan-src/pull/5857/commits/fbea5f1a8067f436ab326598125a39af4ef9661e
fbea5f1https://github.com/phpstan/phpstan-src/pull/5857/commits/fbea5f1a8067f436ab326598125a39af4ef9661e
https://github.com/ondrejmirtes
Walk a closure argument of a nullsafe call's plain twinhttps://github.com/phpstan/phpstan-src/pull/5857/commits/1757969341446a7d752cbff20278d80aab2cfadd
1757969https://github.com/phpstan/phpstan-src/pull/5857/commits/1757969341446a7d752cbff20278d80aab2cfadd
https://github.com/ondrejmirtes
Key the fully plain twin of a truthy nullsafe chainhttps://github.com/phpstan/phpstan-src/pull/5857/commits/889d5194ad7b2dba01d66bf4149f69644b535728
889d519https://github.com/phpstan/phpstan-src/pull/5857/commits/889d5194ad7b2dba01d66bf4149f69644b535728
https://github.com/ondrejmirtes
Do not remember an impure call's value through its assertshttps://github.com/phpstan/phpstan-src/pull/5857/commits/3b57b6ba40b0e2ff351139a28f7b2208a47adecd
3b57b6bhttps://github.com/phpstan/phpstan-src/pull/5857/commits/3b57b6ba40b0e2ff351139a28f7b2208a47adecd
https://github.com/ondrejmirtes
Price a for loop's exit condition on the generalized scopehttps://github.com/phpstan/phpstan-src/pull/5857/commits/3643661a0f9c83672797a5b234b2ae2f2dc04f0c
3643661https://github.com/phpstan/phpstan-src/pull/5857/commits/3643661a0f9c83672797a5b234b2ae2f2dc04f0c
https://github.com/ondrejmirtes
Read count()'s mode argument from its stored result onlyhttps://github.com/phpstan/phpstan-src/pull/5857/commits/92ae4817795b9af1558a5f795e55ce6dd33264a9
92ae481https://github.com/phpstan/phpstan-src/pull/5857/commits/92ae4817795b9af1558a5f795e55ce6dd33264a9
https://github.com/ondrejmirtes
Answer a nullsafe chain link's state without walking ithttps://github.com/phpstan/phpstan-src/pull/5857/commits/767d6f06d5a09c50a8fba2611ad33f4fc95fd69c
767d6f0https://github.com/phpstan/phpstan-src/pull/5857/commits/767d6f06d5a09c50a8fba2611ad33f4fc95fd69c
https://github.com/ondrejmirtes
Answer rule-side asks from results instead of the unwalked scopehttps://github.com/phpstan/phpstan-src/pull/5857/commits/9e48cad2341f515a89a37a23db6d22bae26a0508
9e48cadhttps://github.com/phpstan/phpstan-src/pull/5857/commits/9e48cad2341f515a89a37a23db6d22bae26a0508
4bf2a51https://github.com/phpstan/phpstan-src/commit/4bf2a51859716e3479c46b897762728820a858b9
9921952https://github.com/phpstan/phpstan-src/commit/9921952783285682a6891c69a39beb10bed71b66
49d7f80https://github.com/phpstan/phpstan-src/commit/49d7f804f6dc5c0203e4df0fd3628cb42b1ab567
https://github.com/ondrejmirtes
https://github.com/claude
Exempt variable reads and literals from the new-world guardhttps://github.com/phpstan/phpstan-src/pull/5857/commits/242161b525e2a09158acb370f3b2ddc990522dd3
242161bhttps://github.com/phpstan/phpstan-src/pull/5857/commits/242161b525e2a09158acb370f3b2ddc990522dd3
https://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJEhttps://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJE
https://github.com/ondrejmirtes
https://github.com/claude
Price literal arguments from scope state in findScopeStateTypehttps://github.com/phpstan/phpstan-src/pull/5857/commits/3c2f3af83a23fb8eb7ce7010187021e8fc0559fe
3c2f3afhttps://github.com/phpstan/phpstan-src/pull/5857/commits/3c2f3af83a23fb8eb7ce7010187021e8fc0559fe
https://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJEhttps://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJE
https://github.com/ondrejmirtes
https://github.com/claude
Fire the list item callback after its key is processedhttps://github.com/phpstan/phpstan-src/pull/5857/commits/f061789f29d986ef717192a77884ffef324630f6
f061789https://github.com/phpstan/phpstan-src/pull/5857/commits/f061789f29d986ef717192a77884ffef324630f6
https://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJEhttps://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJE
https://github.com/ondrejmirtes
https://github.com/claude
Pin the node in object-id keyed per-file cacheshttps://github.com/phpstan/phpstan-src/pull/5857/commits/040f65efdf8351df9fac5423cba4163b9dd19322
040f65ehttps://github.com/phpstan/phpstan-src/pull/5857/commits/040f65efdf8351df9fac5423cba4163b9dd19322
#23https://github.com/phpstan/phpstan-src/pull/23
https://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJEhttps://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJE
https://github.com/ondrejmirtes
https://github.com/claude
Device non-nullability of unpriceable chain links at the walk's compl…https://github.com/phpstan/phpstan-src/pull/5857/commits/be01378911d4d531b82328e610b848cf3dca691e
be01378https://github.com/phpstan/phpstan-src/pull/5857/commits/be01378911d4d531b82328e610b848cf3dca691e
https://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJEhttps://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJE
https://github.com/ondrejmirtes
https://github.com/claude
Walk an immediately invoked closure's arguments before the calleehttps://github.com/phpstan/phpstan-src/pull/5857/commits/a6b862ee6a4f5f293656ed6198e276546c39f3fc
a6b862ehttps://github.com/phpstan/phpstan-src/pull/5857/commits/a6b862ee6a4f5f293656ed6198e276546c39f3fc
https://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJEhttps://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJE
https://github.com/ondrejmirtes
https://github.com/claude
Carry the assigned call's declared return type for by-ref closure useshttps://github.com/phpstan/phpstan-src/pull/5857/commits/3ac002b2f06035f93d86e613f079f3294a912015
3ac002bhttps://github.com/phpstan/phpstan-src/pull/5857/commits/3ac002b2f06035f93d86e613f079f3294a912015
https://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJEhttps://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJE
https://github.com/ondrejmirtes
https://github.com/claude
Answer a walked argument-less call from its stored result in the stat…https://github.com/phpstan/phpstan-src/pull/5857/commits/0dfcae60a7b15151b38fefd64a54102c5c695d46
0dfcae6https://github.com/phpstan/phpstan-src/pull/5857/commits/0dfcae60a7b15151b38fefd64a54102c5c695d46
https://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJEhttps://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJE
https://github.com/ondrejmirtes
https://github.com/claude
Cache read-variable names on the AST nodehttps://github.com/phpstan/phpstan-src/pull/5857/commits/1349fbf8e953753df9c6b044aae876a14cf64c7b
1349fbfhttps://github.com/phpstan/phpstan-src/pull/5857/commits/1349fbf8e953753df9c6b044aae876a14cf64c7b
a27ece6https://github.com/phpstan/phpstan-src/commit/a27ece6c5a4fc608c4502bf20a8f36725d3b5b23
https://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJEhttps://claude.ai/code/session_01R7pqAkCx4xP6WYxBo2nMJE
https://github.com/ondrejmirtes
Bump expected turbo versionhttps://github.com/phpstan/phpstan-src/pull/5857/commits/00f2b74a6aa033d11ccd175b80144be5fd1505d6
00f2b74https://github.com/phpstan/phpstan-src/pull/5857/commits/00f2b74a6aa033d11ccd175b80144be5fd1505d6
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/5857#event-30417316325
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
a4793f7https://github.com/phpstan/phpstan-src/commit/a4793f730dbce70efa0d3fb04c9906326852ad2f
Sep 2, 2026https://github.com/phpstan/phpstan-src/pull/5857#event-30417735579
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5857
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
September 2, 2026 13:21https://github.com/phpstan/phpstan-src/pull/5857#event-30417739266
https://github.com/canvural
canvuralhttps://github.com/canvural
Sep 5, 2026https://github.com/phpstan/phpstan-src/pull/5857#issuecomment-5554824538
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5857
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Sep 11, 2026 https://github.com/phpstan/phpstan-src/pull/5857#ref-pullrequest-5423818334
Infer parameters of closures in array arguments #6417 https://github.com/phpstan/phpstan-src/pull/6417
https://github.com/lou-perret
lou-perrethttps://github.com/lou-perret
Nov 13, 2026 https://github.com/phpstan/phpstan-src/pull/5857#ref-issue-6372963705
Narrowing regressions since 2.3.0: isset/?? narrowing leaks out of the expression, inverted correlation after while phpstan/phpstan#15722 https://github.com/phpstan/phpstan/issues/15722
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%2F5857
https://github.com/staabm
staabm https://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/5857/files/428d58ea1451cb073e37c6963ffda7856ae02a29
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5857
Wrong inferred type after variable assignment in ternary if statements https://github.com/phpstan/phpstan/issues/13334
Offset 'test' on array{} on left side of ??= does not exist. after upgrade to 2.1.10 https://github.com/phpstan/phpstan/issues/12780
Wrong detection of the parameter data type as mixed https://github.com/phpstan/phpstan/issues/12207
Support returned value from Closure::bind callback https://github.com/phpstan/phpstan/issues/11953
Incorrect type inferred from array destructuring https://github.com/phpstan/phpstan/issues/7155
Inconsistent behavior for variables defined in arrays vs before https://github.com/phpstan/phpstan/issues/13944
UnhandledMatchError since 2.1.41 https://github.com/phpstan/phpstan/issues/14396
Cannot access .. on mixed on array https://github.com/phpstan/phpstan/issues/14999
Performance: super-linear analysis on literal-union !== narrowing chains https://github.com/phpstan/phpstan/issues/15004
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5857
https://github.com/ondrejmirtes
https://github.com/canvural
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.