Skip to content

fix tests ci

fix tests ci #9

Triggered via push February 26, 2024 22:36
Status Failure
Total duration 29s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
PHPStan: src/ApiClient.php#L97
Method OpenSoutheners\Docker\ApiClient::post() has parameter $body with no type specified.
PHPStan: src/ApiClient.php#L109
Method OpenSoutheners\Docker\ApiClient::put() has parameter $body with no type specified.
PHPStan: src/ApiClient.php#L121
Method OpenSoutheners\Docker\ApiClient::patch() has parameter $body with no type specified.
PHPStan: src/ApiClient.php#L187
Parameter #1 $content of method Psr\Http\Message\StreamFactoryInterface::createStream() expects string, mixed given.
PHPStan: src/ApiClient.php#L195
Match expression does not handle remaining value: mixed
PHPStan: src/ApiClient.php#L221
Parameter #2 $responseBody of static method OpenSoutheners\Docker\Exceptions\DockerApiException::fromResponse() expects array|string, mixed given.
PHPStan: src/Compose/Builder.php#L27
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
PHPStan: src/Compose/Builder.php#L27
Cannot access offset 'services' on mixed.
PHPStan: src/Compose/Builder.php#L28
Parameter #1 $data of method OpenSoutheners\Docker\Compose\ServiceBuilder::fromArray() expects array, mixed given.
PHPStan: src/Compose/Builder.php#L28
Parameter #2 $id of method OpenSoutheners\Docker\Compose\ServiceBuilder::add() expects string, mixed given.
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.