René's URL Explorer Experiment


Title: Check class constant access through constant class-name strings and class-string unions by gnutix · Pull Request #5980 · phpstan/phpstan-src · GitHub

Open Graph Title: Check class constant access through constant class-name strings and class-string unions by gnutix · Pull Request #5980 · phpstan/phpstan-src

X Title: Check class constant access through constant class-name strings and class-string unions by gnutix · Pull Request #5980 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Check class constant access through constant class-name strings and class-string unions by gnutix · Pull Request #5980 · phpstan/phpstan-src

Open Graph Description: Follow-up to #5976 (same root-cause family). ClassConstantRule had a legacy string bail-out that predates Type::isClassString() / Type::getClassStringObjectType(): for a $classString::CONST fetch w...

X Description: Follow-up to #5976 (same root-cause family). ClassConstantRule had a legacy string bail-out that predates Type::isClassString() / Type::getClassStringObjectType(): for a $classString::CONST fetch w...

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

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:d0a4c538-671c-1aa2-4b2a-9c189bf61330
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE8FA:54428:43BB63:5CAE76:6B006FC4
html-safe-noncee2e324f11df697a5d61f5c75a3c2a6d7ed56edb8e91b873340824496c2b8ebe2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEZBOjU0NDI4OjQzQkI2Mzo1Q0FFNzY6NkIwMDZGQzQiLCJ2aXNpdG9yX2lkIjoiMzc3MzI1NjY3MTE2MjI5ODMwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8ac08436d1c4618d3260d0dbfff3877fd9dca495faef2747acfe8bbe4389ada1
hovercard-subject-tagpull_request:3980507110
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/5980/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/40475148d8a6bcdc10bf618797252620c1eaef196b685cc85f90b3aa9d125399/phpstan/phpstan-src/pull/5980
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/40475148d8a6bcdc10bf618797252620c1eaef196b685cc85f90b3aa9d125399/phpstan/phpstan-src/pull/5980
og:image:altFollow-up to #5976 (same root-cause family). ClassConstantRule had a legacy string bail-out that predates Type::isClassString() / Type::getClassStringObjectType(): for a $classString::CONST fetch w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegnutix
hostnamegithub.com
expected-hostnamegithub.com
None6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa
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
release46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/5980#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5980
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%2F5980
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/5980
Reloadhttps://github.com/phpstan/phpstan-src/pull/5980
Reloadhttps://github.com/phpstan/phpstan-src/pull/5980
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests185 (185)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
gnutixhttps://github.com/gnutix
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
gnutix:class-constant-string-unionshttps://github.com/gnutix/phpstan-src/tree/class-constant-string-unions
Conversationhttps://github.com/phpstan/phpstan-src/pull/5980
Commits2 (2)https://github.com/phpstan/phpstan-src/pull/5980/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/5980/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/5980/files
Check class constant access through constant class-name strings and class-string unionshttps://github.com/phpstan/phpstan-src/pull/5980#top
gnutixhttps://github.com/gnutix
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
gnutix:class-constant-string-unionshttps://github.com/gnutix/phpstan-src/tree/class-constant-string-unions
https://github.com/gnutix
gnutixhttps://github.com/gnutix
Jul 2, 2026https://github.com/phpstan/phpstan-src/pull/5980#issue-4797054319
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5980
#5976https://github.com/phpstan/phpstan-src/pull/5976
#5976https://github.com/phpstan/phpstan-src/pull/5976
#5976https://github.com/phpstan/phpstan-src/pull/5976
phpstan/phpstan#15472https://github.com/phpstan/phpstan/pull/15472
#5976https://github.com/phpstan/phpstan-src/pull/5976
phpstan/phpstan#15477https://github.com/phpstan/phpstan/pull/15477
Claude Codehttps://claude.com/claude-code
phpstan/phpstan#12387https://github.com/phpstan/phpstan/issues/12387
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5980
https://github.com/gnutix
gnutixhttps://github.com/gnutix
July 4, 2026 20:01https://github.com/phpstan/phpstan-src/pull/5980#event-27562476366
https://github.com/gnutix
gnutixhttps://github.com/gnutix
force-pushedhttps://github.com/phpstan/phpstan-src/compare/2a3ef96c6083a9fbd0c7e3a3f8b0e68dc2ed09a0..a4ab8f80587cb2ede7252f597fb67d676fb2efe4
2a3ef96https://github.com/phpstan/phpstan-src/commit/2a3ef96c6083a9fbd0c7e3a3f8b0e68dc2ed09a0
a4ab8f8https://github.com/phpstan/phpstan-src/commit/a4ab8f80587cb2ede7252f597fb67d676fb2efe4
Compare https://github.com/phpstan/phpstan-src/compare/2a3ef96c6083a9fbd0c7e3a3f8b0e68dc2ed09a0..a4ab8f80587cb2ede7252f597fb67d676fb2efe4
July 5, 2026 07:49https://github.com/phpstan/phpstan-src/pull/5980#event-27569966269
https://github.com/gnutix
gnutixhttps://github.com/gnutix
Jul 5, 2026 https://github.com/phpstan/phpstan-src/pull/5980#ref-pullrequest-4796763647
Do not flatten template benevolent unions in TypeCombinator::union() #5975 https://github.com/phpstan/phpstan-src/pull/5975
https://github.com/gnutix
gnutixhttps://github.com/gnutix
force-pushedhttps://github.com/phpstan/phpstan-src/compare/6faefb425fff359728ca2565adb3285e808fec68..59de55c0b2491d4f239466ed378c1d718893594e
6faefb4https://github.com/phpstan/phpstan-src/commit/6faefb425fff359728ca2565adb3285e808fec68
59de55chttps://github.com/phpstan/phpstan-src/commit/59de55c0b2491d4f239466ed378c1d718893594e
Compare https://github.com/phpstan/phpstan-src/compare/6faefb425fff359728ca2565adb3285e808fec68..59de55c0b2491d4f239466ed378c1d718893594e
July 5, 2026 11:40https://github.com/phpstan/phpstan-src/pull/5980#event-27572662555
https://github.com/gnutix
gnutixhttps://github.com/gnutix
force-pushedhttps://github.com/phpstan/phpstan-src/compare/59de55c0b2491d4f239466ed378c1d718893594e..47b83ee3b012c816592df6823eba22f3ce3ab4dd
59de55chttps://github.com/phpstan/phpstan-src/commit/59de55c0b2491d4f239466ed378c1d718893594e
47b83eehttps://github.com/phpstan/phpstan-src/commit/47b83ee3b012c816592df6823eba22f3ce3ab4dd
Compare https://github.com/phpstan/phpstan-src/compare/59de55c0b2491d4f239466ed378c1d718893594e..47b83ee3b012c816592df6823eba22f3ce3ab4dd
October 12, 2026 16:32https://github.com/phpstan/phpstan-src/pull/5980#event-33064224660
https://github.com/gnutix
gnutixhttps://github.com/gnutix
October 12, 2026 16:32https://github.com/phpstan/phpstan-src/pull/5980#event-33064227030
https://github.com/gnutix
gnutixhttps://github.com/gnutix
Oct 12, 2026 https://github.com/phpstan/phpstan-src/pull/5980#ref-pullrequest-4796824622
Check static method calls through constant class-name strings and class-string unions #5976 https://github.com/phpstan/phpstan-src/pull/5976
https://github.com/gnutix
gnutixhttps://github.com/gnutix
force-pushedhttps://github.com/phpstan/phpstan-src/compare/47b83ee3b012c816592df6823eba22f3ce3ab4dd..53f4c75b4444d9f66a96f6ad58d2e7290bb00089
47b83eehttps://github.com/phpstan/phpstan-src/commit/47b83ee3b012c816592df6823eba22f3ce3ab4dd
53f4c75https://github.com/phpstan/phpstan-src/commit/53f4c75b4444d9f66a96f6ad58d2e7290bb00089
Compare https://github.com/phpstan/phpstan-src/compare/47b83ee3b012c816592df6823eba22f3ce3ab4dd..53f4c75b4444d9f66a96f6ad58d2e7290bb00089
October 12, 2026 18:33https://github.com/phpstan/phpstan-src/pull/5980#event-33071733132
gnutixhttps://github.com/gnutix
Oct 12, 2026 https://github.com/phpstan/phpstan-src/pull/5980#ref-commit-0e8421e
https://github.com/gnutix
https://github.com/claude
Baseline the shopware classConstant.notFound error on a class-string<…https://github.com/gnutix/phpstan/commit/0e8421e3b717d6d13ffbf8fac1e3b6acf8093b48
0e8421ehttps://github.com/gnutix/phpstan/commit/0e8421e3b717d6d13ffbf8fac1e3b6acf8093b48
phpstan/phpstan-src#5980https://github.com/phpstan/phpstan-src/pull/5980
https://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGGhttps://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGG
Baseline the shopware classConstant.notFound error on a class-string phpstan/phpstan#15472 https://github.com/phpstan/phpstan/pull/15472
Accept all data provider arguments in OverridingMethodRuleTest::testBug3403() #6737 https://github.com/phpstan/phpstan-src/pull/6737
https://github.com/gnutix
gnutixhttps://github.com/gnutix
force-pushedhttps://github.com/phpstan/phpstan-src/compare/53f4c75b4444d9f66a96f6ad58d2e7290bb00089..dbdc8d20924eafc23ab43f320aaf3d4610923515
53f4c75https://github.com/phpstan/phpstan-src/commit/53f4c75b4444d9f66a96f6ad58d2e7290bb00089
dbdc8d2https://github.com/phpstan/phpstan-src/commit/dbdc8d20924eafc23ab43f320aaf3d4610923515
Compare https://github.com/phpstan/phpstan-src/compare/53f4c75b4444d9f66a96f6ad58d2e7290bb00089..dbdc8d20924eafc23ab43f320aaf3d4610923515
October 12, 2026 20:27https://github.com/phpstan/phpstan-src/pull/5980#event-33078718340
gnutixhttps://github.com/gnutix
Oct 13, 2026 https://github.com/phpstan/phpstan-src/pull/5980#ref-commit-62a6388
https://github.com/gnutix
https://github.com/claude
Baseline the shopware InterfaceHook::FUNCTIONS access through a class…https://github.com/gnutix/phpstan/commit/62a63885584236e517e373b77e6bb506122abe63
62a6388https://github.com/gnutix/phpstan/commit/62a63885584236e517e373b77e6bb506122abe63
phpstan/phpstan-src#5980https://github.com/phpstan/phpstan-src/pull/5980
https://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGGhttps://claude.ai/code/session_01QW8VaDtn3cMdQowPSh1xGG
https://github.com/gnutix
gnutixhttps://github.com/gnutix
Oct 13, 2026 https://github.com/phpstan/phpstan-src/pull/5980#ref-pullrequest-5834060881
Baseline the shopware InterfaceHook::FUNCTIONS access through a class-string phpstan/phpstan#15477 https://github.com/phpstan/phpstan/pull/15477
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/dbdc8d20924eafc23ab43f320aaf3d4610923515..b1e9c87597e3b8a230fa6e609d0724b780ca6faa
dbdc8d2https://github.com/phpstan/phpstan-src/commit/dbdc8d20924eafc23ab43f320aaf3d4610923515
b1e9c87https://github.com/phpstan/phpstan-src/commit/b1e9c87597e3b8a230fa6e609d0724b780ca6faa
Compare https://github.com/phpstan/phpstan-src/compare/dbdc8d20924eafc23ab43f320aaf3d4610923515..b1e9c87597e3b8a230fa6e609d0724b780ca6faa
October 31, 2026 13:28https://github.com/phpstan/phpstan-src/pull/5980#event-34773398492
https://github.com/gnutix
https://github.com/claude
https://github.com/ondrejmirtes
Check class constant access through constant class-name strings and c…https://github.com/phpstan/phpstan-src/pull/5980/commits/dcce8d026931b5468e1a729fccf29c25ce8532d8
dcce8d0https://github.com/phpstan/phpstan-src/pull/5980/commits/dcce8d026931b5468e1a729fccf29c25ce8532d8
https://ampcode.com/threads/T-01a19219-4d78-7363-95de-11322f00b310https://ampcode.com/threads/T-01a19219-4d78-7363-95de-11322f00b310
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/b1e9c87597e3b8a230fa6e609d0724b780ca6faa..dcce8d026931b5468e1a729fccf29c25ce8532d8
b1e9c87https://github.com/phpstan/phpstan-src/commit/b1e9c87597e3b8a230fa6e609d0724b780ca6faa
dcce8d0https://github.com/phpstan/phpstan-src/commit/dcce8d026931b5468e1a729fccf29c25ce8532d8
Compare https://github.com/phpstan/phpstan-src/compare/b1e9c87597e3b8a230fa6e609d0724b780ca6faa..dcce8d026931b5468e1a729fccf29c25ce8532d8
October 31, 2026 13:57https://github.com/phpstan/phpstan-src/pull/5980#event-34774710564
https://github.com/ondrejmirtes
Add regression test for #12387https://github.com/phpstan/phpstan-src/pull/5980/commits/ec7d005a60d791a631eaba91111e0195d23d814c
ec7d005https://github.com/phpstan/phpstan-src/pull/5980/commits/ec7d005a60d791a631eaba91111e0195d23d814c
phpstan/phpstan#12387https://github.com/phpstan/phpstan/issues/12387
https://ampcode.com/threads/T-01a19219-4d78-7363-95de-11322f00b310https://ampcode.com/threads/T-01a19219-4d78-7363-95de-11322f00b310
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%2F5980
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5980
No error about accessing protected const from outside class through template class-string https://github.com/phpstan/phpstan/issues/12387
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5980
https://github.com/gnutix
https://github.com/ondrejmirtes
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.