fix types #11
Annotations
10 errors and 1 warning
Run analysis:
src/ApiClient.php#L214
Match expression does not handle remaining value: mixed
|
Run analysis:
src/Compose/Builder.php#L27
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
|
Run analysis:
src/Compose/Builder.php#L27
Cannot access offset 'services' on mixed.
|
Run analysis:
src/Compose/Builder.php#L28
Parameter #1 $data of method OpenSoutheners\Docker\Compose\ServiceBuilder::fromArray() expects array, mixed given.
|
Run analysis:
src/Compose/Builder.php#L28
Parameter #2 $id of method OpenSoutheners\Docker\Compose\ServiceBuilder::add() expects string, mixed given.
|
Run analysis:
src/Compose/Builder.php#L45
Method OpenSoutheners\Docker\Compose\Builder::toYaml() has no return type specified.
|
Run analysis:
src/Compose/Service.php#L24
Method OpenSoutheners\Docker\Compose\Service::toArray() has no return type specified.
|
Run analysis:
src/Compose/Service.php#L30
Parameter #2 $array of function array_map expects array, array<OpenSoutheners\Docker\Compose\ServicePort>|null given.
|
Run analysis:
src/Compose/ServiceBuilder.php#L24
Parameter #1 $target of method OpenSoutheners\Docker\Compose\ServiceBuilder::addPort() expects int|OpenSoutheners\Docker\Compose\ServicePort, string given.
|
Run analysis:
src/Compose/ServiceBuilder.php#L24
Parameter #2 $published of method OpenSoutheners\Docker\Compose\ServiceBuilder::addPort() expects int|null, string|null given.
|
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/.
|
Loading