(v)sprintf() can return false on PHP7 #15991
Annotations
10 errors
src/Analyser/Ignore/IgnoredErrorHelper.php#L135
Parameter #2 $errors of class PHPStan\Analyser\Ignore\IgnoredErrorHelperResult constructor expects list<string>, list<string|false> given.
|
src/Analyser/MutatingScope.php#L3283
Parameter #5 $expressionTypes of method PHPStan\Analyser\InternalScopeFactory::create() expects array<string, PHPStan\Analyser\ExpressionTypeHolder>, array<int|string, PHPStan\Analyser\ExpressionTypeHolder> given.
|
src/Analyser/MutatingScope.php#L3284
Parameter #6 $nativeExpressionTypes of method PHPStan\Analyser\InternalScopeFactory::create() expects array<string, PHPStan\Analyser\ExpressionTypeHolder>, array<int|string, PHPStan\Analyser\ExpressionTypeHolder> given.
|
src/Analyser/MutatingScope.php#L5192
Method PHPStan\Analyser\MutatingScope::debug() should return array<string> but returns array<(int|string), string|false>.
|
src/Analyser/NodeScopeResolver.php#L5627
Property PHPStan\Analyser\NodeScopeResolver::$calledMethodStack (array<string, true>) does not accept non-empty-array<0|string, true>.
|
src/Analyser/NodeScopeResolver.php#L5685
Property PHPStan\Analyser\NodeScopeResolver::$calledMethodResults (array<string, PHPStan\Analyser\MutatingScope|null>) does not accept array<int|string, mixed>.
|
src/Command/AnalyseCommand.php#L344
Parameter #1 $message of class PHPStan\Analyser\InternalError constructor expects string, string|false given.
|
src/Command/AnalyseCommand.php#L374
Parameter #1 $message of class PHPStan\Analyser\InternalError constructor expects string, string|false given.
|
src/Command/AnalyseCommand.php#L419
Parameter #1 $message of class PHPStan\Analyser\InternalError constructor expects string, string|false given.
|
src/Command/CommandHelper.php#L252
Parameter #1 $filename of function is_file expects string, string|false given.
|
This job failed
Loading