diff --git a/tests/PHPStan/Type/FiniteTypeSetTest.php b/tests/PHPStan/Type/FiniteTypeSetTest.php index aceb991090..c3fae75fe6 100644 --- a/tests/PHPStan/Type/FiniteTypeSetTest.php +++ b/tests/PHPStan/Type/FiniteTypeSetTest.php @@ -31,7 +31,7 @@ * self-analysis excludes those files below PHP 8.1, and a ::class would have PHPStan report * them as unknown classes there. */ -#[RequiresPhp('^8.1')] +#[RequiresPhp('>= 8.1.0')] class FiniteTypeSetTest extends PHPStanTestCase {