Skip to content

Commit

Permalink
Test on >= 8.0 & 8.1, not just > (#244)
Browse files Browse the repository at this point in the history
Got the version operators wrong in named params and type tests.
  • Loading branch information
spaze authored Jan 22, 2024
2 parents eaeb406 + 1f24ad6 commit ac1fd66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Calls/FunctionCallsNamedParamsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Spaze\PHPStan\Rules\Disallowed\RuleErrors\DisallowedCallsRuleErrors;

/**
* @requires PHP > 8.0
* @requires PHP >= 8.0
*/
class FunctionCallsNamedParamsTest extends RuleTestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Usages/NamespaceUsagesTypesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Spaze\PHPStan\Rules\Disallowed\RuleErrors\DisallowedNamespaceRuleErrors;

/**
* @requires PHP > 8.1
* @requires PHP >= 8.1
*/
class NamespaceUsagesTypesTest extends RuleTestCase
{
Expand Down

0 comments on commit ac1fd66

Please sign in to comment.