Skip to content

Commit ea7408d

Browse files
committedJan 13, 2022
Fix test
1 parent b5a2c8f commit ea7408d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎tests/PHPStan/Rules/PhpDoc/InvalidPhpDocVarTagTypeRuleTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ public function testBug6252(): void
148148

149149
public function testBug6348(): void
150150
{
151+
if (PHP_VERSION_ID < 80000 && !self::$useStaticReflectionProvider) {
152+
$this->markTestSkipped('Test requires PHP 8.0.');
153+
}
151154
$this->analyse([__DIR__ . '/data/bug-6348.php'], []);
152155
}
153156

0 commit comments

Comments
 (0)
Please sign in to comment.