Skip to content

Commit c8a6bc1

Browse files
committed
fix test on php < 8.3
1 parent 529492a commit c8a6bc1

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
@@ -1512,6 +1512,10 @@ public function testBug12627(): void
15121512

15131513
public function testBug12159(): void
15141514
{
1515+
if (PHP_VERSION_ID < 80300) {
1516+
$this->markTestSkipped('Test requires PHP 8.3.');
1517+
}
1518+
15151519
$errors = $this->runAnalyse(__DIR__ . '/data/bug-12159.php');
15161520
$this->assertNoErrors($errors);
15171521
}

0 commit comments

Comments
 (0)