Skip to content

Commit c088757

Browse files
committed
Fix build
1 parent 7a2af63 commit c088757

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php

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

606606
public function testBug9568(): void
607607
{
608+
if (PHP_VERSION_ID < 80000) {
609+
self::markTestSkipped('Test requires PHP 8.0.');
610+
}
611+
608612
$this->analyse([__DIR__ . '/data/bug-9568.php'], []);
609613
}
610614

0 commit comments

Comments
 (0)