Skip to content

Commit 71349b4

Browse files
committed
Fix tests
1 parent a78a2e7 commit 71349b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Analyser/NodeScopeResolverTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7901,7 +7901,7 @@ public function dataExplode(): array
79017901
'$sureArray',
79027902
],
79037903
[
7904-
'false',
7904+
PHP_VERSION_ID < 80000 ? 'false' : '*NEVER*',
79057905
'$sureFalse',
79067906
],
79077907
[
@@ -10187,7 +10187,7 @@ public function dataClassConstantOnExpression(): array
1018710187

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

0 commit comments

Comments
 (0)