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 9ab4e6f commit b535392Copy full SHA for b535392
tests/PHPStan/Rules/PhpDoc/InvalidPhpDocVarTagTypeRuleTest.php
@@ -8,6 +8,7 @@
8
use PHPStan\Rules\Rule;
9
use PHPStan\Testing\RuleTestCase;
10
use PHPStan\Type\FileTypeMapper;
11
+use const PHP_VERSION_ID;
12
13
/**
14
* @extends RuleTestCase<InvalidPhpDocVarTagTypeRule>
@@ -139,6 +140,9 @@ public function testBug4486Namespace(): void
139
140
141
public function testBug6252(): void
142
{
143
+ if (PHP_VERSION_ID < 80000) {
144
+ $this->markTestSkipped('Test requires PHP 8.0.');
145
+ }
146
$this->analyse([__DIR__ . '/data/bug-6252.php'], []);
147
}
148
0 commit comments