Skip to content

fix tests in CI

fix tests in CI #24

Triggered via push December 11, 2023 16:12
Status Failure
Total duration 27s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PHPStan: src/Commands/DeployLocal.php#L53
Parameter #1 $path of function base_path expects string, string|null given.
PHPStan: src/Commands/DeployLocal.php#L196
Method OpenSoutheners\SidecarLocal\Commands\DeployLocal::runInDocker() should return int but returns int|null.
PHPStan: src/Commands/DeployLocal.php#L214
Method OpenSoutheners\SidecarLocal\Commands\DeployLocal::stopDocker() should return int but returns int|null.
PHPStan: src/SidecarLayers.php#L35
Part $basePath (mixed) of encapsed string cannot be cast to string.
PHPStan: src/SidecarLayers.php#L48
Parameter #1 $path of method Illuminate\Filesystem\Filesystem::copy() expects string, mixed given.
PHPStan: src/SidecarLayers.php#L62
Parameter #1 $search of method Illuminate\Support\Stringable::replaceFirst() expects string, mixed given.
PHPStan
Process completed with exit code 1.