Skip to content

Commit

Permalink
Fix "@require"
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Feb 15, 2025
1 parent 750e04a commit a2685d2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tests/Analyzer/Analysis/ConstructorAnalysisTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixer/NoImportFromGlobalNamespaceFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ public function f2(): Vendor2\Class2 {}
}

/**
* @requires PHP ^8.0
* @requires PHP 8.0
*/
public function testFix80(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixer/NoLeadingSlashInGlobalNamespaceFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public static function provideFixPre80Cases(): iterable
}

/**
* @requires PHP ^8.0
* @requires PHP 8.0
*/
public function testFix80(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixer/NoTrailingCommaInSinglelineFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static function provideFixCases(): iterable
}

/**
* @requires PHP ^8.0
* @requires PHP 8.0
*
* @dataProvider provideFix80Cases
*/
Expand Down
4 changes: 2 additions & 2 deletions tests/Fixer/PhpdocNoIncorrectVarAnnotationFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Readme/ReadmeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @internal
*
* @requires PHP ^8.2
* @requires PHP 8.2
*
* @covers \PhpCsFixerCustomFixersDev\Readme\ReadmeCommand
*/
Expand Down

0 comments on commit a2685d2

Please sign in to comment.