(v)sprintf() can return false on PHP7 #15990
static-analysis.yml
on: pull_request
Generate baseline
1m 20s
Generate PHP baseline
1m 31s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
60 errors
PHPStan (7.4, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L63
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L71
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L85
Parameter #2 $contextDescription of class PHPStan\Analyser\InternalError constructor expects string, string|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L178
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L189
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/ConditionalExpressionHolder.php#L50
Method PHPStan\Analyser\ConditionalExpressionHolder::getKey() should return string but returns string|false.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/Error.php#L62
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/Error.php#L189
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/FileAnalyser.php#L122
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/FileAnalyser.php#L130
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L78
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L86
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L100
Parameter #2 $contextDescription of class PHPStan\Analyser\InternalError constructor expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L193
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L204
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/ConditionalExpressionHolder.php#L53
Method PHPStan\Analyser\ConditionalExpressionHolder::getKey() should return string but returns string|false.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/Error.php#L86
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/Error.php#L213
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/FileAnalyser.php#L140
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, ubuntu-latest):
src/Analyser/FileAnalyser.php#L148
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L78
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L86
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L98
Parameter #2 $contextDescription of class PHPStan\Analyser\InternalError constructor expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L156
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L161
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/ConditionalExpressionHolder.php#L53
Method PHPStan\Analyser\ConditionalExpressionHolder::getKey() should return string but returns string|false.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/Error.php#L86
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/Error.php#L169
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/FileAnalyser.php#L140
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, ubuntu-latest):
src/Analyser/FileAnalyser.php#L148
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L63
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L71
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L85
Parameter #2 $contextDescription of class PHPStan\Analyser\InternalError constructor expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L178
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L189
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Analyser/ConditionalExpressionHolder.php#L50
Method PHPStan\Analyser\ConditionalExpressionHolder::getKey() should return string but returns string|false.
|
PHPStan (7.4, windows-latest):
src/Analyser/Error.php#L62
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Analyser/Error.php#L189
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Analyser/FileAnalyser.php#L122
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.4, windows-latest):
src/Analyser/FileAnalyser.php#L130
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L78
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L86
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L100
Parameter #2 $contextDescription of class PHPStan\Analyser\InternalError constructor expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L193
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L204
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Analyser/ConditionalExpressionHolder.php#L53
Method PHPStan\Analyser\ConditionalExpressionHolder::getKey() should return string but returns string|false.
|
PHPStan (7.3, windows-latest):
src/Analyser/Error.php#L86
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Analyser/Error.php#L213
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Analyser/FileAnalyser.php#L140
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.3, windows-latest):
src/Analyser/FileAnalyser.php#L148
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L78
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L86
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L98
Parameter #2 $contextDescription of class PHPStan\Analyser\InternalError constructor expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L156
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L161
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Analyser/ConditionalExpressionHolder.php#L53
Method PHPStan\Analyser\ConditionalExpressionHolder::getKey() should return string but returns string|false.
|
PHPStan (7.2, windows-latest):
src/Analyser/Error.php#L86
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Analyser/Error.php#L169
Parameter #1 $message of class PHPStan\ShouldNotHappenException constructor expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Analyser/FileAnalyser.php#L140
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|
PHPStan (7.2, windows-latest):
src/Analyser/FileAnalyser.php#L148
Parameter #1 $message of class PHPStan\Analyser\Error constructor expects string, string|false given.
|