Skip to content

Commit 68c4504

Browse files
Fix tests on PHP 7.4
1 parent 460000b commit 68c4504

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-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'], []);

0 commit comments

Comments
 (0)