We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92e3c5a commit 007ab77Copy full SHA for 007ab77
tests/PHPStan/Rules/Operators/InvalidAssignVarRuleTest.php
@@ -18,8 +18,8 @@ protected function getRule(): Rule
18
19
public function testRule(): void
20
{
21
- if (PHP_VERSION_ID < 80000 && !self::$useStaticReflectionProvider) {
22
- $this->markTestSkipped('Test requires PHP 8.0.');
+ if (!self::$useStaticReflectionProvider) {
+ $this->markTestSkipped('Test requires static reflection.');
23
}
24
25
$this->analyse([__DIR__ . '/data/invalid-assign-var.php'], [
0 commit comments