Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Nov 13, 2020
1 parent 92e3c5a commit 007ab77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PHPStan/Rules/Operators/InvalidAssignVarRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ protected function getRule(): Rule

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

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

0 comments on commit 007ab77

Please sign in to comment.