Skip to content

Commit c0c39ea

Browse files
authored
Fix incomplete version requirements in tests (#6198)
1 parent 80e0e7b commit c0c39ea

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/PHPStan/Rules/Variables/EmptyRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public function testNullCoalesceAssignRightSideScope(): void
267267
$this->analyse([__DIR__ . '/data/null-coalesce-assign-right-side-scope.php'], []);
268268
}
269269

270-
#[RequiresPhp('>= 8.2')]
270+
#[RequiresPhp('>= 8.2.0')]
271271
public function testPropertyInitializationCustomSerialization(): void
272272
{
273273
$this->treatPhpDocTypesAsCertain = true;

tests/PHPStan/Rules/Variables/IssetRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ public function testIssetAfterRememberedConstructor(): void
528528
]);
529529
}
530530

531-
#[RequiresPhp('>= 8.2')]
531+
#[RequiresPhp('>= 8.2.0')]
532532
public function testPropertyInitializationCustomSerialization(): void
533533
{
534534
$this->treatPhpDocTypesAsCertain = true;

tests/PHPStan/Rules/Variables/NullCoalesceRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ public function testBug15056(): void
613613
$this->analyse([__DIR__ . '/data/bug-15056.php'], []);
614614
}
615615

616-
#[RequiresPhp('>= 8.2')]
616+
#[RequiresPhp('>= 8.2.0')]
617617
public function testPropertyInitializationCustomSerialization(): void
618618
{
619619
$this->analyse([__DIR__ . '/data/property-initialization-custom-serialization.php'], [

0 commit comments

Comments
 (0)