diff --git a/tests/PHPStan/Reflection/ClassReflectionTest.php b/tests/PHPStan/Reflection/ClassReflectionTest.php index 8eba313bc3..63c527ebd0 100644 --- a/tests/PHPStan/Reflection/ClassReflectionTest.php +++ b/tests/PHPStan/Reflection/ClassReflectionTest.php @@ -170,6 +170,7 @@ public static function dataIsAttributeClass(): array ]; } + #[RequiresPhp('>= 8.0')] #[DataProvider('dataIsAttributeClass')] public function testIsAttributeClass(string $className, bool $expected, int $expectedFlags = Attribute::TARGET_ALL): void {