Skip to content

Commit 3cfec29

Browse files
committed
Fix
1 parent 8a17c29 commit 3cfec29

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/PHPStan/Analyser/NodeScopeResolverTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,8 +881,12 @@ public function dataFileAsserts(): iterable
881881

882882
require_once __DIR__ . '/data/constant-phpdoc-type.php';
883883
yield from $this->gatherAssertTypes(__DIR__ . '/data/constant-phpdoc-type.php');
884+
885+
if (PHP_VERSION_ID >= 80000) {
886+
yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-6993.php');
887+
}
888+
884889
yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-7068.php');
885-
yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-6993.php');
886890
}
887891

888892
/**

0 commit comments

Comments
 (0)