Skip to content

Fix #[RequiresPhpunit] version requirement being evaluated against PHP version#313

Merged
staabm merged 2 commits into
phpstan:2.0.xfrom
6b7562617765726c6f73:fix_RequiresPhpunit
Jul 4, 2026
Merged

Fix #[RequiresPhpunit] version requirement being evaluated against PHP version#313
staabm merged 2 commits into
phpstan:2.0.xfrom
6b7562617765726c6f73:fix_RequiresPhpunit

Conversation

@kubawerlos

Copy link
Copy Markdown
Contributor

Currently, the #[RequiresPhpunit] requirement is evaluated against the analysed PHP version, so constraints like ^11.0.0 are reported as "always evaluate to false" even with PHPUnit 11.5 installed.

@staabm

staabm commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

thanks for cleaning up after me. :)

@staabm staabm merged commit f5dc20f into phpstan:2.0.x Jul 4, 2026
95 checks passed
@kubawerlos kubawerlos deleted the fix_RequiresPhpunit branch July 4, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants