Skip to content

Commit 054b12b

Browse files
committed
Fix tests
1 parent 03341cc commit 054b12b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/PHPStan/Analyser/LegacyNodeScopeResolverTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5550,7 +5550,7 @@ public function dataFunctions(): array
55505550
'$gettimeofdayBenevolent',
55515551
],
55525552
[
5553-
PHP_VERSION_ID < 80000 ? '(non-empty-array<int, string>)|false' : 'non-empty-array<int, string>',
5553+
PHP_VERSION_ID < 80000 ? 'non-empty-array<int, string>|false' : 'non-empty-array<int, string>',
55545554
'$strSplitConstantStringWithoutDefinedParameters',
55555555
],
55565556
[
@@ -5574,15 +5574,15 @@ public function dataFunctions(): array
55745574
'$strSplitConstantStringWithFailureSplitLength',
55755575
],
55765576
[
5577-
PHP_VERSION_ID < 80000 ? '(non-empty-array<int, string>)|false' : 'non-empty-array<int, string>',
5577+
PHP_VERSION_ID < 80000 ? 'non-empty-array<int, string>|false' : 'non-empty-array<int, string>',
55785578
'$strSplitConstantStringWithInvalidSplitLengthType',
55795579
],
55805580
[
55815581
'non-empty-array<int, string>',
55825582
'$strSplitConstantStringWithVariableStringAndConstantSplitLength',
55835583
],
55845584
[
5585-
PHP_VERSION_ID < 80000 ? '(non-empty-array<int, string>)|false' : 'non-empty-array<int, string>',
5585+
PHP_VERSION_ID < 80000 ? 'non-empty-array<int, string>|false' : 'non-empty-array<int, string>',
55865586
'$strSplitConstantStringWithVariableStringAndVariableSplitLength',
55875587
],
55885588
// parse_url
@@ -7490,11 +7490,11 @@ public function dataExplode(): array
74907490
'$sureFalse',
74917491
],
74927492
[
7493-
PHP_VERSION_ID < 80000 ? '(non-empty-array<int, string>)|false' : 'non-empty-array<int, string>',
7493+
PHP_VERSION_ID < 80000 ? 'non-empty-array<int, string>|false' : 'non-empty-array<int, string>',
74947494
'$arrayOrFalse',
74957495
],
74967496
[
7497-
PHP_VERSION_ID < 80000 ? '(non-empty-array<int, string>)|false' : 'non-empty-array<int, string>',
7497+
PHP_VERSION_ID < 80000 ? 'non-empty-array<int, string>|false' : 'non-empty-array<int, string>',
74987498
'$anotherArrayOrFalse',
74997499
],
75007500
[

0 commit comments

Comments
 (0)