From 8074f6e50e3095682249cf7976553a35c6c68c91 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Thu, 7 Aug 2025 10:43:37 +0200 Subject: [PATCH] Fix build --- tests/PHPStan/Reflection/ClassReflectionTest.php | 1 + 1 file changed, 1 insertion(+) 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 {