Skip to content

Commit cbcb3d1

Browse files
committed
Fix build
1 parent d00509b commit cbcb3d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Rules/Classes/ImpossibleInstanceOfRuleTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,10 @@ public function testReportAlwaysTrueInLastCondition(bool $reportAlwaysTrueInLast
591591

592592
public function testBug10201(): void
593593
{
594+
if (PHP_VERSION_ID < 80100) {
595+
$this->markTestSkipped('This test needs PHP 8.1');
596+
}
597+
594598
$this->checkAlwaysTrueInstanceOf = true;
595599
$this->treatPhpDocTypesAsCertain = true;
596600
$this->analyse([__DIR__ . '/../../Analyser/data/bug-10201.php'], [

0 commit comments

Comments
 (0)