Skip to content

Commit 011e010

Browse files
Fix tests on PHP 7.4
1 parent 460000b commit 011e010

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/PHPStan/Rules/Classes/InstantiationRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ public function testBug13440(): void
579579
$this->analyse([__DIR__ . '/data/bug-13440.php'], []);
580580
}
581581

582+
#[RequiresPhp('>= 8.0')]
582583
public function testBug12363(): void
583584
{
584585
$this->analyse([__DIR__ . '/../Methods/data/bug-12363.php'], []);

tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2735,6 +2735,7 @@ public function testBug10559(): void
27352735
$this->analyse([__DIR__ . '/data/bug-10559.php'], []);
27362736
}
27372737

2738+
#[RequiresPhp('>= 8.0')]
27382739
public function testBug12363(): void
27392740
{
27402741
$this->analyse([__DIR__ . '/data/bug-12363.php'], []);

0 commit comments

Comments
 (0)