René's URL Explorer Experiment


Title: Invalidate static expressions when a non-static expression is called by takaram · Pull Request #4434 · phpstan/phpstan-src · GitHub

Open Graph Title: Invalidate static expressions when a non-static expression is called by takaram · Pull Request #4434 · phpstan/phpstan-src

X Title: Invalidate static expressions when a non-static expression is called by takaram · Pull Request #4434 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Invalidate static expressions when a non-static expression is called by takaram · Pull Request #4434 · phpstan/phpstan-src

Open Graph Description: Closes phpstan/phpstan#13416

X Description: Closes phpstan/phpstan#13416

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

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:4e0826fe-80cb-c3c9-4a9e-ad67335d02c6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8DD8:134361:270F26:34D090:6B00C16C
html-safe-nonced7825cd9e24ba5d438fb2fff60a8ec958ed86ef08fa6446b544283760143d565
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REQ4OjEzNDM2MToyNzBGMjY6MzREMDkwOjZCMDBDMTZDIiwidmlzaXRvcl9pZCI6IjE4ODk3MTA4MzY2NTQ1ODgyNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac058365c521f5ec1c3f2cc1662de27150f4965feba5aa63d1880a633be2b41634
hovercard-subject-tagpull_request:2908850936
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/4434/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d16c2a6cb1673279b0b7178514fcc8ef4b21eefba96cf6db4e0e5e140a5338c1/phpstan/phpstan-src/pull/4434
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d16c2a6cb1673279b0b7178514fcc8ef4b21eefba96cf6db4e0e5e140a5338c1/phpstan/phpstan-src/pull/4434
og:image:altCloses phpstan/phpstan#13416
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametakaram
hostnamegithub.com
expected-hostnamegithub.com
None93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415
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
release1fee81a280ea86312b69448e261b418189bfd5b5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/4434#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4434
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%2F4434
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/4434
Reloadhttps://github.com/phpstan/phpstan-src/pull/4434
Reloadhttps://github.com/phpstan/phpstan-src/pull/4434
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
takaramhttps://github.com/takaram
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
takaram:bug-13416https://github.com/takaram/phpstan-src/tree/bug-13416
Conversationhttps://github.com/phpstan/phpstan-src/pull/4434
Commits3 (3)https://github.com/phpstan/phpstan-src/pull/4434/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/4434/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/4434/files
Invalidate static expressions when a non-static expression is calledhttps://github.com/phpstan/phpstan-src/pull/4434#top
takaramhttps://github.com/takaram
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
takaram:bug-13416https://github.com/takaram/phpstan-src/tree/bug-13416
https://github.com/takaram
takaramhttps://github.com/takaram
Oct 13, 2025https://github.com/phpstan/phpstan-src/pull/4434#issue-3508504595
phpstan/phpstan#13416https://github.com/phpstan/phpstan/issues/13416
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Feb 5, 2026https://github.com/phpstan/phpstan-src/pull/4434#issuecomment-3854892402
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/takaram
takaramhttps://github.com/takaram
force-pushedhttps://github.com/phpstan/phpstan-src/compare/aaeff9204229968bae63e5ddcef8da045811c5fc..c4f128584424a071fc43eb7e484eca6c89337c87
aaeff92https://github.com/phpstan/phpstan-src/commit/aaeff9204229968bae63e5ddcef8da045811c5fc
c4f1285https://github.com/phpstan/phpstan-src/commit/c4f128584424a071fc43eb7e484eca6c89337c87
Compare https://github.com/phpstan/phpstan-src/compare/aaeff9204229968bae63e5ddcef8da045811c5fc..c4f128584424a071fc43eb7e484eca6c89337c87
February 5, 2026 17:28https://github.com/phpstan/phpstan-src/pull/4434#event-22565654105
https://github.com/takaram
takaramhttps://github.com/takaram
Feb 5, 2026https://github.com/phpstan/phpstan-src/pull/4434#issuecomment-3855099240
@ondrejmirteshttps://github.com/ondrejmirtes
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 7, 2026 https://github.com/phpstan/phpstan-src/pull/4434#pullrequestreview-3766813761
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4434/files
src/Analyser/NodeScopeResolver.phphttps://github.com/phpstan/phpstan-src/pull/4434/files#diff-0c3f50d118357d9cb6d6f4d0eade75b83797d57056ff3b9c58ec881a13eaa6fe
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 7, 2026 https://github.com/phpstan/phpstan-src/pull/4434#pullrequestreview-3766835220
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4434/files
src/Analyser/MutatingScope.phphttps://github.com/phpstan/phpstan-src/pull/4434/files#diff-dc817f2bab8672057a95375a542e68599164f6ab2380e4cccd1b50583e295d85
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/takaram
takaramhttps://github.com/takaram
force-pushedhttps://github.com/phpstan/phpstan-src/compare/c4f128584424a071fc43eb7e484eca6c89337c87..74fcfd718fbd7aed94ceb1dc6cb23ab4e86f54c0
c4f1285https://github.com/phpstan/phpstan-src/commit/c4f128584424a071fc43eb7e484eca6c89337c87
74fcfd7https://github.com/phpstan/phpstan-src/commit/74fcfd718fbd7aed94ceb1dc6cb23ab4e86f54c0
Compare https://github.com/phpstan/phpstan-src/compare/c4f128584424a071fc43eb7e484eca6c89337c87..74fcfd718fbd7aed94ceb1dc6cb23ab4e86f54c0
February 8, 2026 12:32https://github.com/phpstan/phpstan-src/pull/4434#event-22622501685
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 9, 2026 https://github.com/phpstan/phpstan-src/pull/4434#pullrequestreview-3771376824
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4434/files
staabmhttps://github.com/staabm
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/phpstan/phpstan-src/pull/4434#pullrequestreview-3771376824
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#4422 (comment)https://github.com/phpstan/phpstan-src/pull/4422#issuecomment-3616601264
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/takaram
takaramhttps://github.com/takaram
force-pushedhttps://github.com/phpstan/phpstan-src/compare/74fcfd718fbd7aed94ceb1dc6cb23ab4e86f54c0..49d76cd961f807cd6e911bcbbc6b4fa01dbb2758
74fcfd7https://github.com/phpstan/phpstan-src/commit/74fcfd718fbd7aed94ceb1dc6cb23ab4e86f54c0
49d76cdhttps://github.com/phpstan/phpstan-src/commit/49d76cd961f807cd6e911bcbbc6b4fa01dbb2758
Compare https://github.com/phpstan/phpstan-src/compare/74fcfd718fbd7aed94ceb1dc6cb23ab4e86f54c0..49d76cd961f807cd6e911bcbbc6b4fa01dbb2758
February 23, 2026 16:28https://github.com/phpstan/phpstan-src/pull/4434#event-23006694859
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/49d76cd961f807cd6e911bcbbc6b4fa01dbb2758..67ad949c1b6b1baaac712a7f71d74f453e2c3b75
49d76cdhttps://github.com/phpstan/phpstan-src/commit/49d76cd961f807cd6e911bcbbc6b4fa01dbb2758
67ad949https://github.com/phpstan/phpstan-src/commit/67ad949c1b6b1baaac712a7f71d74f453e2c3b75
Compare https://github.com/phpstan/phpstan-src/compare/49d76cd961f807cd6e911bcbbc6b4fa01dbb2758..67ad949c1b6b1baaac712a7f71d74f453e2c3b75
February 28, 2026 11:51https://github.com/phpstan/phpstan-src/pull/4434#event-23155953233
https://github.com/staabm
staabmhttps://github.com/staabm
Mar 1, 2026 https://github.com/phpstan/phpstan-src/pull/4434#pullrequestreview-3872426177
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4434/files
src/Analyser/MutatingScope.phphttps://github.com/phpstan/phpstan-src/pull/4434/files#diff-dc817f2bab8672057a95375a542e68599164f6ab2380e4cccd1b50583e295d85
staabmhttps://github.com/staabm
Mar 1, 2026https://github.com/phpstan/phpstan-src/pull/4434#discussion_r2869182007
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
takaramhttps://github.com/takaram
March 2, 2026 07:40https://github.com/phpstan/phpstan-src/pull/4434#commits-pushed-1262b29
https://github.com/takaram
https://github.com/staabm
Invalidate static expressions when a non-static expression is calledhttps://github.com/phpstan/phpstan-src/pull/4434/commits/1262b2916650336cbbb3a69ae7c6497ed8183448
1262b29https://github.com/phpstan/phpstan-src/pull/4434/commits/1262b2916650336cbbb3a69ae7c6497ed8183448
https://github.com/takaram
https://github.com/staabm
Pass Node\Expr rather than class name to invalidateStaticMembershttps://github.com/phpstan/phpstan-src/pull/4434/commits/4c9cd90e5475e68dbe26b828a8953a9f3902d340
4c9cd90https://github.com/phpstan/phpstan-src/pull/4434/commits/4c9cd90e5475e68dbe26b828a8953a9f3902d340
https://github.com/takaram
https://github.com/staabm
Fix static method expression invalidation on "maybe pure" methodshttps://github.com/phpstan/phpstan-src/pull/4434/commits/d6a7d953521ee56f35dbddb6d07ab2e9c61a6a14
d6a7d95https://github.com/phpstan/phpstan-src/pull/4434/commits/d6a7d953521ee56f35dbddb6d07ab2e9c61a6a14
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/67ad949c1b6b1baaac712a7f71d74f453e2c3b75..d6a7d953521ee56f35dbddb6d07ab2e9c61a6a14
67ad949https://github.com/phpstan/phpstan-src/commit/67ad949c1b6b1baaac712a7f71d74f453e2c3b75
d6a7d95https://github.com/phpstan/phpstan-src/commit/d6a7d953521ee56f35dbddb6d07ab2e9c61a6a14
Compare https://github.com/phpstan/phpstan-src/compare/67ad949c1b6b1baaac712a7f71d74f453e2c3b75..d6a7d953521ee56f35dbddb6d07ab2e9c61a6a14
March 2, 2026 06:40https://github.com/phpstan/phpstan-src/pull/4434#event-23182769172
https://github.com/staabm
staabmhttps://github.com/staabm
Mar 2, 2026 https://github.com/phpstan/phpstan-src/pull/4434#pullrequestreview-3874366358
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4434/files/d6a7d953521ee56f35dbddb6d07ab2e9c61a6a14
src/Analyser/NodeScopeResolver.phphttps://github.com/phpstan/phpstan-src/pull/4434/files/d6a7d953521ee56f35dbddb6d07ab2e9c61a6a14#diff-0c3f50d118357d9cb6d6f4d0eade75b83797d57056ff3b9c58ec881a13eaa6fe
staabmhttps://github.com/staabm
Mar 2, 2026https://github.com/phpstan/phpstan-src/pull/4434#discussion_r2870795981
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/staabm
staabmhttps://github.com/staabm
Oct 4, 2026https://github.com/phpstan/phpstan-src/pull/4434#issuecomment-5976683058
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/staabm
staabmhttps://github.com/staabm
Oct 4, 2026https://github.com/phpstan/phpstan-src/pull/4434#event-32428622721
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%2F4434
https://github.com/staabm
staabm https://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/4434/files/d6a7d953521ee56f35dbddb6d07ab2e9c61a6a14
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
Incorrectly narrowed to previously asserted type, even if marked impure https://github.com/phpstan/phpstan/issues/13416
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4434
https://github.com/takaram
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.