Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Discover and integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
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
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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
/
phpstan-src
Public
Notifications
You must be signed in to change notification settings
Fork
545
Star
376
Code
Pull requests
142
Actions
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Pull requests
Actions
Security
Insights
Commits
Branch selector
2.1.x
User selector
jlherren
Datepicker
All time
Commit History
Commits on Jul 17, 2025
Fix return type of bzdecompress()
jlherren
authored and
ondrejmirtes
committed
ef9aae2
Copy full SHA for ef9aae2
Commits on Nov 9, 2023
Fix return value of mailparse_msg_get_part()
Show description for c49c185
jlherren
authored and
ondrejmirtes
committed
c49c185
Copy full SHA for c49c185
Commits on Jul 11, 2023
Fix array_keys() and array_values() on constant arrays
jlherren
authored and
ondrejmirtes
committed
8d5deb9
Copy full SHA for 8d5deb9
Commits on Jul 1, 2023
Fix ConstantArrayTypeBuilder's isList flag
jlherren
authored and
ondrejmirtes
committed
9b64a6d
Copy full SHA for 9b64a6d
Commits on Oct 16, 2022
Fix a couple CURLOPT_* parameter types
Show description for 90403cc
jlherren
authored and
ondrejmirtes
committed
90403cc
Copy full SHA for 90403cc
Commits on Mar 9, 2022
Make return type extension for array_column() aware of PHP version
jlherren
authored and
ondrejmirtes
committed
e9c4610
Copy full SHA for e9c4610
Commits on Mar 2, 2022
Fix ArrayColumnFunctionReturnTypeExtension producing array key types
Show description for b384384
jlherren
authored and
ondrejmirtes
committed
b384384
Copy full SHA for b384384
Improve ArrayType::castToArrayKeyType() for booleans
jlherren
authored and
ondrejmirtes
committed
a91a4fb
Copy full SHA for a91a4fb
Commits on Feb 1, 2022
Fix array_column() with null as $column_key
Show description for 28179f2
jlherren
authored and
ondrejmirtes
committed
28179f2
Copy full SHA for 28179f2
Update return types for hash functions
jlherren
authored and
ondrejmirtes
committed
1ec1c91
Copy full SHA for 1ec1c91
Commits on Jan 29, 2022
Add return type extension for array_column()
jlherren
authored and
ondrejmirtes
committed
e8509b7
Copy full SHA for e8509b7
Commits on Nov 8, 2021
Mark file resource functions as having side effects
Show description for 96a90cc
jlherren
authored and
ondrejmirtes
committed
96a90cc
Copy full SHA for 96a90cc
Commits on Oct 6, 2021
Make array_map() accept null as first argument
jlherren
authored and
ondrejmirtes
committed
84bafe7
Copy full SHA for 84bafe7
Commits on Oct 5, 2021
Fix signature of ReflectionClass::setStaticPropertyValue()
jlherren
authored and
ondrejmirtes
committed
3225717
Copy full SHA for 3225717
Commits on Sep 17, 2021
TypeSpecifierContext - Do not create multiple equivalent objects
Show description for dc0fe62
jlherren
authored and
ondrejmirtes
committed
dc0fe62
Copy full SHA for dc0fe62
Commits on Aug 15, 2021
Fix openssl_seal()'s $iv parameter
Show description for 853ef3f
jlherren
authored and
ondrejmirtes
committed
853ef3f
Copy full SHA for 853ef3f
Commits on Jul 4, 2021
Type cast fixes, add tests for intval(), boolval(), floatval()
jlherren
authored and
ondrejmirtes
committed
8c50d88
Copy full SHA for 8c50d88
Commits on Jul 1, 2021
Add return type extension for strval()
jlherren
authored and
ondrejmirtes
committed
5322588
Copy full SHA for 5322588
Commits on Jan 10, 2021
Split isSmallerThan($orEqual) into two separate methods
jlherren
authored and
ondrejmirtes
committed
6565acd
Copy full SHA for 6565acd
Commits on Jan 4, 2021
Split getSmallerType()/getGreaterType() into two methods each
jlherren
authored and
ondrejmirtes
committed
377e49c
Copy full SHA for 377e49c
Fix failing result cache E2E test
jlherren
authored and
ondrejmirtes
committed
b7bf0c9
Copy full SHA for b7bf0c9
Add regression test for #577
jlherren
authored and
ondrejmirtes
committed
bf8e307
Copy full SHA for bf8e307
Improve specified type in comparisons
Show description for fb84c11
jlherren
authored and
ondrejmirtes
committed
fb84c11
Copy full SHA for fb84c11
Commits on Dec 22, 2020
Make IntegerRangeType represent open intervals properly
Show description for 61d9de9
jlherren
authored and
ondrejmirtes
committed
61d9de9
Copy full SHA for 61d9de9
Commits on Nov 30, 2020
Ignore NeverType in subtractable types
jlherren
authored and
ondrejmirtes
committed
4426fe0
Copy full SHA for 4426fe0
Commits on Nov 22, 2020
Concat between numeric and empty string produces numeric string
jlherren
authored and
ondrejmirtes
committed
43fca8d
Copy full SHA for 43fca8d
Fix Reflection::getStaticProperties()'s return type
Show description for 3c6df85
jlherren
authored and
ondrejmirtes
committed
3c6df85
Copy full SHA for 3c6df85
Commits on Nov 18, 2020
Fix FloatType equaling ConstantFloatType
Show description for 4a1f133
jlherren
authored and
ondrejmirtes
committed
4a1f133
Copy full SHA for 4a1f133
Commits on Nov 13, 2020
ceil() never returns int
jlherren
authored and
ondrejmirtes
committed
128492d
Copy full SHA for 128492d
Add missing pre/post inc/dec type specifiers in conditions
jlherren
authored and
ondrejmirtes
committed
92609ad
Copy full SHA for 92609ad
Fix IntegerRangeType overflowing
Show description for 458843e
jlherren
authored and
ondrejmirtes
committed
458843e
Copy full SHA for 458843e
Improve comparison operators
Show description for 973fe50
jlherren
authored and
ondrejmirtes
committed
973fe50
Copy full SHA for 973fe50
Commits on Nov 3, 2020
Fix array_slice() with mixed argument
Show description for 4b7b27d
jlherren
authored and
ondrejmirtes
committed
4b7b27d
Copy full SHA for 4b7b27d
Commits on Oct 28, 2020
Fix unreferenced data providers
jlherren
authored and
ondrejmirtes
committed
24fdf4b
Copy full SHA for 24fdf4b
Commits on Oct 26, 2020
system() can return false
jlherren
authored and
ondrejmirtes
committed
5b7bb9c
Copy full SHA for 5b7bb9c
Pagination
Previous
Next
You can’t perform that action at this time.