diff --git a/tests/Analyzer/Analysis/ConstructorAnalysisTest.php b/tests/Analyzer/Analysis/ConstructorAnalysisTest.php index 61b1e5d1..f81cd925 100644 --- a/tests/Analyzer/Analysis/ConstructorAnalysisTest.php +++ b/tests/Analyzer/Analysis/ConstructorAnalysisTest.php @@ -68,7 +68,7 @@ public function __construct(Foo $x = null, ?Bar $y = null, float $z = 3.14) {} * * @dataProvider provideGettingConstructorParameterNames80Cases * - * @requires PHP ^8.0 + * @requires PHP 8.0 */ public function testGettingConstructorParameterNames80(array $expected, string $code): void { @@ -145,7 +145,7 @@ public function __construct(int $x, int $y, int ...$z) {} * * @dataProvider provideGettingConstructorPromotableParameters80Cases * - * @requires PHP ^8.0 + * @requires PHP 8.0 */ public function testGettingConstructorPromotableParameters80(array $expected, string $code): void { diff --git a/tests/Fixer/NoImportFromGlobalNamespaceFixerTest.php b/tests/Fixer/NoImportFromGlobalNamespaceFixerTest.php index af0446dd..d09d1d4c 100644 --- a/tests/Fixer/NoImportFromGlobalNamespaceFixerTest.php +++ b/tests/Fixer/NoImportFromGlobalNamespaceFixerTest.php @@ -464,7 +464,7 @@ public function f2(): Vendor2\Class2 {} } /** - * @requires PHP ^8.0 + * @requires PHP 8.0 */ public function testFix80(): void { diff --git a/tests/Fixer/NoLeadingSlashInGlobalNamespaceFixerTest.php b/tests/Fixer/NoLeadingSlashInGlobalNamespaceFixerTest.php index 8ae9be40..59396b3e 100644 --- a/tests/Fixer/NoLeadingSlashInGlobalNamespaceFixerTest.php +++ b/tests/Fixer/NoLeadingSlashInGlobalNamespaceFixerTest.php @@ -132,7 +132,7 @@ public static function provideFixPre80Cases(): iterable } /** - * @requires PHP ^8.0 + * @requires PHP 8.0 */ public function testFix80(): void { diff --git a/tests/Fixer/NoTrailingCommaInSinglelineFixerTest.php b/tests/Fixer/NoTrailingCommaInSinglelineFixerTest.php index 171c163f..ae11a6d4 100644 --- a/tests/Fixer/NoTrailingCommaInSinglelineFixerTest.php +++ b/tests/Fixer/NoTrailingCommaInSinglelineFixerTest.php @@ -126,7 +126,7 @@ public static function provideFixCases(): iterable } /** - * @requires PHP ^8.0 + * @requires PHP 8.0 * * @dataProvider provideFix80Cases */ diff --git a/tests/Fixer/PhpdocNoIncorrectVarAnnotationFixerTest.php b/tests/Fixer/PhpdocNoIncorrectVarAnnotationFixerTest.php index aa535d51..43272644 100644 --- a/tests/Fixer/PhpdocNoIncorrectVarAnnotationFixerTest.php +++ b/tests/Fixer/PhpdocNoIncorrectVarAnnotationFixerTest.php @@ -430,7 +430,7 @@ public function f2($x) { /** * @dataProvider provideFix80Cases * - * @requires PHP ^8.0 + * @requires PHP 8.0 */ public function testFix80(string $expected, ?string $input = null): void { @@ -470,7 +470,7 @@ public function __construct( /** * @dataProvider provideFix81Cases * - * @requires PHP ^8.1 + * @requires PHP 8.1 */ public function testFix81(string $expected, ?string $input = null): void { diff --git a/tests/Readme/ReadmeCommandTest.php b/tests/Readme/ReadmeCommandTest.php index fc600251..96a1c306 100644 --- a/tests/Readme/ReadmeCommandTest.php +++ b/tests/Readme/ReadmeCommandTest.php @@ -18,7 +18,7 @@ /** * @internal * - * @requires PHP ^8.2 + * @requires PHP 8.2 * * @covers \PhpCsFixerCustomFixersDev\Readme\ReadmeCommand */