Improve ReplaceFunctionsDynamicReturnTypeExtension #21212
static-analysis.yml
on: pull_request
Generate baseline
1m 36s
Generate PHP baseline
1m 35s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
6 errors
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, ubuntu-latest):
src/File/SimpleRelativePathHelper.php#L22
Method PHPStan\File\SimpleRelativePathHelper::getRelativePath() should return string but returns array<string>|string.
|
PHPStan (7.4, ubuntu-latest):
src/File/ParentDirectoryRelativePathHelper.php#L42
Parameter #1 $str of function trim expects string, array<string>|string given.
|
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (7.4, windows-latest):
src/File/SimpleRelativePathHelper.php#L22
Method PHPStan\File\SimpleRelativePathHelper::getRelativePath() should return string but returns array<string>|string.
|
PHPStan (7.4, windows-latest):
src/File/ParentDirectoryRelativePathHelper.php#L42
Parameter #1 $str of function trim expects string, array<string>|string given.
|