Skip to content

Commit dae8d20

Browse files
staabmondrejmirtes
authored andcommitted
Fix build
1 parent 38f3906 commit dae8d20

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
@@ -1375,6 +1375,10 @@ public function testBug10867(): void
13751375

13761376
public function testBug11147(): void
13771377
{
1378+
if (PHP_VERSION_ID < 80000) {
1379+
$this->markTestSkipped('Test requires PHP 8.0.');
1380+
}
1381+
13781382
$errors = $this->runAnalyse(__DIR__ . '/data/bug-11147.php');
13791383
$this->assertCount(1, $errors);
13801384
$this->assertSame('Method Bug11147\RedisAdapter::createConnection() has invalid return type Bug11147\NonExistentClass.', $errors[0]->getMessage());

0 commit comments

Comments
 (0)