diff --git a/tests/Analyzer/Analysis/ConstructorAnalysisTest.php b/tests/Analyzer/Analysis/ConstructorAnalysisTest.php index f81cd925..2f8437a9 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/CommentedOutFunctionFixerTest.php b/tests/Fixer/CommentedOutFunctionFixerTest.php index 298650ac..9e221630 100644 --- a/tests/Fixer/CommentedOutFunctionFixerTest.php +++ b/tests/Fixer/CommentedOutFunctionFixerTest.php @@ -235,7 +235,7 @@ public static function provideFixCases(): iterable } /** - * @requires PHP <8.0 + * @requires PHP < 8.0 */ public function testFixPre80(): void { diff --git a/tests/Fixer/MultilinePromotedPropertiesFixerTest.php b/tests/Fixer/MultilinePromotedPropertiesFixerTest.php index fce5c892..d7ff62be 100644 --- a/tests/Fixer/MultilinePromotedPropertiesFixerTest.php +++ b/tests/Fixer/MultilinePromotedPropertiesFixerTest.php @@ -16,7 +16,7 @@ * * @covers \PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer * - * @requires PHP 8.0 + * @requires PHP >= 8.0 */ final class MultilinePromotedPropertiesFixerTest extends AbstractFixerTestCase { diff --git a/tests/Fixer/NoImportFromGlobalNamespaceFixerTest.php b/tests/Fixer/NoImportFromGlobalNamespaceFixerTest.php index d09d1d4c..453d24e8 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 59396b3e..ee1207d2 100644 --- a/tests/Fixer/NoLeadingSlashInGlobalNamespaceFixerTest.php +++ b/tests/Fixer/NoLeadingSlashInGlobalNamespaceFixerTest.php @@ -101,7 +101,7 @@ public static function provideFixCases(): iterable } /** - * @requires PHP <8.0 + * @requires PHP < 8.0 * * @dataProvider provideFixPre80Cases */ @@ -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 ae11a6d4..6b43a36d 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/NoUselessParenthesisFixerTest.php b/tests/Fixer/NoUselessParenthesisFixerTest.php index 0743c816..11fcd01f 100644 --- a/tests/Fixer/NoUselessParenthesisFixerTest.php +++ b/tests/Fixer/NoUselessParenthesisFixerTest.php @@ -383,7 +383,7 @@ public function createStatic() { } /** - * @requires PHP <8.0 + * @requires PHP < 8.0 */ public function testFixPre80(): void { @@ -394,7 +394,7 @@ public function testFixPre80(): void } /** - * @requires PHP 8.0 + * @requires PHP >= 8.0 */ public function testFix80(): void { diff --git a/tests/Fixer/PhpdocNoIncorrectVarAnnotationFixerTest.php b/tests/Fixer/PhpdocNoIncorrectVarAnnotationFixerTest.php index 43272644..744c8d0e 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/Fixer/PromotedConstructorPropertyFixerTest.php b/tests/Fixer/PromotedConstructorPropertyFixerTest.php index f1293669..192aca22 100644 --- a/tests/Fixer/PromotedConstructorPropertyFixerTest.php +++ b/tests/Fixer/PromotedConstructorPropertyFixerTest.php @@ -16,7 +16,7 @@ * * @covers \PhpCsFixerCustomFixers\Fixer\PromotedConstructorPropertyFixer * - * @requires PHP 8.0 + * @requires PHP >= 8.0 */ final class PromotedConstructorPropertyFixerTest extends AbstractFixerTestCase { diff --git a/tests/Fixer/ReadonlyPromotedPropertiesFixerTest.php b/tests/Fixer/ReadonlyPromotedPropertiesFixerTest.php index d4e32e29..2ceed82f 100644 --- a/tests/Fixer/ReadonlyPromotedPropertiesFixerTest.php +++ b/tests/Fixer/ReadonlyPromotedPropertiesFixerTest.php @@ -16,7 +16,7 @@ * * @covers \PhpCsFixerCustomFixers\Fixer\ReadonlyPromotedPropertiesFixer * - * @requires PHP 8.1 + * @requires PHP >= 8.1 */ final class ReadonlyPromotedPropertiesFixerTest extends AbstractFixerTestCase { @@ -134,7 +134,7 @@ public function doSomething() { $this->x = 42; $this->z = 10; } /** * @dataProvider provideFix82Cases * - * @requires PHP 8.2 + * @requires PHP >= 8.2 */ public function testFix82(string $expected, ?string $input = null): void { diff --git a/tests/Fixer/StringableInterfaceFixerTest.php b/tests/Fixer/StringableInterfaceFixerTest.php index 8ba577ed..8b0f1d78 100644 --- a/tests/Fixer/StringableInterfaceFixerTest.php +++ b/tests/Fixer/StringableInterfaceFixerTest.php @@ -26,7 +26,7 @@ public function testIsRisky(): void /** * @dataProvider provideFixCases * - * @requires PHP 8.0 + * @requires PHP >= 8.0 */ public function testFix(string $expected, ?string $input = null): void { diff --git a/tests/PriorityTest.php b/tests/PriorityTest.php index 4ace1a94..aba7d7de 100644 --- a/tests/PriorityTest.php +++ b/tests/PriorityTest.php @@ -26,7 +26,7 @@ * * @coversNothing * - * @requires PHP 8.1 + * @requires PHP >= 8.1 */ final class PriorityTest extends TestCase { diff --git a/tests/Readme/ReadmeCommandTest.php b/tests/Readme/ReadmeCommandTest.php index 96a1c306..9af7abb3 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 */