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
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 }}
peter17
/
phpstan-src
Public
forked from
phpstan/phpstan-src
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Security and quality
0
Insights
Additional navigation options
Code
Security and quality
Insights
Commits
Breadcrumbs
History for
phpstan-src
src
Type
TypeCombinator.php
on
patch3
User selector
All users
All time
Commit history
Commits on Aug 8, 2026
Faster `HasOffsetType`, `HasOffsetValueType` intersection (#6195)
Show description for 81e06a5
3 people
authored
81e06a5
View commit details
Copy full SHA for 81e06a5
View code at this point
Browse repository at this point
TypeCombinator: remove unnecessary iteration over types (#6194)
staabm
authored
03fb80d
View commit details
Copy full SHA for 03fb80d
View code at this point
Browse repository at this point
Commits on Aug 3, 2026
Answer `UnionType` comparisons from an identity-keyed `FiniteTypeSet` instead of scanning every member (#6116)
phpstan-bot
authored
34175c4
View commit details
Copy full SHA for 34175c4
View code at this point
Browse repository at this point
Commits on Jul 20, 2026
Derive the turbo Runtime class map from attributes and enforce differential coverage
Show description for ce1a7f1
ondrejmirtes
and
claude
committed
ce1a7f1
View commit details
Copy full SHA for ce1a7f1
View code at this point
Browse repository at this point
Commits on Jul 13, 2026
Memoize TypeCombinator's binary operations in the extension
Show description for 1a1512e
ondrejmirtes
and
claude
committed
1a1512e
View commit details
Copy full SHA for 1a1512e
View code at this point
Browse repository at this point
Commits on Jul 4, 2026
Compute `ConstantArrayType` sealed-shape `isSuperTypeOf()` reasons lazily via `IsSuperTypeOfResult` closures
Show description for 411daa4
ondrejmirtes
committed
411daa4
View commit details
Copy full SHA for 411daa4
View code at this point
Browse repository at this point
Commits on Jun 25, 2026
Constant-scalar and enum-case union fast path in TypeCombinator::intersect (#5935)
SanderMuller
authored
041824d
View commit details
Copy full SHA for 041824d
View code at this point
Browse repository at this point
Faster TypeCombinator (#5934)
staabm
authored
a9a9630
View commit details
Copy full SHA for a9a9630
View code at this point
Browse repository at this point
Commits on Jun 12, 2026
Implement `AccessoryDecimalIntegerStringType::tryRemove()` and preserve accessories when re-unioning `'0'` (#5816)
Show description for aa4ea74
3 people
authored
aa4ea74
View commit details
Copy full SHA for aa4ea74
View code at this point
Browse repository at this point
Commits on Jun 9, 2026
Explain unresolvable and impossible types with reasons
Show description for a01080e
ondrejmirtes
and
claude
committed
a01080e
View commit details
Copy full SHA for a01080e
View code at this point
Browse repository at this point
Avoid redundant work in hot type-system and scope paths
Show description for a0d9720
ondrejmirtes
and
claude
committed
a0d9720
View commit details
Copy full SHA for a0d9720
View code at this point
Browse repository at this point
Commits on May 20, 2026
Re-tighten bug-7963 @phpstan-return on unsealed
Show description for 77dcce4
ondrejmirtes
and
claude
committed
77dcce4
View commit details
Copy full SHA for 77dcce4
View code at this point
Browse repository at this point
Preserve unsealed extras when intersecting array{...} with another array
Show description for d2a82f6
ondrejmirtes
and
claude
committed
d2a82f6
View commit details
Copy full SHA for d2a82f6
View code at this point
Browse repository at this point
Optimization
ondrejmirtes
committed
e22e420
View commit details
Copy full SHA for e22e420
View code at this point
Browse repository at this point
union improvement
ondrejmirtes
committed
bb4ea57
View commit details
Copy full SHA for bb4ea57
View code at this point
Browse repository at this point
isSuperTypeOf
ondrejmirtes
committed
f389a5e
View commit details
Copy full SHA for f389a5e
View code at this point
Browse repository at this point
intersecting improvement
ondrejmirtes
committed
b2c4d83
View commit details
Copy full SHA for b2c4d83
View code at this point
Browse repository at this point
Dedup code
ondrejmirtes
committed
183febb
View commit details
Copy full SHA for 183febb
View code at this point
Browse repository at this point
Commits on May 14, 2026
Merge branch 2.1.x into 2.2.x
phpstan-bot
committed
87ce96f
View commit details
Copy full SHA for 87ce96f
View code at this point
Browse repository at this point
Re-check scalar types after integer range expansion in TypeCombinator::union (#5660)
Show description for f8dd187
3 people
authored
f8dd187
View commit details
Copy full SHA for f8dd187
View code at this point
Browse repository at this point
Merge branch 2.1.x into 2.2.x
phpstan-bot
committed
6054145
View commit details
Copy full SHA for 6054145
View code at this point
Browse repository at this point
Prevent issue with accessory-only IntersectionType
ondrejmirtes
committed
f2af15b
View commit details
Copy full SHA for f2af15b
View code at this point
Browse repository at this point
Commits on Apr 30, 2026
Merge remote-tracking branch 'origin/2.1.x' into 2.2.x
ondrejmirtes
committed
f499d35
View commit details
Copy full SHA for f499d35
View code at this point
Browse repository at this point
Fix oversized-array self-rejection in `optimizeConstantArrays`
Show description for 9743346
3 people
committed
9743346
View commit details
Copy full SHA for 9743346
View code at this point
Browse repository at this point
Commits on Apr 27, 2026
Merge branch 2.1.x into 2.2.x
phpstan-bot
committed
a883ebf
View commit details
Copy full SHA for a883ebf
View code at this point
Browse repository at this point
Two-stage collapse for oversized constant arrays
Show description for e1acb89
ondrejmirtes
and
claude
committed
e1acb89
View commit details
Copy full SHA for e1acb89
View code at this point
Browse repository at this point
Commits on Apr 16, 2026
Merge branch 2.1.x into 2.2.x
phpstan-bot
committed
6a1b4a7
View commit details
Copy full SHA for 6a1b4a7
View code at this point
Browse repository at this point
More pair-wise intersect
ondrejmirtes
committed
b26d08c
View commit details
Copy full SHA for b26d08c
View code at this point
Browse repository at this point
Commits on Apr 15, 2026
Merge remote-tracking branch 'origin/2.1.x' into 2.2.x
ondrejmirtes
committed
d6a4374
View commit details
Copy full SHA for d6a4374
View code at this point
Browse repository at this point
Use position-specific `getOffsetValueType()` instead of `getIterableValueType()` when intersecting two `ConstantArrayType`s (#5468)
Show description for 56ecce5
3 people
authored
56ecce5
View commit details
Copy full SHA for 56ecce5
View code at this point
Browse repository at this point
Merge branch 2.1.x into 2.2.x
phpstan-bot
committed
88b8a69
View commit details
Copy full SHA for 88b8a69
View code at this point
Browse repository at this point
Fix for performance issue
Show description for 6586de9
ondrejmirtes
committed
6586de9
View commit details
Copy full SHA for 6586de9
View code at this point
Browse repository at this point
Commits on Apr 2, 2026
Merge branch 2.1.x into 2.2.x
phpstan-bot
committed
94bbb6d
View commit details
Copy full SHA for 94bbb6d
View code at this point
Browse repository at this point
TypeCombinator: Remove always true condition (#5383)
staabm
authored
9c915ec
View commit details
Copy full SHA for 9c915ec
View code at this point
Browse repository at this point
Commits on Apr 1, 2026
Merge branch 2.1.x into 2.2.x
phpstan-bot
committed
51b0ae1
View commit details
Copy full SHA for 51b0ae1
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.