René's URL Explorer Experiment


Title: Resolve PHP version checks in src/Type/Php extensions from `Scope::getPhpVersion()` by staabm · Pull Request #6551 · phpstan/phpstan-src · GitHub

Open Graph Title: Resolve PHP version checks in src/Type/Php extensions from `Scope::getPhpVersion()` by staabm · Pull Request #6551 · phpstan/phpstan-src

X Title: Resolve PHP version checks in src/Type/Php extensions from `Scope::getPhpVersion()` by staabm · Pull Request #6551 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Resolve PHP version checks in src/Type/Php extensions from `Scope::getPhpVersion()` by staabm · Pull Request #6551 · phpstan/phpstan-src

Open Graph Description: Return-type, throw-type and type-specifying extensions under src/Type/Php asked a DI-injected PhpVersion which PHP version is analysed. That ignores both PHP_VERSION_ID narrowing in the analysed co...

X Description: Return-type, throw-type and type-specifying extensions under src/Type/Php asked a DI-injected PhpVersion which PHP version is analysed. That ignores both PHP_VERSION_ID narrowing in the analysed co...

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

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:bfd55077-fed3-2025-6ffc-20d8e4305b18
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE56C:35B09A:13E7FB:1B8A9A:6B008214
html-safe-nonce9d1b852f0d627c0f20ef8a073e0a9ec22864f09968e3a9443d1ad5755e2627f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTZDOjM1QjA5QToxM0U3RkI6MUI4QTlBOjZCMDA4MjE0IiwidmlzaXRvcl9pZCI6IjE2NjQ0MzExMDg5NjU1NjQ5NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacafaf8376c89276a6d882fcf984a22035283baf6d721e0388c0e5332c743f3d1b
hovercard-subject-tagpull_request:4610727249
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/6551/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1e7029a278d76085102f9db7338c2f6e2cd06359fe1ca96b45aeb2c4f474afa1/phpstan/phpstan-src/pull/6551
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1e7029a278d76085102f9db7338c2f6e2cd06359fe1ca96b45aeb2c4f474afa1/phpstan/phpstan-src/pull/6551
og:image:altReturn-type, throw-type and type-specifying extensions under src/Type/Php asked a DI-injected PhpVersion which PHP version is analysed. That ignores both PHP_VERSION_ID narrowing in the analysed co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestaabm
hostnamegithub.com
expected-hostnamegithub.com
None82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83
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
released1bc2aa1939001689f5ce935982c10a6138f745c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/6551#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6551
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%2F6551
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/6551
Reloadhttps://github.com/phpstan/phpstan-src/pull/6551
Reloadhttps://github.com/phpstan/phpstan-src/pull/6551
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/type-php-extensions-scope-php-versionhttps://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/type-php-extensions-scope-php-version
Conversationhttps://github.com/phpstan/phpstan-src/pull/6551
Commits4 (4)https://github.com/phpstan/phpstan-src/pull/6551/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/6551/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/6551/files
Resolve PHP version checks in src/Type/Php extensions from Scope::getPhpVersion()https://github.com/phpstan/phpstan-src/pull/6551#top
staabmhttps://github.com/staabm
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
phpstan-bot:create-pull-request/type-php-extensions-scope-php-versionhttps://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/type-php-extensions-scope-php-version
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 23, 2026https://github.com/phpstan/phpstan-src/pull/6551#issue-5549987340
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6551
#6529https://github.com/phpstan/phpstan-src/pull/6529
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6551
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 23, 2026 https://github.com/phpstan/phpstan-src/pull/6551#pullrequestreview-5287889268
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6551/files
build/PHPStan/Build/NoInjectedPhpVersionInScopeAwareExtensionRule.phphttps://github.com/phpstan/phpstan-src/pull/6551/files#diff-dc1720867d1d6331a257fa40d03df637c27e6366e4e02b9ae44fbd88883901af
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6551
https://github.com/staabm
staabmhttps://github.com/staabm
September 23, 2026 08:09https://github.com/phpstan/phpstan-src/pull/6551#event-31660099140
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/b9c19000c1cbae04a7f433ae32231fa3df47c638..c805f012e23eb47b8b4ec83bf3e73f85ab5a8a3c
b9c1900https://github.com/phpstan/phpstan-src/commit/b9c19000c1cbae04a7f433ae32231fa3df47c638
c805f01https://github.com/phpstan/phpstan-src/commit/c805f012e23eb47b8b4ec83bf3e73f85ab5a8a3c
Compare https://github.com/phpstan/phpstan-src/compare/b9c19000c1cbae04a7f433ae32231fa3df47c638..c805f012e23eb47b8b4ec83bf3e73f85ab5a8a3c
September 23, 2026 08:09https://github.com/phpstan/phpstan-src/pull/6551#event-31660102398
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Sep 23, 2026https://github.com/phpstan/phpstan-src/pull/6551#issuecomment-5791347794
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6551
phpstan-bothttps://github.com/phpstan-bot
September 23, 2026 10:43https://github.com/phpstan/phpstan-src/pull/6551#commits-pushed-cea8715
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Resolve PHP version checks in src/Type/Php extensions from Scope::get…https://github.com/phpstan/phpstan-src/pull/6551/commits/cea871566f1c1f67b28210ba6504239ca85911a5
cea8715https://github.com/phpstan/phpstan-src/pull/6551/commits/cea871566f1c1f67b28210ba6504239ca85911a5
phpstan#6529https://github.com/phpstan/phpstan-src/pull/6529
https://github.com/staabm
Delete NoInjectedPhpVersionInScopeAwareExtensionRule.phphttps://github.com/phpstan/phpstan-src/pull/6551/commits/4b21fe5b175f4d4227648b8b658867fb6c034e98
4b21fe5https://github.com/phpstan/phpstan-src/pull/6551/commits/4b21fe5b175f4d4227648b8b658867fb6c034e98
https://github.com/staabm
reverthttps://github.com/phpstan/phpstan-src/pull/6551/commits/d7dfbbb05732f79cb7f1096049f489c44461a6f4
d7dfbbbhttps://github.com/phpstan/phpstan-src/pull/6551/commits/d7dfbbb05732f79cb7f1096049f489c44461a6f4
https://github.com/staabm
revert mb*https://github.com/phpstan/phpstan-src/pull/6551/commits/5ce825accf418d1b1079e549aa74596d416f2dc3
5ce825ahttps://github.com/phpstan/phpstan-src/pull/6551/commits/5ce825accf418d1b1079e549aa74596d416f2dc3
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/c805f012e23eb47b8b4ec83bf3e73f85ab5a8a3c..5ce825accf418d1b1079e549aa74596d416f2dc3
c805f01https://github.com/phpstan/phpstan-src/commit/c805f012e23eb47b8b4ec83bf3e73f85ab5a8a3c
5ce825ahttps://github.com/phpstan/phpstan-src/commit/5ce825accf418d1b1079e549aa74596d416f2dc3
Compare https://github.com/phpstan/phpstan-src/compare/c805f012e23eb47b8b4ec83bf3e73f85ab5a8a3c..5ce825accf418d1b1079e549aa74596d416f2dc3
September 23, 2026 08:43https://github.com/phpstan/phpstan-src/pull/6551#event-31662006691
https://github.com/SanderMuller
SanderMullerhttps://github.com/SanderMuller
Sep 23, 2026 https://github.com/phpstan/phpstan-src/pull/6551#pullrequestreview-5289090330
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6551/files/5ce825accf418d1b1079e549aa74596d416f2dc3
SanderMullerhttps://github.com/SanderMuller
https://github.com/phpstan/phpstan-src/pull/6551#pullrequestreview-5289090330
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#6485https://github.com/phpstan/phpstan-src/pull/6485
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6551
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 23, 2026https://github.com/phpstan/phpstan-src/pull/6551#issuecomment-5793340205
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6551
https://github.com/staabm
staabmhttps://github.com/staabm
c230eb0https://github.com/phpstan/phpstan-src/commit/c230eb0b7bee5725172562994138d41b14e2cb8b
Sep 23, 2026https://github.com/phpstan/phpstan-src/pull/6551#event-31668695674
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6551
https://github.com/staabm
staabmhttps://github.com/staabm
September 23, 2026 10:38https://github.com/phpstan/phpstan-src/pull/6551#event-31668697813
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Sep 23, 2026 https://github.com/phpstan/phpstan-src/pull/6551#ref-pullrequest-5553206614
Resolve PHP version checks in remaining scope-aware extensions from Scope::getPhpVersion() and forbid injecting PhpVersion into them #6563 https://github.com/phpstan/phpstan-src/pull/6563
https://github.com/gregorpilz
gregorpilzhttps://github.com/gregorpilz
Oct 15, 2026 https://github.com/phpstan/phpstan-src/pull/6551#ref-issue-5864231087
Regression of #14397 in 2.3.0: FILTER_FLAG_GLOBAL_RANGE read as FILTER_THROW_ON_FAILURE on PHP 8.4 phpstan/phpstan#15481 https://github.com/phpstan/phpstan/issues/15481
https://github.com/HawkForge
HawkForgehttps://github.com/HawkForge
Oct 15, 2026 https://github.com/phpstan/phpstan-src/pull/6551#ref-pullrequest-5866101851
Keep the failure value of filter_var() unless every PHP version has FILTER_THROW_ON_FAILURE #6750 https://github.com/phpstan/phpstan-src/pull/6750
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Oct 22, 2026 https://github.com/phpstan/phpstan-src/pull/6551#ref-pullrequest-5986419688
Ignore FILTER_THROW_ON_FAILURE bit when the PHP version range only maybe includes PHP 8.5 and the runtime FILTER_FLAG_GLOBAL_RANGE shares it #6779 https://github.com/phpstan/phpstan-src/pull/6779
https://github.com/staabm
staabmhttps://github.com/staabm
Nov 5, 2026 https://github.com/phpstan/phpstan-src/pull/6551#ref-pullrequest-6173672023
mysqli: Add support for procedural mysqli_fetch_foo functions staabm/phpstan-dba#821 https://github.com/staabm/phpstan-dba/pull/821
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%2F6551
https://github.com/SanderMuller
SanderMuller https://github.com/SanderMuller
https://github.com/phpstan/phpstan-src/pull/6551/files/5ce825accf418d1b1079e549aa74596d416f2dc3
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6551
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6551
https://github.com/staabm
https://github.com/phpstan-bot
https://github.com/SanderMuller
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.