René's URL Explorer Experiment


Title: Resolve "supported only on PHP X" checks from `Scope::getPhpVersion()` instead of the injected `PhpVersion` by phpstan-bot · Pull Request #6496 · phpstan/phpstan-src · GitHub

Open Graph Title: Resolve "supported only on PHP X" checks from `Scope::getPhpVersion()` instead of the injected `PhpVersion` by phpstan-bot · Pull Request #6496 · phpstan/phpstan-src

X Title: Resolve "supported only on PHP X" checks from `Scope::getPhpVersion()` instead of the injected `PhpVersion` by phpstan-bot · Pull Request #6496 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Resolve "supported only on PHP X" checks from `Scope::getPhpVersion()` instead of the injected `PhpVersion` by phpstan-bot · Pull Request #6496 · phpstan/phpstan-src

Open Graph Description: Summary A class declared inside if (PHP_VERSION_ID >= 80300) { … } was still checked against the configured PHP version, so analysing on PHP 8.2 reported the non-ignorable, non-baselineable erro...

X Description: Summary A class declared inside if (PHP_VERSION_ID >= 80300) { … } was still checked against the configured PHP version, so analysing on PHP 8.2 reported the non-ignorable, non-baselineable ...

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

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:e8a74dee-c4df-f851-1a74-8a4f00ffb69b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC4FC:A4425:323517:43818D:6B0088F5
html-safe-nonce1d5e07826cb07aa657cc66f343e0382cbea0b87d2943064c8669abdc88fb92ce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEZDOkE0NDI1OjMyMzUxNzo0MzgxOEQ6NkIwMDg4RjUiLCJ2aXNpdG9yX2lkIjoiMzMxOTM4NDYzMjA2MjkzNzMzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4783df969f0950db38a337979311c5ae0357fc9cd0e68fc476f3b2319863f186
hovercard-subject-tagpull_request:4593030842
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/6496/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ff813607cf84dcda45a096c57e141d47cd0e76419ac734c6b3d7db4d6cfc09e9/phpstan/phpstan-src/pull/6496
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ff813607cf84dcda45a096c57e141d47cd0e76419ac734c6b3d7db4d6cfc09e9/phpstan/phpstan-src/pull/6496
og:image:altSummary A class declared inside if (PHP_VERSION_ID >= 80300) { … } was still checked against the configured PHP version, so analysing on PHP 8.2 reported the non-ignorable, non-baselineable erro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamephpstan-bot
hostnamegithub.com
expected-hostnamegithub.com
None4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61
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
releasedb758f8e02b8257935fb03edf81a3e76eb3abd11
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/6496#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6496
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%2F6496
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/6496
Reloadhttps://github.com/phpstan/phpstan-src/pull/6496
Reloadhttps://github.com/phpstan/phpstan-src/pull/6496
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
staabmhttps://github.com/staabm
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
phpstan-bot:create-pull-request/patch-salupumhttps://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-salupum
Conversationhttps://github.com/phpstan/phpstan-src/pull/6496
Commits11 (11)https://github.com/phpstan/phpstan-src/pull/6496/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/6496/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/6496/files
Resolve "supported only on PHP X" checks from Scope::getPhpVersion() instead of the injected PhpVersionhttps://github.com/phpstan/phpstan-src/pull/6496#top
staabmhttps://github.com/staabm
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
phpstan-bot:create-pull-request/patch-salupumhttps://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-salupum
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Sep 21, 2026https://github.com/phpstan/phpstan-src/pull/6496#issue-5528816304
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
#3662https://github.com/phpstan/phpstan-src/pull/3662
phpstan/phpstan#13133https://github.com/phpstan/phpstan/issues/13133
#3642 (comment)https://github.com/phpstan/phpstan-src/pull/3642#issuecomment-2495429969
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 21, 2026 https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5268520617
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6496/files
staabmhttps://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5268520617
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#6497https://github.com/phpstan/phpstan-src/pull/6497
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 21, 2026 https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5268525963
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6496/files
staabmhttps://github.com/staabm
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5268525963
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/03a6fd4333d4fb94ee2930eb4e12e55e60873878..01bbcea972738750ece5bf8a14761af6b587a818
03a6fd4https://github.com/phpstan/phpstan-src/commit/03a6fd4333d4fb94ee2930eb4e12e55e60873878
01bbceahttps://github.com/phpstan/phpstan-src/commit/01bbcea972738750ece5bf8a14761af6b587a818
Compare https://github.com/phpstan/phpstan-src/compare/03a6fd4333d4fb94ee2930eb4e12e55e60873878..01bbcea972738750ece5bf8a14761af6b587a818
September 21, 2026 15:43https://github.com/phpstan/phpstan-src/pull/6496#event-31540455121
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Sep 21, 2026 https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5268672069
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6496/files
VincentLanglethttps://github.com/VincentLanglet
https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5268672069
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#6497https://github.com/phpstan/phpstan-src/pull/6497
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Sep 21, 2026https://github.com/phpstan/phpstan-src/pull/6496#issuecomment-5763291470
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/01bbcea972738750ece5bf8a14761af6b587a818..b455c3e49194f88d8af2df3193987a48cfee436f
01bbceahttps://github.com/phpstan/phpstan-src/commit/01bbcea972738750ece5bf8a14761af6b587a818
b455c3ehttps://github.com/phpstan/phpstan-src/commit/b455c3e49194f88d8af2df3193987a48cfee436f
Compare https://github.com/phpstan/phpstan-src/compare/01bbcea972738750ece5bf8a14761af6b587a818..b455c3e49194f88d8af2df3193987a48cfee436f
September 21, 2026 15:54https://github.com/phpstan/phpstan-src/pull/6496#event-31541124027
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Sep 21, 2026 https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5269720979
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6496/files
VincentLanglethttps://github.com/VincentLanglet
https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5269720979
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Sep 21, 2026https://github.com/phpstan/phpstan-src/pull/6496#issuecomment-5764960141
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
staabmhttps://github.com/staabm
September 21, 2026 21:15https://github.com/phpstan/phpstan-src/pull/6496#commits-pushed-d3cb50d
https://github.com/staabm
https://github.com/claude
Resolve "supported only on PHP X" checks from `Scope::getPhpVersion()…https://github.com/phpstan/phpstan-src/pull/6496/commits/d3cb50dbed323debff64d730283c81cb754a494a
d3cb50dhttps://github.com/phpstan/phpstan-src/pull/6496/commits/d3cb50dbed323debff64d730283c81cb754a494a
phpstan/phpstan#13133https://github.com/phpstan/phpstan/issues/13133
https://github.com/VincentLanglet
https://github.com/staabm
Excludehttps://github.com/phpstan/phpstan-src/pull/6496/commits/efc0a611b22cf999e77a54369278e863bc389de3
efc0a61https://github.com/phpstan/phpstan-src/pull/6496/commits/efc0a611b22cf999e77a54369278e863bc389de3
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Keep ConstantAttributesRule on the injected PhpVersionhttps://github.com/phpstan/phpstan-src/pull/6496/commits/3dfbaa7a2bfc149c43fbe71dfd265133c74fcb10
3dfbaa7https://github.com/phpstan/phpstan-src/pull/6496/commits/3dfbaa7a2bfc149c43fbe71dfd265133c74fcb10
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Express the analysed PHP version in rule tests with PHP_VERSION_ID in…https://github.com/phpstan/phpstan-src/pull/6496/commits/8cea562970dedfff00e16a95e5aac68d608eac20
8cea562https://github.com/phpstan/phpstan-src/pull/6496/commits/8cea562970dedfff00e16a95e5aac68d608eac20
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Add back the bug 13133 reproducer testhttps://github.com/phpstan/phpstan-src/pull/6496/commits/93fe4cc25fb6972526706e388a9cd5b761a4cded
93fe4cchttps://github.com/phpstan/phpstan-src/pull/6496/commits/93fe4cc25fb6972526706e388a9cd5b761a4cded
phpstan#6497https://github.com/phpstan/phpstan-src/pull/6497
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/ee8fa64851b9f91b2fd54caca20bbc2ff4b9755f..93fe4cc25fb6972526706e388a9cd5b761a4cded
ee8fa64https://github.com/phpstan/phpstan-src/commit/ee8fa64851b9f91b2fd54caca20bbc2ff4b9755f
93fe4cchttps://github.com/phpstan/phpstan-src/commit/93fe4cc25fb6972526706e388a9cd5b761a4cded
Compare https://github.com/phpstan/phpstan-src/compare/ee8fa64851b9f91b2fd54caca20bbc2ff4b9755f..93fe4cc25fb6972526706e388a9cd5b761a4cded
September 21, 2026 19:15https://github.com/phpstan/phpstan-src/pull/6496#event-31553058103
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 21, 2026 https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5270926798
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6496/files/93fe4cc25fb6972526706e388a9cd5b761a4cded
staabmhttps://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5270926798
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
phpstan-bothttps://github.com/phpstan-bot
September 21, 2026 19:32https://github.com/phpstan/phpstan-src/pull/6496#commits-pushed-7241c8c
https://github.com/phpstan-bot
https://github.com/claude
Keep PropertyAttributesRule on the injected PhpVersionhttps://github.com/phpstan/phpstan-src/pull/6496/commits/7241c8ce12ff9f1fd23075a705661987b9e15b9b
7241c8chttps://github.com/phpstan/phpstan-src/pull/6496/commits/7241c8ce12ff9f1fd23075a705661987b9e15b9b
https://github.com/phpstan-bot
https://github.com/claude
Keep ExistingClassesInArrowFunctionTypehintsRule on the injected PhpV…https://github.com/phpstan/phpstan-src/pull/6496/commits/b53eacf73bdb728d8feac2ce56b42c5a7b491fe8
b53eacfhttps://github.com/phpstan/phpstan-src/pull/6496/commits/b53eacf73bdb728d8feac2ce56b42c5a7b491fe8
https://github.com/phpstan-bot
https://github.com/claude
Keep PropertiesInInterfaceRule and PropertyInClassRule on the injecte…https://github.com/phpstan/phpstan-src/pull/6496/commits/9e7edd7f426b4aaf16f1296ad532987b5e539d92
9e7edd7https://github.com/phpstan/phpstan-src/pull/6496/commits/9e7edd7f426b4aaf16f1296ad532987b5e539d92
https://github.com/phpstan-bot
https://github.com/claude
Drop PhpVersions methods left without callershttps://github.com/phpstan/phpstan-src/pull/6496/commits/512341faf34fc79f50d2561d4d1de556dca81333
512341fhttps://github.com/phpstan/phpstan-src/pull/6496/commits/512341faf34fc79f50d2561d4d1de556dca81333
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Sep 21, 2026https://github.com/phpstan/phpstan-src/pull/6496#issuecomment-5766375513
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
staabmhttps://github.com/staabm
September 21, 2026 21:43https://github.com/phpstan/phpstan-src/pull/6496#commits-pushed-68ff053
https://github.com/staabm
fix buildhttps://github.com/phpstan/phpstan-src/pull/6496/commits/68ff05310a2f7cd2b2d9e18e31ffb044c3178656
68ff053https://github.com/phpstan/phpstan-src/pull/6496/commits/68ff05310a2f7cd2b2d9e18e31ffb044c3178656
https://github.com/staabm
Update readonly-class-php-versions.phphttps://github.com/phpstan/phpstan-src/pull/6496/commits/04bf970b8701039bc8225ddd925db3acbfcf9619
04bf970https://github.com/phpstan/phpstan-src/pull/6496/commits/04bf970b8701039bc8225ddd925db3acbfcf9619
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 21, 2026 https://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5271239758
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6496/files/04bf970b8701039bc8225ddd925db3acbfcf9619
https://github.com/staabm
staabmhttps://github.com/staabm
VincentLanglethttps://github.com/VincentLanglet
September 21, 2026 19:59https://github.com/phpstan/phpstan-src/pull/6496#event-31555591249
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 21, 2026https://github.com/phpstan/phpstan-src/pull/6496#issuecomment-5766803453
@SanderMullerhttps://github.com/SanderMuller
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 21, 2026https://github.com/phpstan/phpstan-src/pull/6496#issuecomment-5766831461
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/SanderMuller
SanderMullerhttps://github.com/SanderMuller
Sep 22, 2026https://github.com/phpstan/phpstan-src/pull/6496#issuecomment-5771952706
#6481https://github.com/phpstan/phpstan-src/pull/6481
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/staabm
staabmhttps://github.com/staabm
VincentLanglethttps://github.com/VincentLanglet
September 22, 2026 07:14https://github.com/phpstan/phpstan-src/pull/6496#event-31581448704
https://github.com/staabm
staabmhttps://github.com/staabm
VincentLanglethttps://github.com/VincentLanglet
stale reviewhttps://github.com/phpstan/phpstan-src/pull/6496#pullrequestreview-5269720979
September 22, 2026 07:14https://github.com/phpstan/phpstan-src/pull/6496#event-31581468995
https://github.com/staabm
staabmhttps://github.com/staabm
76aa1afhttps://github.com/phpstan/phpstan-src/commit/76aa1af892d8acfb35e01d120ae9fd772c2e57fd
Sep 22, 2026https://github.com/phpstan/phpstan-src/pull/6496#event-31581479526
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/staabm
staabmhttps://github.com/staabm
September 22, 2026 07:14https://github.com/phpstan/phpstan-src/pull/6496#event-31581481410
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Sep 22, 2026 https://github.com/phpstan/phpstan-src/pull/6496#ref-pullrequest-5536645216
Resolve property, trait constant, arrow function never and attribute PHP version checks from Scope::getPhpVersion() #6510 https://github.com/phpstan/phpstan-src/pull/6510
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 22, 2026 https://github.com/phpstan/phpstan-src/pull/6496#ref-issue-5537401443
Utilize $scope->getPhpVersion in return-type extensions phpstan/phpstan#15287 https://github.com/phpstan/phpstan/issues/15287
Resolve PHP version checks in dynamic return type, throw type and type specifying extensions from Scope::getPhpVersion() #6519 https://github.com/phpstan/phpstan-src/pull/6519
Resolve PHP version checks in return-type, throw-type and type-specifying extensions from Scope::getPhpVersion() #6529 https://github.com/phpstan/phpstan-src/pull/6529
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%2F6496
https://github.com/staabm
staabm https://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/6496/files/04bf970b8701039bc8225ddd925db3acbfcf9619
https://github.com/VincentLanglet
VincentLanglet https://github.com/VincentLanglet
https://github.com/phpstan/phpstan-src/pull/6496/files/1453103dc0b69b05bc349209b1801f41525596d1
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
Conditionally defined classes will be evaluated regardless of the current version https://github.com/phpstan/phpstan/issues/13133
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6496
https://github.com/phpstan-bot
https://github.com/staabm
https://github.com/SanderMuller
https://github.com/VincentLanglet
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.