Skip to content

Commit 6bab877

Browse files
committed
Fix build
1 parent d6bd267 commit 6bab877

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/PHPStan/Rules/Api/RuntimeReflectionInstantiationRuleTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public function testRule(): void
6666
'Creating new ReflectionFiber is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.',
6767
55,
6868
];
69+
}
70+
if (PHP_VERSION_ID >= 80000) {
6971
$errors[] = [
7072
'Creating new ReflectionEnum is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.',
7173
56,

0 commit comments

Comments
 (0)