Skip to content

Commit b60f022

Browse files
committed
Fix
1 parent b535392 commit b60f022

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/PHPStan/Rules/TooWideTypehints/TooWideMethodReturnTypehintRuleTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ public function testBug5095(): void
9090

9191
public function testBug6158(): void
9292
{
93+
if (PHP_VERSION_ID < 80000) {
94+
$this->markTestSkipped('Test requires PHP 8.0.');
95+
}
9396
$this->analyse([__DIR__ . '/data/bug-6158.php'], []);
9497
}
9598

0 commit comments

Comments
 (0)