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 }}
SanderMuller
/
phpstan-src
Public
forked from
phpstan/phpstan-src
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
6
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
phpstan-src
src
Testing
on
result-cache-e2e-patch
User selector
All users
All time
Commit history
Commits on Jul 6, 2026
Utilize ConfiguredPhpVersionRangeHelper (#6017)
staabm
authored
c1f6ad0
View commit details
Copy full SHA for c1f6ad0
View code at this point
Browse repository at this point
Commits on Jul 4, 2026
Make the cap configurable via cache.resolvedLocalTypeAliasesCountMax
Show description for 8a623d0
ondrejmirtes
and
claude
committed
8a623d0
View commit details
Copy full SHA for 8a623d0
View code at this point
Browse repository at this point
Commits on Jul 2, 2026
Keep a single memoization layer for located reflections
Show description for 0f1ad6e
ondrejmirtes
and
claude
committed
0f1ad6e
View commit details
Copy full SHA for 0f1ad6e
View code at this point
Browse repository at this point
Configure LRU limits of BetterReflection memoizing caches
Show description for 550c878
ondrejmirtes
and
claude
committed
550c878
View commit details
Copy full SHA for 550c878
View code at this point
Browse repository at this point
Commits on Jun 25, 2026
Invalidate only package-dependent files when a Composer package changes
Show description for 29140da
2 people
authored and
ondrejmirtes
committed
29140da
View commit details
Copy full SHA for 29140da
View code at this point
Browse repository at this point
Commits on Jun 24, 2026
Re-register the DI container in `setUp()` of tests with PHP-version-dependent reflection assertions - fixes racy/flaky tests (#5917)
Show description for 5bcff71
3 people
authored
5bcff71
View commit details
Copy full SHA for 5bcff71
View code at this point
Browse repository at this point
Commits on May 20, 2026
Tip in assertNoErrors
ondrejmirtes
committed
6b57c1e
View commit details
Copy full SHA for 6b57c1e
View code at this point
Browse repository at this point
Commits on Apr 7, 2026
Merge branch '2.1.x' into m21
staabm
committed
6002ee4
View commit details
Copy full SHA for 6002ee4
View code at this point
Browse repository at this point
Fix phpstan/phpstan#5952: Allow throwing exceptions from __toString() not detected since level 4 (#5405)
Show description for 7ebe2f2
3 people
authored
7ebe2f2
View commit details
Copy full SHA for 7ebe2f2
View code at this point
Browse repository at this point
Commits on Mar 24, 2026
Merge branch 2.1.x into 2.2.x
phpstan-bot
committed
99a06c1
View commit details
Copy full SHA for 99a06c1
View code at this point
Browse repository at this point
Introduce UnaryOperatorTypeSpecifyingExtension interface (#5284)
Show description for 332e405
Firehed
and
claude
authored
332e405
View commit details
Copy full SHA for 332e405
View code at this point
Browse repository at this point
Commits on Mar 20, 2026
Allow custom rules to emit collector data for CollectedDataNode
ondrejmirtes
committed
261cf49
View commit details
Copy full SHA for 261cf49
View code at this point
Browse repository at this point
Commits on Mar 11, 2026
Restore $container in bootstrap closure, move AbstractBenchCase to tests/bench/
Show description for 2902fcf
claude
authored and
ondrejmirtes
committed
2902fcf
View commit details
Copy full SHA for 2902fcf
View code at this point
Browse repository at this point
Extract PHPStanTestCaseTrait and add AbstractBenchCase for phpbench
Show description for fa1afb3
claude
authored and
ondrejmirtes
committed
fa1afb3
View commit details
Copy full SHA for fa1afb3
View code at this point
Browse repository at this point
Commits on Mar 8, 2026
resolveType for method call handlers
ondrejmirtes
committed
19faea6
View commit details
Copy full SHA for 19faea6
View code at this point
Browse repository at this point
resolveType in closures handlers
ondrejmirtes
committed
5fa2f28
View commit details
Copy full SHA for 5fa2f28
View code at this point
Browse repository at this point
Move processAssignVar
ondrejmirtes
committed
7af5078
View commit details
Copy full SHA for 7af5078
View code at this point
Browse repository at this point
Commits on Mar 7, 2026
Cleanup NodeScopeResolver
ondrejmirtes
committed
867107e
View commit details
Copy full SHA for 867107e
View code at this point
Browse repository at this point
Use ExprHandler to resolve expr type
ondrejmirtes
committed
a11b86d
View commit details
Copy full SHA for a11b86d
View code at this point
Browse repository at this point
ExprHandler scaffolding
ondrejmirtes
committed
8f9295c
View commit details
Copy full SHA for 8f9295c
View code at this point
Browse repository at this point
Commits on Mar 4, 2026
Tip about adding `@phpstan-impure` where applicable
ondrejmirtes
authored
cf070ae
View commit details
Copy full SHA for cf070ae
View code at this point
Browse repository at this point
Commits on Feb 23, 2026
feat: add option to report ignores without comments
calebdw
authored and
ondrejmirtes
committed
5ed2f90
View commit details
Copy full SHA for 5ed2f90
View code at this point
Browse repository at this point
Revert "feat: add option to report ignores without comments"
Show description for f1e8852
ondrejmirtes
committed
f1e8852
View commit details
Copy full SHA for f1e8852
View code at this point
Browse repository at this point
feat: add option to report ignores without comments
calebdw
authored and
ondrejmirtes
committed
c5db948
View commit details
Copy full SHA for c5db948
View code at this point
Browse repository at this point
Commits on Feb 18, 2026
Fix test lint-comment (#4986)
staabm
authored
4557edd
View commit details
Copy full SHA for 4557edd
View code at this point
Browse repository at this point
Commits on Feb 11, 2026
Use named arguments for unreadable calls
claude
authored and
ondrejmirtes
committed
5930232
View commit details
Copy full SHA for 5930232
View code at this point
Browse repository at this point
Commits on Jan 20, 2026
narrowMethodScopeFromConstructor parameter no longer needed because RuleTestCase sorts the errors
ondrejmirtes
committed
cd1f95f
View commit details
Copy full SHA for cd1f95f
View code at this point
Browse repository at this point
RuleTestCase - sort actual and expected errors before comparing
ondrejmirtes
committed
530f3cf
View commit details
Copy full SHA for 530f3cf
View code at this point
Browse repository at this point
Commits on Jan 19, 2026
FNSR is enabled for everyone on PHP 8.1+
ondrejmirtes
committed
eb38be9
View commit details
Copy full SHA for eb38be9
View code at this point
Browse repository at this point
Commits on Jan 1, 2026
Reapply "Enable FileCacheStorage for OptimizedDirectorySourceLocatorFactory in tests" (#4693)
staabm
authored
1dc7058
View commit details
Copy full SHA for 1dc7058
View code at this point
Browse repository at this point
Commits on Dec 29, 2025
Revert "Enable FileCacheStorage for OptimizedDirectorySourceLocatorFactory in tests"
Show description for d8decc8
ondrejmirtes
committed
d8decc8
View commit details
Copy full SHA for d8decc8
View code at this point
Browse repository at this point
Commits on Dec 23, 2025
Use sha256 which is cpu optimized in PHP 8.4+
staabm
authored and
ondrejmirtes
committed
cf888f8
View commit details
Copy full SHA for cf888f8
View code at this point
Browse repository at this point
Commits on Dec 19, 2025
Remove Generator namespace
ondrejmirtes
committed
0e9bfb4
View commit details
Copy full SHA for 0e9bfb4
View code at this point
Browse repository at this point
Introduce DeepNodeCloner
ondrejmirtes
committed
80d12db
View commit details
Copy full SHA for 80d12db
View code at this point
Browse repository at this point
Commits on Dec 17, 2025
GNSR is dead, long live FNSR
ondrejmirtes
committed
719a973
View commit details
Copy full SHA for 719a973
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.