Skip to content

wrap client sockets in an IO class #71

wrap client sockets in an IO class

wrap client sockets in an IO class #71

Triggered via push March 3, 2024 15:54
Status Failure
Total duration 3m 31s
Artifacts

ci.yml

on: push
Matrix: CS
Matrix: PHPUnit
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

37 errors and 4 warnings
UndefinedDocblockClass: src/Remote.php#L22
src/Remote.php:22:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Innmind\IO\Sockets\Client does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Remote/Generic.php#L63
src/Remote/Generic.php:63:73: MixedReturnTypeCoercion: The declared return type 'Innmind\Immutable\Maybe<Innmind\IO\Sockets\Client>' for Innmind\OperatingSystem\Remote\Generic::socket is more specific than the inferred return type 'Innmind\Immutable\Maybe<mixed>' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Remote/Generic.php#L65
src/Remote/Generic.php:65:16: MixedReturnTypeCoercion: The type 'Innmind\Immutable\Maybe<mixed>' is more general than the declared return type 'Innmind\Immutable\Maybe<Innmind\IO\Sockets\Client>' for Innmind\OperatingSystem\Remote\Generic::socket (see https://psalm.dev/197)
MixedArgumentTypeCoercion: src/Remote/Generic.php#L66
src/Remote/Generic.php:66:13: MixedArgumentTypeCoercion: Argument 1 of Innmind\Immutable\Maybe::map expects callable(Innmind\Socket\Client\Internet):mixed, but parent type Closure provided (see https://psalm.dev/194)
UndefinedMethod: src/Remote/Generic.php#L66
src/Remote/Generic.php:66:34: UndefinedMethod: Method Innmind\IO\IO::sockets does not exist (see https://psalm.dev/022)
MixedMethodCall: src/Remote/Generic.php#L66
src/Remote/Generic.php:66:45: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/Remote/Generic.php#L66
src/Remote/Generic.php:66:56: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
UndefinedDocblockClass: src/Sockets.php#L32
src/Sockets.php:32:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Innmind\IO\Sockets\Client does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Sockets/Unix.php#L43
src/Sockets/Unix.php:43:50: MixedReturnTypeCoercion: The declared return type 'Innmind\Immutable\Maybe<Innmind\IO\Sockets\Client>' for Innmind\OperatingSystem\Sockets\Unix::connectTo is more specific than the inferred return type 'Innmind\Immutable\Maybe<mixed>' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Sockets/Unix.php#L45
src/Sockets/Unix.php:45:16: MixedReturnTypeCoercion: The type 'Innmind\Immutable\Maybe<mixed>' is more general than the declared return type 'Innmind\Immutable\Maybe<Innmind\IO\Sockets\Client>' for Innmind\OperatingSystem\Sockets\Unix::connectTo (see https://psalm.dev/197)
Psalm (8.2, lowest)
The job was canceled because "_8_3_lowest" failed.
UndefinedDocblockClass: src/Remote.php#L22
src/Remote.php:22:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Innmind\IO\Sockets\Client does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Remote/Generic.php#L63
src/Remote/Generic.php:63:73: MixedReturnTypeCoercion: The declared return type 'Innmind\Immutable\Maybe<Innmind\IO\Sockets\Client>' for Innmind\OperatingSystem\Remote\Generic::socket is more specific than the inferred return type 'Innmind\Immutable\Maybe<mixed>' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Remote/Generic.php#L65
src/Remote/Generic.php:65:16: MixedReturnTypeCoercion: The type 'Innmind\Immutable\Maybe<mixed>' is more general than the declared return type 'Innmind\Immutable\Maybe<Innmind\IO\Sockets\Client>' for Innmind\OperatingSystem\Remote\Generic::socket (see https://psalm.dev/197)
MixedArgumentTypeCoercion: src/Remote/Generic.php#L66
src/Remote/Generic.php:66:13: MixedArgumentTypeCoercion: Argument 1 of Innmind\Immutable\Maybe::map expects callable(Innmind\Socket\Client\Internet):mixed, but parent type Closure provided (see https://psalm.dev/194)
UndefinedMethod: src/Remote/Generic.php#L66
src/Remote/Generic.php:66:34: UndefinedMethod: Method Innmind\IO\IO::sockets does not exist (see https://psalm.dev/022)
MixedMethodCall: src/Remote/Generic.php#L66
src/Remote/Generic.php:66:45: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/Remote/Generic.php#L66
src/Remote/Generic.php:66:56: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
UndefinedDocblockClass: src/Sockets.php#L32
src/Sockets.php:32:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Innmind\IO\Sockets\Client does not exist (see https://psalm.dev/200)
MixedReturnTypeCoercion: src/Sockets/Unix.php#L43
src/Sockets/Unix.php:43:50: MixedReturnTypeCoercion: The declared return type 'Innmind\Immutable\Maybe<Innmind\IO\Sockets\Client>' for Innmind\OperatingSystem\Sockets\Unix::connectTo is more specific than the inferred return type 'Innmind\Immutable\Maybe<mixed>' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Sockets/Unix.php#L45
src/Sockets/Unix.php:45:16: MixedReturnTypeCoercion: The type 'Innmind\Immutable\Maybe<mixed>' is more general than the declared return type 'Innmind\Immutable\Maybe<Innmind\IO\Sockets\Client>' for Innmind\OperatingSystem\Sockets\Unix::connectTo (see https://psalm.dev/197)
Psalm (8.3, highest)
The job was canceled because "_8_3_lowest" failed.
PHPUnit (ubuntu-latest, 8.2, lowest)
Process completed with exit code 2.
PHPUnit (ubuntu-latest, 8.3, lowest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
PHPUnit (ubuntu-latest, 8.3, lowest)
The operation was canceled.
PHPUnit (ubuntu-latest, 8.2, highest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
PHPUnit (ubuntu-latest, 8.2, highest)
The operation was canceled.
PHPUnit (ubuntu-latest, 8.3, highest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
PHPUnit (ubuntu-latest, 8.3, highest)
The operation was canceled.
PHPUnit (macOS-latest, 8.2, lowest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
PHPUnit (macOS-latest, 8.2, lowest)
The operation was canceled.
PHPUnit (macOS-latest, 8.3, highest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
PHPUnit (macOS-latest, 8.3, highest)
The operation was canceled.
PHPUnit (macOS-latest, 8.3, lowest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
PHPUnit (macOS-latest, 8.3, lowest)
The operation was canceled.
PHPUnit (macOS-latest, 8.2, highest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
PHPUnit (macOS-latest, 8.2, highest)
The operation was canceled.
Psalm (8.2, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CS (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Psalm (8.3, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit (ubuntu-latest, 8.2, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.