Skip to content

Improve ReplaceFunctionsDynamicReturnTypeExtension #21212

Improve ReplaceFunctionsDynamicReturnTypeExtension

Improve ReplaceFunctionsDynamicReturnTypeExtension #21212

Triggered via pull request May 25, 2025 21:45
Status Failure
Total duration 3m 36s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 36s
Generate baseline
Generate PHP baseline
1m 35s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

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.