Skip to content

Commit 9291fc9

Browse files
committed
One more fix for PHP 7.4
1 parent 13ba00b commit 9291fc9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Reflection/ClassReflectionPropertyHooksTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ protected function setUp(): void
2323

2424
public static function dataPropertyHooks(): iterable
2525
{
26+
if (PHP_VERSION_ID < 80100) {
27+
return [];
28+
}
29+
2630
$reflectionProvider = self::createReflectionProvider();
2731

2832
yield [

0 commit comments

Comments
 (0)