Skip to content

Commit d16b1ca

Browse files
committed
Fix build
1 parent 851ab2c commit d16b1ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/PHPStan/Rules/PhpDoc/IncompatiblePropertyPhpDocTypeRuleTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use PHPStan\Rules\Generics\TemplateTypeCheck;
1010
use PHPStan\Rules\Rule;
1111
use PHPStan\Testing\RuleTestCase;
12+
use PHPUnit\Framework\Attributes\RequiresPhp;
1213

1314
/**
1415
* @extends RuleTestCase<IncompatiblePropertyPhpDocTypeRule>
@@ -193,6 +194,7 @@ public function testGenericCallables(): void
193194
]);
194195
}
195196

197+
#[RequiresPhp('>= 8.0')]
196198
public function testBug11033(): void
197199
{
198200
$this->analyse([__DIR__ . '/data/bug-11033.php'], []);

0 commit comments

Comments
 (0)