Skip to content

Commit 9ab2980

Browse files
committed
min php 7.4
1 parent 339ad89 commit 9ab2980

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,6 +2055,10 @@ public function testBug7522(): void
20552055

20562056
public function testBug12847(): void
20572057
{
2058+
if (PHP_VERSION_ID < 80000) {
2059+
$this->markTestSkipped('Test requires PHP 8.0.');
2060+
}
2061+
20582062
$this->checkExplicitMixed = true;
20592063
$this->checkImplicitMixed = true;
20602064

tests/PHPStan/Rules/Functions/data/bug-12847.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php declare(strict_types = 1); // lint >= 7.4
1+
<?php declare(strict_types = 1);
22

33
namespace Bug12847;
44

0 commit comments

Comments
 (0)