Skip to content

Commit c27879c

Browse files
committed
Fix build
1 parent f29c855 commit c27879c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,10 @@ public function testBug12051(): void
19611961

19621962
public function testBug8046(): void
19631963
{
1964+
if (PHP_VERSION_ID < 80100) {
1965+
$this->markTestSkipped('Test requires PHP 8.1.');
1966+
}
1967+
19641968
$this->analyse([__DIR__ . '/data/bug-8046.php'], []);
19651969
}
19661970

@@ -1975,6 +1979,10 @@ public function testBug11942(): void
19751979

19761980
public function testBug11418(): void
19771981
{
1982+
if (PHP_VERSION_ID < 80100) {
1983+
$this->markTestSkipped('Test requires PHP 8.1.');
1984+
}
1985+
19781986
$this->analyse([__DIR__ . '/data/bug-11418.php'], []);
19791987
}
19801988

0 commit comments

Comments
 (0)