We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d24b0 commit 70f50e7Copy full SHA for 70f50e7
tests/PHPStan/Rules/Variables/ParameterOutAssignedTypeRuleTest.php
@@ -5,6 +5,7 @@
5
use PHPStan\Rules\Rule as TRule;
6
use PHPStan\Rules\RuleLevelHelper;
7
use PHPStan\Testing\RuleTestCase;
8
+use PHPUnit\Framework\Attributes\RequiresPhp;
9
use const PHP_VERSION_ID;
10
11
/**
@@ -75,11 +76,9 @@ public function testBug13093b(): void
75
76
$this->analyse([__DIR__ . '/data/bug-13093b.php'], []);
77
}
78
79
+ #[RequiresPhp('>= 8.0')]
80
public function testBug12754(): void
81
{
- if (PHP_VERSION_ID < 80000) {
- $this->markTestSkipped('PHP 8.0+ is required for this test.');
82
- }
83
$this->analyse([__DIR__ . '/data/bug-12754.php'], []);
84
85
0 commit comments