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
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
phpstan
/
phpstan-phpunit
Public
Notifications
You must be signed in to change notification settings
Fork
58
Star
543
Code
Issues
37
Pull requests
12
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Sanity check
#[RequiresPhp]
value and range
- #269
#269
Merged
staabm
merged 20 commits into
phpstan:2.0.x
phpstan/phpstan-phpunit:2.0.x
from
staabm:sanity
staabm/phpstan-phpunit:sanity
Copy head branch name to clipboard
Jun 19, 2026
Conversation
Commits
20
(20)
Checks
Files changed
Merged
Sanity check
#[RequiresPhp]
value and range
#269
staabm
merged 20 commits into
phpstan:2.0.x
phpstan/phpstan-phpunit:2.0.x
from
staabm:sanity
staabm/phpstan-phpunit:sanity
Copy head branch name to clipboard
Commits
Commits on Jun 18, 2026
Sanity check `#[RequiresPhp]` value and range
staabm
committed
652d98c
View commit details
Copy full SHA for 652d98c
Browse repository at this point
simplify diff
staabm
committed
5e26ee1
View commit details
Copy full SHA for 5e26ee1
Browse repository at this point
1:1 reimplement php-version detection
staabm
committed
d7edde9
View commit details
Copy full SHA for d7edde9
Browse repository at this point
cs
staabm
committed
3781402
View commit details
Copy full SHA for 3781402
Browse repository at this point
more tests
staabm
committed
aa842d7
View commit details
Copy full SHA for aa842d7
Browse repository at this point
add more tests
staabm
committed
a0e6c85
View commit details
Copy full SHA for a0e6c85
Browse repository at this point
Update composer.json
staabm
committed
6d9b137
View commit details
Copy full SHA for 6d9b137
Browse repository at this point
Update AttributeRequiresPhpVersionRule.php
staabm
committed
d0c0069
View commit details
Copy full SHA for d0c0069
Browse repository at this point
Update AttributeRequiresPhpVersionRuleTest.php
staabm
committed
6a07cdb
View commit details
Copy full SHA for 6a07cdb
Browse repository at this point
cs
staabm
committed
03cd434
View commit details
Copy full SHA for 03cd434
Browse repository at this point
Update AttributeRequiresPhpVersionRule.php
staabm
committed
d42f8a2
View commit details
Copy full SHA for d42f8a2
Browse repository at this point
Commits on Jun 19, 2026
infer phpstan-phpversion from PHP_VERSION_ID
staabm
committed
fc7d027
View commit details
Copy full SHA for fc7d027
Browse repository at this point
cs
staabm
committed
babf78b
View commit details
Copy full SHA for babf78b
Browse repository at this point
Update AttributeRequiresPhpVersionRule.php
staabm
committed
a070cd4
View commit details
Copy full SHA for a070cd4
Browse repository at this point
test version ranges
staabm
committed
53f43e0
View commit details
Copy full SHA for 53f43e0
Browse repository at this point
Update AttributeRequiresPhpVersionRule.php
staabm
committed
d0895c6
View commit details
Copy full SHA for d0895c6
Browse repository at this point
test 3 digiits
staabm
committed
4129e4e
View commit details
Copy full SHA for 4129e4e
Browse repository at this point
test with 8.6
staabm
committed
02a5723
View commit details
Copy full SHA for 02a5723
Browse repository at this point
Update AttributeRequiresPhpVersionRuleTest.php
staabm
committed
33575a1
View commit details
Copy full SHA for 33575a1
Browse repository at this point
Update AttributeRequiresPhpVersionRuleTest.php
staabm
committed
0ab8365
View commit details
Copy full SHA for 0ab8365
Browse repository at this point
You can’t perform that action at this time.