Skip to content

Commit 007ab77

Browse files
committed
Fix build
1 parent 92e3c5a commit 007ab77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Rules/Operators/InvalidAssignVarRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ protected function getRule(): Rule
1818

1919
public function testRule(): void
2020
{
21-
if (PHP_VERSION_ID < 80000 && !self::$useStaticReflectionProvider) {
22-
$this->markTestSkipped('Test requires PHP 8.0.');
21+
if (!self::$useStaticReflectionProvider) {
22+
$this->markTestSkipped('Test requires static reflection.');
2323
}
2424

2525
$this->analyse([__DIR__ . '/data/invalid-assign-var.php'], [

0 commit comments

Comments
 (0)