Skip to content

Commit eaf82de

Browse files
committed
Fix ClassReflectionTest
1 parent 7510cb1 commit eaf82de

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/PHPStan/Reflection/ClassReflectionTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,6 @@ public function testIs(): void
327327

328328
public static function dataPropertyHooks(): iterable
329329
{
330-
if (PHP_VERSION_ID < 80400) {
331-
return;
332-
}
333-
334330
$reflectionProvider = self::createReflectionProvider();
335331

336332
yield [
@@ -639,6 +635,7 @@ public static function dataPropertyHooks(): iterable
639635
* @dataProvider dataPropertyHooks
640636
* @param ExtendedPropertyReflection::HOOK_* $hookName
641637
* @param string[] $parameterTypes
638+
* @requires PHP >= 8.4.0
642639
*/
643640
public function testPropertyHooks(
644641
ClassReflection $classReflection,

0 commit comments

Comments
 (0)