Skip to content

Commit a2685d2

Browse files
committed
Fix "@require"
1 parent 750e04a commit a2685d2

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
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/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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/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/Readme/ReadmeCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* @internal
2020
*
21-
* @requires PHP ^8.2
21+
* @requires PHP 8.2
2222
*
2323
* @covers \PhpCsFixerCustomFixersDev\Readme\ReadmeCommand
2424
*/

0 commit comments

Comments
 (0)