Fix tomasvotruba/type-coverage 0.2.* test expectations #426
static-analysis.yml
on: pull_request
Matrix: phpstan static code analysis
Annotations
6 errors
phpstan static code analysis (ubuntu-latest, 8.2):
lib/BaselineAnalyzer.php#L167
Function preg_replace is unsafe to use. It can return FALSE instead of throwing an exception. Please add 'use function Safe\preg_replace;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library.
|
phpstan static code analysis (ubuntu-latest, 8.2):
lib/BaselineAnalyzer.php#L167
Method staabm\PHPStanBaselineAnalysis\BaselineAnalyzer::normalizeMessage() should return string but returns string|null.
|
phpstan static code analysis (ubuntu-latest, 8.2)
Process completed with exit code 1.
|
phpstan static code analysis (ubuntu-latest, 7.4)
The operation was canceled.
|
phpstan static code analysis (ubuntu-latest, 8.1)
The operation was canceled.
|
phpstan static code analysis (ubuntu-latest, 8.0)
The operation was canceled.
|