Skip to content

Commit c5586bc

Browse files
committed
Use #[RequiresPhp]
1 parent 14b1988 commit c5586bc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2182,12 +2182,9 @@ public function testBug13065(): void
21822182
$this->analyse([__DIR__ . '/data/bug-13065.php'], $errors);
21832183
}
21842184

2185+
#[RequiresPhp('>= 8.0')]
21852186
public function testBug12317(): void
21862187
{
2187-
if (PHP_VERSION_ID < 80000) {
2188-
$this->markTestSkipped('Test requires PHP 8.0.');
2189-
}
2190-
21912188
$this->checkExplicitMixed = true;
21922189
$this->checkImplicitMixed = true;
21932190
$this->analyse([__DIR__ . '/data/bug-12317.php'], [

0 commit comments

Comments
 (0)