| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:dc8ae70c-eb26-58bc-9f59-5a5c7555c733 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A534:31B4CC:C5B81C:1058D90:6B00F1EC |
| html-safe-nonce | 3773decd27991ee7257e2c192df495bff3fdec213793efcc4a516763d56564ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTM0OjMxQjRDQzpDNUI4MUM6MTA1OEQ5MDo2QjAwRjFFQyIsInZpc2l0b3JfaWQiOiI3MjM0NzU0MDAzOTUzODQwNjIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5e5e9155a01a7c061e80168b55ae729bf920b470ac5c1ba7039431d817fef61b |
| hovercard-subject-tag | pull_request:3401624657 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/phpstan/phpstan-src/5224/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5472a823b5230c218628a0341b77bd8a84a017e18d458ace1688e7ce844cae30/phpstan/phpstan-src/pull/5224 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5472a823b5230c218628a0341b77bd8a84a017e18d458ace1688e7ce844cae30/phpstan/phpstan-src/pull/5224 |
| og:image:alt | Hi, this is step ~7 out of 12 I have planned. The endgoal is to get rid of 17 % of performance penalty and repeated calls to MutatingScope::resolveType. Of course the performance improvement might ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ondrejmirtes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-cache |
| go-import | github.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git |
| octolytics-dimension-user_id | 16435710 |
| octolytics-dimension-user_login | phpstan |
| octolytics-dimension-repository_id | 219334214 |
| octolytics-dimension-repository_nwo | phpstan/phpstan-src |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 219334214 |
| octolytics-dimension-repository_network_root_nwo | phpstan/phpstan-src |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/phpstan/phpstan-src/pull/5224#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5224 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5224 |
| Sign up | https://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 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5224 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5224 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5224 |
| phpstan | https://github.com/phpstan |
| phpstan-src | https://github.com/phpstan/phpstan-src |
| Code | https://github.com/phpstan/phpstan-src |
| Pull requests186 (186) | https://github.com/phpstan/phpstan-src/pulls |
| Actions | https://github.com/phpstan/phpstan-src/actions |
| Security and quality | https://github.com/phpstan/phpstan-src/security |
| Insights | https://github.com/phpstan/phpstan-src/insights |
| https://github.com/phpstan/phpstan-src |
| ondrejmirtes | https://github.com/ondrejmirtes |
| 2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| expression-result-type | https://github.com/phpstan/phpstan-src/tree/expression-result-type |
| Conversation | https://github.com/phpstan/phpstan-src/pull/5224 |
| Commits11 (11) | https://github.com/phpstan/phpstan-src/pull/5224/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/5224/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/5224/files |
| WIP: Resolve types in processExpr | https://github.com/phpstan/phpstan-src/pull/5224#top |
| ondrejmirtes | https://github.com/ondrejmirtes |
| 2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| expression-result-type | https://github.com/phpstan/phpstan-src/tree/expression-result-type |
|
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Mar 15, 2026 | https://github.com/phpstan/phpstan-src/pull/5224#issue-4079056581 |
| phpstan-src/src/Analyser/MutatingScope.php | https://github.com/phpstan/phpstan-src/blob/f1e88529a680470d23bbce177b8a57a1b429421b/src/Analyser/MutatingScope.php#L1069 |
| f1e8852 | https://github.com/phpstan/phpstan-src/commit/f1e88529a680470d23bbce177b8a57a1b429421b |
| phpstan-src/src/Analyser/TypeSpecifier.php | https://github.com/phpstan/phpstan-src/blob/c14518f41ee154d2e6a73a47a6b617404a65d203/src/Analyser/TypeSpecifier.php#L1994-L2001 |
| c14518f | https://github.com/phpstan/phpstan-src/commit/c14518f41ee154d2e6a73a47a6b617404a65d203 |
| https://phpstan.org/r/51fc6cea-be4d-47f5-a4b8-e13416fd3f62 | https://phpstan.org/r/51fc6cea-be4d-47f5-a4b8-e13416fd3f62 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| March 14, 2026 17:45 | https://github.com/phpstan/phpstan-src/pull/5224#commits-pushed-2042c44 |
|
| https://github.com/ondrejmirtes |
| Introduce ExpressionResultFactory | https://github.com/phpstan/phpstan-src/pull/5224/commits/2042c44bde3168f4a47fe7bc234cd30adfb8c8c9 |
| 2042c44 | https://github.com/phpstan/phpstan-src/pull/5224/commits/2042c44bde3168f4a47fe7bc234cd30adfb8c8c9 |
|
| https://github.com/ondrejmirtes |
| Add Expr to ExpressionResult | https://github.com/phpstan/phpstan-src/pull/5224/commits/af917b701502e361321e31cefe411751befebaa2 |
| af917b7 | https://github.com/phpstan/phpstan-src/pull/5224/commits/af917b701502e361321e31cefe411751befebaa2 |
|
| https://github.com/ondrejmirtes |
| Introduce Type getters on ExpressionResult | https://github.com/phpstan/phpstan-src/pull/5224/commits/b2ce1a05580f70722b9c99e1f33d6da3ed703345 |
| b2ce1a0 | https://github.com/phpstan/phpstan-src/pull/5224/commits/b2ce1a05580f70722b9c99e1f33d6da3ed703345 |
|
| https://github.com/ondrejmirtes |
| Use ExpressionResult::getType() and getNativeType() instead of `$scop… | https://github.com/phpstan/phpstan-src/pull/5224/commits/e94f8fdb8ccf1c2706213ec990171b4c80793ccb |
| e94f8fd | https://github.com/phpstan/phpstan-src/pull/5224/commits/e94f8fdb8ccf1c2706213ec990171b4c80793ccb |
|
| https://github.com/ondrejmirtes |
| FuncCallHandler and MethodCallHandler | https://github.com/phpstan/phpstan-src/pull/5224/commits/57ee9ca6e3e05964b2bc084dda4e72075d65cec1 |
| 57ee9ca | https://github.com/phpstan/phpstan-src/pull/5224/commits/57ee9ca6e3e05964b2bc084dda4e72075d65cec1 |
|
| https://github.com/ondrejmirtes |
| NewHandler and StaticCallHandler | https://github.com/phpstan/phpstan-src/pull/5224/commits/20ccc34e4b7a0a23fd67980ca875d84aa81c504f |
| 20ccc34 | https://github.com/phpstan/phpstan-src/pull/5224/commits/20ccc34e4b7a0a23fd67980ca875d84aa81c504f |
|
| https://github.com/ondrejmirtes |
| earlyTerminating calls refactored to always infer expr type as NeverType | https://github.com/phpstan/phpstan-src/pull/5224/commits/35ed979b7458b7f5453f2f00d1f04c3635130fd5 |
| 35ed979 | https://github.com/phpstan/phpstan-src/pull/5224/commits/35ed979b7458b7f5453f2f00d1f04c3635130fd5 |
|
| https://github.com/ondrejmirtes |
| Refactored issetCheck in MutatingScope to be usable inside typeCallback | https://github.com/phpstan/phpstan-src/pull/5224/commits/7fcae9c9cef3e6cb9d409d19c91c57e61e7a34d2 |
| 7fcae9c | https://github.com/phpstan/phpstan-src/pull/5224/commits/7fcae9c9cef3e6cb9d409d19c91c57e61e7a34d2 |
|
| https://github.com/ondrejmirtes |
| Use earlyTerminating*Calls in handler resolveType to return NeverType | https://github.com/phpstan/phpstan-src/pull/5224/commits/c99ef33ae2c7d81a3dbc38ef742e97b6a8995e8b |
| c99ef33 | https://github.com/phpstan/phpstan-src/pull/5224/commits/c99ef33ae2c7d81a3dbc38ef742e97b6a8995e8b |
|
| https://github.com/ondrejmirtes |
| Implement typeCallback in Coalesce/Empty/Isset handlers | https://github.com/phpstan/phpstan-src/pull/5224/commits/fed60a2a77375963b193fde3f52afd15853b2357 |
| fed60a2 | https://github.com/phpstan/phpstan-src/pull/5224/commits/fed60a2a77375963b193fde3f52afd15853b2357 |
|
| https://github.com/ondrejmirtes |
| Remaining fixes | https://github.com/phpstan/phpstan-src/pull/5224/commits/7fe5e4ec6b3c730db33677f1f0c62bcf9c6c9f6b |
| 7fe5e4e | https://github.com/phpstan/phpstan-src/pull/5224/commits/7fe5e4ec6b3c730db33677f1f0c62bcf9c6c9f6b |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Mar 15, 2026 | https://github.com/phpstan/phpstan-src/pull/5224#event-23587802410 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Mar 16, 2026
| https://github.com/phpstan/phpstan-src/pull/5224#pullrequestreview-3954814386 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5224/files/7fe5e4ec6b3c730db33677f1f0c62bcf9c6c9f6b |
| staabm | https://github.com/staabm |
| https://github.com/phpstan/phpstan-src/pull/5224#pullrequestreview-3954814386 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
| src/Analyser/ExpressionResult.php | https://github.com/phpstan/phpstan-src/pull/5224/files/7fe5e4ec6b3c730db33677f1f0c62bcf9c6c9f6b#diff-37913c962547c58d9f719018cc4a4e0aac597c5e051795eb4c4100f63e882ed6 |
| staabm | https://github.com/staabm |
| Mar 16, 2026 | https://github.com/phpstan/phpstan-src/pull/5224#discussion_r2941240813 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Mar 16, 2026 | https://github.com/phpstan/phpstan-src/pull/5224#discussion_r2941397953 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Mar 16, 2026 | https://github.com/phpstan/phpstan-src/pull/5224#discussion_r2941400611 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Mar 18, 2026
| https://github.com/phpstan/phpstan-src/pull/5224#ref-pullrequest-4079303942 |
|
Call operator type specifying extensions for bitwise and arithmetic operators
#5226
| https://github.com/phpstan/phpstan-src/pull/5226 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Mar 29, 2026
| https://github.com/phpstan/phpstan-src/pull/5224#ref-pullrequest-4163260520 |
|
flatten deep BooleanOr chains in TypeSpecifier to avoid O(n^2) recursion
#5324
| https://github.com/phpstan/phpstan-src/pull/5324 |
| https://github.com/SanderMuller |
| SanderMuller | https://github.com/SanderMuller |
|
Mar 29, 2026
| https://github.com/phpstan/phpstan-src/pull/5224#pullrequestreview-4026751170 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5224/files/7fe5e4ec6b3c730db33677f1f0c62bcf9c6c9f6b |
| SanderMuller | https://github.com/SanderMuller |
| https://github.com/phpstan/phpstan-src/pull/5224#pullrequestreview-4026751170 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
| src/Analyser/ExpressionResult.php | https://github.com/phpstan/phpstan-src/pull/5224/files/7fe5e4ec6b3c730db33677f1f0c62bcf9c6c9f6b#diff-37913c962547c58d9f719018cc4a4e0aac597c5e051795eb4c4100f63e882ed6 |
| SanderMuller | https://github.com/SanderMuller |
| Mar 29, 2026 | https://github.com/phpstan/phpstan-src/pull/5224#discussion_r3006175143 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Jun 10, 2026 | https://github.com/phpstan/phpstan-src/pull/5224#issuecomment-4668246585 |
| #5838 | https://github.com/phpstan/phpstan-src/pull/5838 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Jun 10, 2026 | https://github.com/phpstan/phpstan-src/pull/5224#event-26563822531 |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Jun 11, 2026
| https://github.com/phpstan/phpstan-src/pull/5224#ref-commit-cdcb73f |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/claude |
| Deliver ExpressionResult (with type callbacks) to FiberScope and engine | https://github.com/phpstan/phpstan-src/commit/cdcb73f86569a0a0172d455115138decf386f5a3 |
| cdcb73f | https://github.com/phpstan/phpstan-src/commit/cdcb73f86569a0a0172d455115138decf386f5a3 |
| #5224 | https://github.com/phpstan/phpstan-src/pull/5224 |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpstan-src/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5224 |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/5224/files/7fe5e4ec6b3c730db33677f1f0c62bcf9c6c9f6b |
|
| https://github.com/SanderMuller |
|
SanderMuller
| https://github.com/SanderMuller |
|
| https://github.com/phpstan/phpstan-src/pull/5224/files/7fe5e4ec6b3c730db33677f1f0c62bcf9c6c9f6b |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5224 |
|
| https://github.com/ondrejmirtes |
|
| https://github.com/staabm |
|
| https://github.com/SanderMuller |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |