We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a78a2e7 commit 71349b4Copy full SHA for 71349b4
tests/PHPStan/Analyser/NodeScopeResolverTest.php
@@ -7901,7 +7901,7 @@ public function dataExplode(): array
7901
'$sureArray',
7902
],
7903
[
7904
- 'false',
+ PHP_VERSION_ID < 80000 ? 'false' : '*NEVER*',
7905
'$sureFalse',
7906
7907
@@ -10187,7 +10187,7 @@ public function dataClassConstantOnExpression(): array
10187
10188
public function dataBug3961(): array
10189
{
10190
- if (PHP_VERSION >= 80000) {
+ if (PHP_VERSION_ID >= 80000) {
10191
return $this->gatherAssertTypes(__DIR__ . '/data/bug-3961-php8.php');
10192
}
10193
0 commit comments