diff --git a/tests/PHPStan/Rules/Variables/EmptyRuleTest.php b/tests/PHPStan/Rules/Variables/EmptyRuleTest.php index ec82e97451..6b146d6c8e 100644 --- a/tests/PHPStan/Rules/Variables/EmptyRuleTest.php +++ b/tests/PHPStan/Rules/Variables/EmptyRuleTest.php @@ -267,7 +267,7 @@ public function testNullCoalesceAssignRightSideScope(): void $this->analyse([__DIR__ . '/data/null-coalesce-assign-right-side-scope.php'], []); } - #[RequiresPhp('>= 8.2')] + #[RequiresPhp('>= 8.2.0')] public function testPropertyInitializationCustomSerialization(): void { $this->treatPhpDocTypesAsCertain = true; diff --git a/tests/PHPStan/Rules/Variables/IssetRuleTest.php b/tests/PHPStan/Rules/Variables/IssetRuleTest.php index 2e9bca0b7a..61a9e57ed0 100644 --- a/tests/PHPStan/Rules/Variables/IssetRuleTest.php +++ b/tests/PHPStan/Rules/Variables/IssetRuleTest.php @@ -528,7 +528,7 @@ public function testIssetAfterRememberedConstructor(): void ]); } - #[RequiresPhp('>= 8.2')] + #[RequiresPhp('>= 8.2.0')] public function testPropertyInitializationCustomSerialization(): void { $this->treatPhpDocTypesAsCertain = true; diff --git a/tests/PHPStan/Rules/Variables/NullCoalesceRuleTest.php b/tests/PHPStan/Rules/Variables/NullCoalesceRuleTest.php index 398fb42f76..2f9fd6c6f8 100644 --- a/tests/PHPStan/Rules/Variables/NullCoalesceRuleTest.php +++ b/tests/PHPStan/Rules/Variables/NullCoalesceRuleTest.php @@ -613,7 +613,7 @@ public function testBug15056(): void $this->analyse([__DIR__ . '/data/bug-15056.php'], []); } - #[RequiresPhp('>= 8.2')] + #[RequiresPhp('>= 8.2.0')] public function testPropertyInitializationCustomSerialization(): void { $this->analyse([__DIR__ . '/data/property-initialization-custom-serialization.php'], [