Skip to content

Fix tomasvotruba/type-coverage 0.2.* test expectations #426

Fix tomasvotruba/type-coverage 0.2.* test expectations

Fix tomasvotruba/type-coverage 0.2.* test expectations #426

Triggered via pull request September 14, 2023 12:10
@clxmstaabclxmstaab
synchronize #139
fix-v02
Status Failure
Total duration 37s
Artifacts

static-analysis.yml

on: pull_request
Matrix: phpstan static code analysis
Fit to window
Zoom out
Zoom in

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.