Skip to content

Commit a641c00

Browse files
committed
fix php7.4 build
1 parent 93fbacb commit a641c00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/PHPStan/Rules/Arrays/IterableInForeachRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ public function testMixed(bool $checkExplicitMixed, bool $checkImplicitMixed, ar
139139
$this->analyse([__DIR__ . '/data/foreach-mixed.php'], $errors);
140140
}
141141

142+
#[RequiresPhp('>= 8.0')]
142143
public function testBug13312(): void
143144
{
144145
$this->analyse([__DIR__ . '/../../Analyser/nsrt/bug-13312.php'], []);

0 commit comments

Comments
 (0)