René's URL Explorer Experiment


Title: Keep subtype-absorbed variables as conditional-expression targets when merging branches by phpstan-bot · Pull Request #5876 · phpstan/phpstan-src · GitHub

Open Graph Title: Keep subtype-absorbed variables as conditional-expression targets when merging branches by phpstan-bot · Pull Request #5876 · phpstan/phpstan-src

X Title: Keep subtype-absorbed variables as conditional-expression targets when merging branches by phpstan-bot · Pull Request #5876 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Keep subtype-absorbed variables as conditional-expression targets when merging branches by phpstan-bot · Pull Request #5876 · phpstan/phpstan-src

Open Graph Description: Summary When a variable was assigned inside one branch of an if and then the same condition was re-checked later, PHPStan failed to re-narrow the variable if its declared type was mixed: /** * @pa...

X Description: Summary When a variable was assigned inside one branch of an if and then the same condition was re-checked later, PHPStan failed to re-narrow the variable if its declared type was mixed: /** * @pa...

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

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:4609bade-fd35-bd22-251f-de5a48f3234a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC550:395430:6F941E:95E725:6B00D738
html-safe-nonce379c57595cf2e5854634017a74566419b65ad73b05218380026165f6c0a4db4d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTUwOjM5NTQzMDo2Rjk0MUU6OTVFNzI1OjZCMDBENzM4IiwidmlzaXRvcl9pZCI6IjY2ODEyOTkzMDQxMDA5NzY0NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5f5fdd97986326d636f782a698ac36bcc4d24c2fa1bba5afbd6ebe1696f72b30
hovercard-subject-tagpull_request:3863715017
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/5876/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a791361fc2ca28ec4453c52e318ce74a5318331d666c3494ed6198413af9d929/phpstan/phpstan-src/pull/5876
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a791361fc2ca28ec4453c52e318ce74a5318331d666c3494ed6198413af9d929/phpstan/phpstan-src/pull/5876
og:image:altSummary When a variable was assigned inside one branch of an if and then the same condition was re-checked later, PHPStan failed to re-narrow the variable if its declared type was mixed: /** * @pa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamephpstan-bot
hostnamegithub.com
expected-hostnamegithub.com
Nonea481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b
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
release84c8c5cc25e2fb7f2308428458538436baecc6d2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/5876#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5876
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%2F5876
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/5876
Reloadhttps://github.com/phpstan/phpstan-src/pull/5876
Reloadhttps://github.com/phpstan/phpstan-src/pull/5876
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
staabmhttps://github.com/staabm
phpstan:2.2.xhttps://github.com/phpstan/phpstan-src/tree/2.2.x
phpstan-bot:create-pull-request/patch-c6llvwihttps://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-c6llvwi
Conversationhttps://github.com/phpstan/phpstan-src/pull/5876
Commits9 (9)https://github.com/phpstan/phpstan-src/pull/5876/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/5876/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/5876/files
Keep subtype-absorbed variables as conditional-expression targets when merging brancheshttps://github.com/phpstan/phpstan-src/pull/5876#top
staabmhttps://github.com/staabm
phpstan:2.2.xhttps://github.com/phpstan/phpstan-src/tree/2.2.x
phpstan-bot:create-pull-request/patch-c6llvwihttps://github.com/phpstan-bot/phpstan-src/tree/create-pull-request/patch-c6llvwi
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Jun 14, 2026https://github.com/phpstan/phpstan-src/pull/5876#issue-4660324217
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
phpstan/phpstan#7948https://github.com/phpstan/phpstan/issues/7948
phpstan/phpstan#4905https://github.com/phpstan/phpstan/issues/4905
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jun 14, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4493520203
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files
tests/PHPStan/Rules/Properties/TypesAssignedToPropertiesRuleTest.phphttps://github.com/phpstan/phpstan-src/pull/5876/files#diff-4583eaca68e2ba24d66cb6be67c8cca1451891382a50d6125e05afd4ec5639a7
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.phphttps://github.com/phpstan/phpstan-src/pull/5876/files#diff-e337f6440f4bf865a98630872566d6714bd9c496a27655277a62853872213060
VincentLanglethttps://github.com/VincentLanglet
Jun 14, 2026https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410189347
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
force-pushedhttps://github.com/phpstan/phpstan-src/compare/311ac20ca82c8997c8ea185b2a374dc187cea041..80280f6a9360345c8d28997eddd8de90ee43b35a
311ac20https://github.com/phpstan/phpstan-src/commit/311ac20ca82c8997c8ea185b2a374dc187cea041
80280f6https://github.com/phpstan/phpstan-src/commit/80280f6a9360345c8d28997eddd8de90ee43b35a
Compare https://github.com/phpstan/phpstan-src/compare/311ac20ca82c8997c8ea185b2a374dc187cea041..80280f6a9360345c8d28997eddd8de90ee43b35a
June 14, 2026 20:57https://github.com/phpstan/phpstan-src/pull/5876#event-26732280059
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jun 14, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4493574573
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files
src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.phphttps://github.com/phpstan/phpstan-src/pull/5876/files#diff-e337f6440f4bf865a98630872566d6714bd9c496a27655277a62853872213060
VincentLanglethttps://github.com/VincentLanglet
Jun 14, 2026https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410235784
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
phpstan-bothttps://github.com/phpstan-bot
Jun 14, 2026https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410248319
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
VincentLanglethttps://github.com/VincentLanglet
Jun 14, 2026https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410301415
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
phpstan-bothttps://github.com/phpstan-bot
Jun 14, 2026https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3410320497
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jun 19, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4532799800
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jun 19, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4532820310
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files
VincentLanglethttps://github.com/VincentLanglet
https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4532820310
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
phpstan/phpstan#4905https://github.com/phpstan/phpstan/issues/4905
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Jun 19, 2026https://github.com/phpstan/phpstan-src/pull/5876#issuecomment-4751596478
#4905https://github.com/phpstan/phpstan-src/pull/4905
phpstan/phpstan#4905https://github.com/phpstan/phpstan/issues/4905
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jun 19, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533297388
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files
tests/PHPStan/Rules/Properties/data/bug-4905.phphttps://github.com/phpstan/phpstan-src/pull/5876/files#diff-8a9f6437cfe263027c030be4ad0f867f54095a27cb145a1c667b3697bd880333
VincentLanglethttps://github.com/VincentLanglet
Jun 19, 2026https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3442862427
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
phpstan-bothttps://github.com/phpstan-bot
Jun 19, 2026https://github.com/phpstan/phpstan-src/pull/5876#discussion_r3442876051
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jun 19, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533323102
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files
Makefilehttps://github.com/phpstan/phpstan-src/pull/5876/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/staabm
staabmhttps://github.com/staabm
Jun 19, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533347014
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files
staabmhttps://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533347014
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://phpstan.org/r/c333fb80-5698-455c-97fc-82dd9f879687https://phpstan.org/r/c333fb80-5698-455c-97fc-82dd9f879687
phpstan/phpstan#11281https://github.com/phpstan/phpstan/issues/11281
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Jun 19, 2026https://github.com/phpstan/phpstan-src/pull/5876#issuecomment-4752206745
phpstan/phpstan#11281https://github.com/phpstan/phpstan/issues/11281
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
VincentLanglethttps://github.com/VincentLanglet
June 19, 2026 16:11https://github.com/phpstan/phpstan-src/pull/5876#commits-pushed-89a5eda
https://github.com/VincentLanglet
https://github.com/staabm
Keep subtype-absorbed variables as conditional-expression targets whe…https://github.com/phpstan/phpstan-src/pull/5876/commits/89a5edad5419c2b0867e790b0660c34fc00ac316
89a5edahttps://github.com/phpstan/phpstan-src/pull/5876/commits/89a5edad5419c2b0867e790b0660c34fc00ac316
@PHPStan-Ignorehttps://github.com/PHPStan-Ignore
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Build class reflection inside the loop in OptimizedDirectorySourceLoc…https://github.com/phpstan/phpstan-src/pull/5876/commits/6b46aa97aafd1fdcb04e5461ce6e0cccefbbff84
6b46aa9https://github.com/phpstan/phpstan-src/pull/5876/commits/6b46aa97aafd1fdcb04e5461ce6e0cccefbbff84
@PHPStan-Ignorehttps://github.com/PHPStan-Ignore
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Capture located file in OptimizedDirectorySourceLocator class branch …https://github.com/phpstan/phpstan-src/pull/5876/commits/07d80dfd4bc2b5739c7fffdd671adb42a5d8a8c5
07d80dfhttps://github.com/phpstan/phpstan-src/pull/5876/commits/07d80dfd4bc2b5739c7fffdd671adb42a5d8a8c5
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Add AccessPropertiesRule test for property access after assert in rep…https://github.com/phpstan/phpstan-src/pull/5876/commits/557afa8e907f63ff5a524640598d59902d9916f7
557afa8https://github.com/phpstan/phpstan-src/pull/5876/commits/557afa8e907f63ff5a524640598d59902d9916f7
phpstan/phpstan#4905https://github.com/phpstan/phpstan/issues/4905
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Exclude bug-4905.php from PHP 7.4 linthttps://github.com/phpstan/phpstan-src/pull/5876/commits/001a63755d51d508a767d595586fec55ae7fcaae
001a637https://github.com/phpstan/phpstan-src/pull/5876/commits/001a63755d51d508a767d595586fec55ae7fcaae
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Use inline lint comment for bug-4905.php instead of Makefile excludehttps://github.com/phpstan/phpstan-src/pull/5876/commits/d63f038a7aab9ad9b6ec4d407b37c2c763709ac5
d63f038https://github.com/phpstan/phpstan-src/pull/5876/commits/d63f038a7aab9ad9b6ec4d407b37c2c763709ac5
https://github.com/phpstan-bot
https://github.com/claude
https://github.com/staabm
Add NSRT test for improved type narrowing after try/catch flag (bug-1…https://github.com/phpstan/phpstan-src/pull/5876/commits/c4eaa5eff20a794f4df01ce8479d0093496aa69c
c4eaa5ehttps://github.com/phpstan/phpstan-src/pull/5876/commits/c4eaa5eff20a794f4df01ce8479d0093496aa69c
https://github.com/staabm
fixhttps://github.com/phpstan/phpstan-src/pull/5876/commits/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2
e5cbd0bhttps://github.com/phpstan/phpstan-src/pull/5876/commits/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/7b168226130cdf9940522209a93ef9e07a601ca3..e5cbd0b7654acbc14de6269410d439a7e1d5a0e2
7b16822https://github.com/phpstan/phpstan-src/commit/7b168226130cdf9940522209a93ef9e07a601ca3
e5cbd0bhttps://github.com/phpstan/phpstan-src/commit/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2
Compare https://github.com/phpstan/phpstan-src/compare/7b168226130cdf9940522209a93ef9e07a601ca3..e5cbd0b7654acbc14de6269410d439a7e1d5a0e2
June 19, 2026 14:11https://github.com/phpstan/phpstan-src/pull/5876#event-26960785595
https://github.com/staabm
staabmhttps://github.com/staabm
Jun 19, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4533476593
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2
https://github.com/staabm
staabmhttps://github.com/staabm
Jun 20, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4536810403
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files/e5cbd0b7654acbc14de6269410d439a7e1d5a0e2
staabmhttps://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4536810403
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://phpstan.org/r/bdf6da49-f84e-4a41-917b-f9639f64b742https://phpstan.org/r/bdf6da49-f84e-4a41-917b-f9639f64b742
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/phpstan-bot
https://github.com/claude
Add NSRT case for boolean-flag guard re-narrowing nullable to nullhttps://github.com/phpstan/phpstan-src/pull/5876/commits/5996af0d77beb18362e843c5372ba26ae4481882
5996af0https://github.com/phpstan/phpstan-src/pull/5876/commits/5996af0d77beb18362e843c5372ba26ae4481882
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Jun 20, 2026https://github.com/phpstan/phpstan-src/pull/5876#issuecomment-4757058476
https://phpstan.org/r/bdf6da49-f84e-4a41-917b-f9639f64b742https://phpstan.org/r/bdf6da49-f84e-4a41-917b-f9639f64b742
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/staabm
staabmhttps://github.com/staabm
Jun 20, 2026 https://github.com/phpstan/phpstan-src/pull/5876#pullrequestreview-4536824650
View reviewed changes https://github.com/phpstan/phpstan-src/pull/5876/files/5996af0d77beb18362e843c5372ba26ae4481882
https://github.com/staabm
staabmhttps://github.com/staabm
c53a7b8https://github.com/phpstan/phpstan-src/commit/c53a7b8a5fbc232f309109707f18e82ae9be5a60
Jun 20, 2026https://github.com/phpstan/phpstan-src/pull/5876#event-26983598698
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/staabm
staabmhttps://github.com/staabm
June 20, 2026 09:03https://github.com/phpstan/phpstan-src/pull/5876#event-26983599054
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Jun 26, 2026 https://github.com/phpstan/phpstan-src/pull/5876#ref-pullrequest-4750488064
Report type errors in function/method-calls on lower level, when MixedType is involved in Ternary #5939 https://github.com/phpstan/phpstan-src/pull/5939
staabmhttps://github.com/staabm
Jun 27, 2026 https://github.com/phpstan/phpstan-src/pull/5876#ref-commit-6324ede
https://github.com/staabm
Cover subtype-absorbed try/catch results surviving as conditional tar…https://github.com/phpstan-bot/phpstan-src/commit/6324ede9bc7735c66ff1adb42b6f744e8c1d31ab
6324edehttps://github.com/phpstan-bot/phpstan-src/commit/6324ede9bc7735c66ff1adb42b6f744e8c1d31ab
c53a7b8https://github.com/phpstan-bot/phpstan-src/commit/c53a7b8a5fbc232f309109707f18e82ae9be5a60
phpstan#5876https://github.com/phpstan/phpstan-src/pull/5876
Performance regression: keeping subtype-absorbed conditional targets (phpstan-src#5876) adds ~15% on constant-array loop code (bench bug-10538.php) phpstan/phpstan#14921 https://github.com/phpstan/phpstan/issues/14921
Performance regression: switch-heavy array-shape code ~30% slower since the type "reasons" commits (bench bug-7581.php) phpstan/phpstan#14918 https://github.com/phpstan/phpstan/issues/14918
Performance regression: deep !== chains ~30pp slower since TypeSpecifier→ExprHandler dispatch refactor (bench bug-14207-and.php, and-chain-truthy-blowup.php) phpstan/phpstan#14919 https://github.com/phpstan/phpstan/issues/14919
Performance regression: reverse isSuperTypeOf() guard check in MutatingScope (phpstan-src#5848) costs 13–21% on condition-heavy benches phpstan/phpstan#14920 https://github.com/phpstan/phpstan/issues/14920
Cache per-guard isSuperTypeOf() results in createConditionalExpressions() instead of recomputing them per target #6001 https://github.com/phpstan/phpstan-src/pull/6001
Skip constant-array guards when creating conditional expressions for subtype-absorbed targets #6002 https://github.com/phpstan/phpstan-src/pull/6002
ondrejmirteshttps://github.com/ondrejmirtes
Jul 4, 2026 https://github.com/phpstan/phpstan-src/pull/5876#ref-commit-ef3fe97
https://github.com/ondrejmirtes
Cache per-guard isSuperTypeOf() results in `createConditionalExpres…https://github.com/phpstan/phpstan-src/commit/ef3fe9765aab1d1b1d092f21b30338f2b8ccebe0
ef3fe97https://github.com/phpstan/phpstan-src/commit/ef3fe9765aab1d1b1d092f21b30338f2b8ccebe0
#5848https://github.com/phpstan/phpstan-src/pull/5848
#5848https://github.com/phpstan/phpstan-src/pull/5848
#5876https://github.com/phpstan/phpstan-src/pull/5876
ondrejmirteshttps://github.com/ondrejmirtes
Jul 4, 2026 https://github.com/phpstan/phpstan-src/pull/5876#ref-commit-6807620
https://github.com/ondrejmirtes
Skip constant-array guards when creating conditional expressions for …https://github.com/phpstan/phpstan-src/commit/68076207e8ec1fba7cde37b4fe22e39fd75abbdd
6807620https://github.com/phpstan/phpstan-src/commit/68076207e8ec1fba7cde37b4fe22e39fd75abbdd
#5876https://github.com/phpstan/phpstan-src/pull/5876
#5848https://github.com/phpstan/phpstan-src/pull/5848
#5876https://github.com/phpstan/phpstan-src/pull/5876
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Nov 13, 2026 https://github.com/phpstan/phpstan-src/pull/5876#ref-pullrequest-6381719098
Walk a while loop's exit condition instead of narrowing the body's scope by it #7063 https://github.com/phpstan/phpstan-src/pull/7063
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%2F5876
https://github.com/VincentLanglet
VincentLanglet https://github.com/VincentLanglet
https://github.com/phpstan/phpstan-src/pull/5876/files/54b40826c2b4fd36e71adb7e61b222fe6663a09f
https://github.com/staabm
staabm https://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/5876/files/5996af0d77beb18362e843c5372ba26ae4481882
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
mixed type is breaking conditional analysis type narrowing https://github.com/phpstan/phpstan/issues/7948
Cannot access property XX on Class|null after an assert https://github.com/phpstan/phpstan/issues/4905
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/5876
https://github.com/phpstan-bot
https://github.com/staabm
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.