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 }}
phpstan-bot
/
phpstan-src
Public
forked from
phpstan/phpstan-src
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Actions
Security and quality
0
Insights
Additional navigation options
Code
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
phpstan-src
src
Rules
on
create-pull-request/patch-du7o7vj
User selector
All users
All time
Commit history
Commits on Aug 10, 2026
`src/Rules/Api/*Rule`: cheap checks first (#6206)
staabm
authored
c24bcf4
View commit details
Copy full SHA for c24bcf4
View code at this point
Browse repository at this point
`Rules\LazyRegistry`, `Collectors\Registry`: Cache extension-class-names (#6205)
staabm
authored
d6f211f
View commit details
Copy full SHA for d6f211f
View code at this point
Browse repository at this point
Commits on Aug 8, 2026
Avoid warning about non-nullable class-property in traits. (#6100)
peter17
authored
80e0e7b
View commit details
Copy full SHA for 80e0e7b
View code at this point
Browse repository at this point
Commits on Aug 4, 2026
Restore @param ErrorIdentifier phpdoc on IssetCheck::checkUndefinedInner()
ondrejmirtes
committed
5373fad
View commit details
Copy full SHA for 5373fad
View code at this point
Browse repository at this point
Commits on Jul 31, 2026
Scope deferred constant-condition errors and markers per file
Show description for 55a7732
ondrejmirtes
and
claude
committed
55a7732
View commit details
Copy full SHA for 55a7732
View code at this point
Browse repository at this point
Defer match arm comparison errors only for match(true)-style subjects
Show description for 9b1fefa
ondrejmirtes
and
claude
committed
9b1fefa
View commit details
Copy full SHA for 9b1fefa
View code at this point
Browse repository at this point
Check destructured @var items against the native offset type
Show description for f511cff
ondrejmirtes
and
claude
committed
f511cff
View commit details
Copy full SHA for f511cff
View code at this point
Browse repository at this point
Check yield operand voidness through getKeepVoidType()
Show description for 2e7c9bd
ondrejmirtes
and
claude
committed
2e7c9bd
View commit details
Copy full SHA for 2e7c9bd
View code at this point
Browse repository at this point
Commits on Jul 30, 2026
Run the impossible-check and nullsafe rules on post-processing virtual nodes
Show description for b9d4cb6
ondrejmirtes
and
claude
committed
b9d4cb6
View commit details
Copy full SHA for b9d4cb6
View code at this point
Browse repository at this point
Resolve isset/empty/?? chains from handler-built descriptors
Show description for ac92f19
ondrejmirtes
and
claude
committed
ac92f19
View commit details
Copy full SHA for ac92f19
View code at this point
Browse repository at this point
Emit SwitchConditionNode and report always-false switch case comparisons
phpstan-bot
authored
6e24090
View commit details
Copy full SHA for 6e24090
View code at this point
Browse repository at this point
Commits on Jul 29, 2026
Resolve __DIR__ and __FILE__ against the trait file in a trait context
zonuexe
authored
88a9c7b
View commit details
Copy full SHA for 88a9c7b
View code at this point
Browse repository at this point
Commits on Jul 28, 2026
Deduplicate constant-condition vs impossible-check reports via collectors instead of asking the type specifier inline
ondrejmirtes
committed
5797ebc
View commit details
Copy full SHA for 5797ebc
View code at this point
Browse repository at this point
Resolve a relative include against the trait file in a trait context (#6127)
zonuexe
authored
18d63b5
View commit details
Copy full SHA for 18d63b5
View code at this point
Browse repository at this point
Eliminate the GetIterableValueTypeExpr virtual node
ondrejmirtes
committed
72e9601
View commit details
Copy full SHA for 72e9601
View code at this point
Browse repository at this point
Eliminate the GetIterableKeyTypeExpr virtual node
ondrejmirtes
committed
60aae21
View commit details
Copy full SHA for 60aae21
View code at this point
Browse repository at this point
Eliminate the GetOffsetValueTypeExpr virtual node
ondrejmirtes
committed
d2ea517
View commit details
Copy full SHA for d2ea517
View code at this point
Browse repository at this point
Commits on Jul 26, 2026
Report a haystack value only when its generalized type is not a supertype of the needle type (#6108)
phpstan-bot
authored
777a0fb
View commit details
Copy full SHA for 777a0fb
View code at this point
Browse repository at this point
Commits on Jul 25, 2026
Convert DeprecationProvider and all inline getServicesByTag() callers to extension collections
Show description for c64788d
ondrejmirtes
and
claude
committed
c64788d
View commit details
Copy full SHA for c64788d
View code at this point
Browse repository at this point
Introduce ExtensionsCollection, #[AutowiredExtensions] and Container::getExtensionsCollection(), replace extension providers
Show description for 02a3044
ondrejmirtes
and
claude
committed
02a3044
View commit details
Copy full SHA for 02a3044
View code at this point
Browse repository at this point
Commits on Jul 23, 2026
Introduce #[InstanceofDeprecated] attribute, derive ApiInstanceofTypeRule map from it
Show description for 386d499
ondrejmirtes
and
claude
committed
386d499
View commit details
Copy full SHA for 386d499
View code at this point
Browse repository at this point
Add autoTag parameter to #[AutowiredService], migrate services that must not be auto-tagged
Show description for 075fc7b
ondrejmirtes
and
claude
committed
075fc7b
View commit details
Copy full SHA for 075fc7b
View code at this point
Browse repository at this point
Introduce #[ExtensionInterface] attribute, derive the interface-tag mapping from it
Show description for 50ca0dc
ondrejmirtes
and
claude
committed
50ca0dc
View commit details
Copy full SHA for 50ca0dc
View code at this point
Browse repository at this point
Commits on Jul 21, 2026
Do not report abstract interface methods provided by a non-abstract built-in parent class in `MissingMethodImplementationRule`
Show description for f997b1d
phpstan-bot
and
staabm
authored
f997b1d
View commit details
Copy full SHA for f997b1d
View code at this point
Browse repository at this point
Commits on Jul 18, 2026
Do not park fibers on expressions that can never receive a before-scope
Show description for 6a09a92
ondrejmirtes
and
claude
committed
6a09a92
View commit details
Copy full SHA for 6a09a92
View code at this point
Browse repository at this point
Report `?? null` / `??= null` on an always-set left side as an unnecessary null coalesce
Show description for b20c608
4 people
authored
b20c608
View commit details
Copy full SHA for b20c608
View code at this point
Browse repository at this point
Commits on Jul 16, 2026
Treat all in-scope variables as used when an unused-parameter body accesses a variable variable (`$$name`) (#6058)
phpstan-bot
authored
371b67d
View commit details
Copy full SHA for 371b67d
View code at this point
Browse repository at this point
Treat all in-scope variables as used when a closure or constructor body contains `include`/`require`/`eval` (#6056)
Show description for 501ac99
phpstan-bot
and
staabm
authored
501ac99
View commit details
Copy full SHA for 501ac99
View code at this point
Browse repository at this point
Commits on Jul 15, 2026
Describe types with getRecommendedLevelByType in impossible haystack value errors
Show description for be6f4de
ondrejmirtes
and
claude
committed
be6f4de
View commit details
Copy full SHA for be6f4de
View code at this point
Browse repository at this point
Report finite-typed values in a constant array haystack that can never be the in_array()/array_search()/array_keys() needle (#6054)
phpstan-bot
authored
873b78c
View commit details
Copy full SHA for 873b78c
View code at this point
Browse repository at this point
Commits on Jul 11, 2026
Faster DuplicateFunctionDeclarationRule (#6039)
staabm
authored
e58fab6
View commit details
Copy full SHA for e58fab6
View code at this point
Browse repository at this point
Faster DuplicateClassDeclarationRule (#6038)
staabm
authored
fbecbb8
View commit details
Copy full SHA for fbecbb8
View code at this point
Browse repository at this point
Fix 'path ... does not exist' false-positive for expr containing DIRECTORY_SEPARATOR (#6035)
staabm
authored
60fa8e3
View commit details
Copy full SHA for 60fa8e3
View code at this point
Browse repository at this point
Commits on Jul 7, 2026
Implement `@pure-unless-callable-is-impure` (#3482)
zonuexe
authored
4dd8467
View commit details
Copy full SHA for 4dd8467
View code at this point
Browse repository at this point
Commits on Jul 6, 2026
Do not treat offset writes on ArrayAccess properties as reassignments of readonly properties (#5995)
Show description for 5d13a60
3 people
authored
5d13a60
View commit details
Copy full SHA for 5d13a60
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.