Skip to content

Commit 0f760ed

Browse files
committed
Fix "@require"
1 parent 72c2c6c commit 0f760ed

13 files changed

+18
-18
lines changed

tests/Analyzer/Analysis/ConstructorAnalysisTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function __construct(Foo $x = null, ?Bar $y = null, float $z = 3.14) {}
6868
*
6969
* @dataProvider provideGettingConstructorParameterNames80Cases
7070
*
71-
* @requires PHP 8.0
71+
* @requires PHP >= 8.0
7272
*/
7373
public function testGettingConstructorParameterNames80(array $expected, string $code): void
7474
{
@@ -145,7 +145,7 @@ public function __construct(int $x, int $y, int ...$z) {}
145145
*
146146
* @dataProvider provideGettingConstructorPromotableParameters80Cases
147147
*
148-
* @requires PHP 8.0
148+
* @requires PHP >= 8.0
149149
*/
150150
public function testGettingConstructorPromotableParameters80(array $expected, string $code): void
151151
{

tests/Fixer/CommentedOutFunctionFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public static function provideFixCases(): iterable
235235
}
236236

237237
/**
238-
* @requires PHP <8.0
238+
* @requires PHP < 8.0
239239
*/
240240
public function testFixPre80(): void
241241
{

tests/Fixer/MultilinePromotedPropertiesFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @covers \PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer
1818
*
19-
* @requires PHP 8.0
19+
* @requires PHP >= 8.0
2020
*/
2121
final class MultilinePromotedPropertiesFixerTest extends AbstractFixerTestCase
2222
{

tests/Fixer/NoImportFromGlobalNamespaceFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ public function f2(): Vendor2\Class2 {}
464464
}
465465

466466
/**
467-
* @requires PHP 8.0
467+
* @requires PHP >= 8.0
468468
*/
469469
public function testFix80(): void
470470
{

tests/Fixer/NoLeadingSlashInGlobalNamespaceFixerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static function provideFixCases(): iterable
101101
}
102102

103103
/**
104-
* @requires PHP <8.0
104+
* @requires PHP < 8.0
105105
*
106106
* @dataProvider provideFixPre80Cases
107107
*/
@@ -132,7 +132,7 @@ public static function provideFixPre80Cases(): iterable
132132
}
133133

134134
/**
135-
* @requires PHP 8.0
135+
* @requires PHP >= 8.0
136136
*/
137137
public function testFix80(): void
138138
{

tests/Fixer/NoTrailingCommaInSinglelineFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public static function provideFixCases(): iterable
126126
}
127127

128128
/**
129-
* @requires PHP 8.0
129+
* @requires PHP >= 8.0
130130
*
131131
* @dataProvider provideFix80Cases
132132
*/

tests/Fixer/NoUselessParenthesisFixerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public function createStatic() {
383383
}
384384

385385
/**
386-
* @requires PHP <8.0
386+
* @requires PHP < 8.0
387387
*/
388388
public function testFixPre80(): void
389389
{
@@ -394,7 +394,7 @@ public function testFixPre80(): void
394394
}
395395

396396
/**
397-
* @requires PHP 8.0
397+
* @requires PHP >= 8.0
398398
*/
399399
public function testFix80(): void
400400
{

tests/Fixer/PhpdocNoIncorrectVarAnnotationFixerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public function f2($x) {
430430
/**
431431
* @dataProvider provideFix80Cases
432432
*
433-
* @requires PHP 8.0
433+
* @requires PHP >= 8.0
434434
*/
435435
public function testFix80(string $expected, ?string $input = null): void
436436
{
@@ -470,7 +470,7 @@ public function __construct(
470470
/**
471471
* @dataProvider provideFix81Cases
472472
*
473-
* @requires PHP 8.1
473+
* @requires PHP >= 8.1
474474
*/
475475
public function testFix81(string $expected, ?string $input = null): void
476476
{

tests/Fixer/PromotedConstructorPropertyFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @covers \PhpCsFixerCustomFixers\Fixer\PromotedConstructorPropertyFixer
1818
*
19-
* @requires PHP 8.0
19+
* @requires PHP >= 8.0
2020
*/
2121
final class PromotedConstructorPropertyFixerTest extends AbstractFixerTestCase
2222
{

tests/Fixer/ReadonlyPromotedPropertiesFixerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @covers \PhpCsFixerCustomFixers\Fixer\ReadonlyPromotedPropertiesFixer
1818
*
19-
* @requires PHP 8.1
19+
* @requires PHP >= 8.1
2020
*/
2121
final class ReadonlyPromotedPropertiesFixerTest extends AbstractFixerTestCase
2222
{
@@ -134,7 +134,7 @@ public function doSomething() { $this->x = 42; $this->z = 10; }
134134
/**
135135
* @dataProvider provideFix82Cases
136136
*
137-
* @requires PHP 8.2
137+
* @requires PHP >= 8.2
138138
*/
139139
public function testFix82(string $expected, ?string $input = null): void
140140
{

0 commit comments

Comments
 (0)