Skip to content

Commit 5d2512a

Browse files
committed
Fix build
1 parent a960f74 commit 5d2512a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Analyser/AnalyserIntegrationTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,6 +1335,10 @@ public function testBug10538(): void
13351335

13361336
public function testBug10847(): void
13371337
{
1338+
if (PHP_VERSION_ID < 80100) {
1339+
$this->markTestSkipped('Test requires PHP 8.1.');
1340+
}
1341+
13381342
$errors = $this->runAnalyse(__DIR__ . '/data/bug-10847.php');
13391343
$this->assertNoErrors($errors);
13401344
}

0 commit comments

Comments
 (0)