Skip to content

Commit 6d152ae

Browse files
committed
Fix build
1 parent 95eb68f commit 6d152ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/PHPStan/Analyser/NodeScopeResolverTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,10 @@ public function dataFileAsserts(): iterable
11951195
}
11961196

11971197
yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-8520.php');
1198-
yield from $this->gatherAssertTypes(__DIR__ . '/../Rules/Comparison/data/bug-9007.php');
1198+
1199+
if (PHP_VERSION_ID >= 80100) {
1200+
yield from $this->gatherAssertTypes(__DIR__ . '/../Rules/Comparison/data/bug-9007.php');
1201+
}
11991202
yield from $this->gatherAssertTypes(__DIR__ . '/data/filter-var-dynamic-return-type-extension-regression.php');
12001203

12011204
if (PHP_VERSION_ID >= 80000) {

0 commit comments

Comments
 (0)