Skip to content

Commit 35a2d24

Browse files
committed
Update UselessFunctionReturnValueRuleTest.php
1 parent 5c9c6fe commit 35a2d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Rules/Functions/UselessFunctionReturnValueRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testUselessReturnValue(): void
4040
public function testUselessReturnValuePhp8(): void
4141
{
4242
if (PHP_VERSION_ID < 80000) {
43-
return;
43+
$this->markTestSkipped('Test requires PHP 8.0.');
4444
}
4545

4646
$this->analyse([__DIR__ . '/data/useless-fn-return-php8.php'], [

0 commit comments

Comments
 (0)