Skip to content

Commit 6343ab3

Browse files
Fix
1 parent f775db0 commit 6343ab3

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

phpstan-baseline.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ parameters:
1313
path: src/Analyser/AnalyserResultFinalizer.php
1414

1515
-
16-
rawMessage: 'PHPDoc tag @var with type int|string is not subtype of type string.'
16+
rawMessage: PHPDoc tag @var with type int|string is not subtype of type string.
1717
identifier: varTag.type
1818
count: 1
1919
path: src/Analyser/ArgumentsNormalizer.php

src/Analyser/ArgumentsNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
use function array_keys;
2323
use function array_values;
2424
use function count;
25+
use function is_string;
2526
use function key;
2627
use function ksort;
27-
use function is_string;
2828
use function max;
2929
use function sprintf;
3030

tests/PHPStan/Rules/Functions/CallUserFuncRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public function testRule(): void
7474
]);
7575
}
7676

77+
#[RequiresPhp('>= 8.0')]
7778
public function testRuleCallUserFuncArray(): void
7879
{
7980
$this->analyse([__DIR__ . '/data/call-user-func-array.php'], [

0 commit comments

Comments
 (0)