We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95eb68f commit 6d152aeCopy full SHA for 6d152ae
tests/PHPStan/Analyser/NodeScopeResolverTest.php
@@ -1195,7 +1195,10 @@ public function dataFileAsserts(): iterable
1195
}
1196
1197
yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-8520.php');
1198
- yield from $this->gatherAssertTypes(__DIR__ . '/../Rules/Comparison/data/bug-9007.php');
+
1199
+ if (PHP_VERSION_ID >= 80100) {
1200
+ yield from $this->gatherAssertTypes(__DIR__ . '/../Rules/Comparison/data/bug-9007.php');
1201
+ }
1202
yield from $this->gatherAssertTypes(__DIR__ . '/data/filter-var-dynamic-return-type-extension-regression.php');
1203
1204
if (PHP_VERSION_ID >= 80000) {
0 commit comments