Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
phpstan
/
phpstan-src
Public
Notifications
You must be signed in to change notification settings
Fork
583
Star
397
Code
Pull requests
170
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
WIP: Resolve types in processExpr
- #5224
#5224
Closed
ondrejmirtes
wants to merge 11 commits into
2.1.x
phpstan/phpstan-src:2.1.x
from
expression-result-type
phpstan/phpstan-src:expression-result-type
Copy head branch name to clipboard
Conversation
Commits
11
(11)
Checks
Files changed
Closed
WIP: Resolve types in processExpr
#5224
ondrejmirtes
wants to merge 11 commits into
2.1.x
phpstan/phpstan-src:2.1.x
from
expression-result-type
phpstan/phpstan-src:expression-result-type
Copy head branch name to clipboard
Commits
Commits on Mar 14, 2026
Introduce ExpressionResultFactory
ondrejmirtes
committed
2042c44
View commit details
Copy full SHA for 2042c44
Browse repository at this point
Add Expr to ExpressionResult
ondrejmirtes
committed
af917b7
View commit details
Copy full SHA for af917b7
Browse repository at this point
Introduce Type getters on ExpressionResult
ondrejmirtes
committed
b2ce1a0
View commit details
Copy full SHA for b2ce1a0
Browse repository at this point
Use ExpressionResult::getType() and getNativeType() instead of `$scope` wherever possible
ondrejmirtes
committed
e94f8fd
View commit details
Copy full SHA for e94f8fd
Browse repository at this point
Commits on Mar 15, 2026
FuncCallHandler and MethodCallHandler
ondrejmirtes
committed
57ee9ca
View commit details
Copy full SHA for 57ee9ca
Browse repository at this point
NewHandler and StaticCallHandler
ondrejmirtes
committed
20ccc34
View commit details
Copy full SHA for 20ccc34
Browse repository at this point
earlyTerminating calls refactored to always infer expr type as NeverType
ondrejmirtes
committed
35ed979
View commit details
Copy full SHA for 35ed979
Browse repository at this point
Refactored issetCheck in MutatingScope to be usable inside typeCallback
ondrejmirtes
committed
7fcae9c
View commit details
Copy full SHA for 7fcae9c
Browse repository at this point
Use earlyTerminating*Calls in handler resolveType to return NeverType
ondrejmirtes
committed
c99ef33
View commit details
Copy full SHA for c99ef33
Browse repository at this point
Implement typeCallback in Coalesce/Empty/Isset handlers
ondrejmirtes
committed
fed60a2
View commit details
Copy full SHA for fed60a2
Browse repository at this point
Remaining fixes
ondrejmirtes
committed
7fe5e4e
View commit details
Copy full SHA for 7fe5e4e
Browse repository at this point
You can’t perform that action at this time.