Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 22, 2020
1 parent a78a2e7 commit 71349b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PHPStan/Analyser/NodeScopeResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7901,7 +7901,7 @@ public function dataExplode(): array
'$sureArray',
],
[
'false',
PHP_VERSION_ID < 80000 ? 'false' : '*NEVER*',
'$sureFalse',
],
[
Expand Down Expand Up @@ -10187,7 +10187,7 @@ public function dataClassConstantOnExpression(): array

public function dataBug3961(): array
{
if (PHP_VERSION >= 80000) {
if (PHP_VERSION_ID >= 80000) {
return $this->gatherAssertTypes(__DIR__ . '/data/bug-3961-php8.php');
}

Expand Down

0 comments on commit 71349b4

Please sign in to comment.