Skip to content

Update to latest websocket changes #34

Update to latest websocket changes

Update to latest websocket changes #34

Triggered via push September 3, 2023 20:24
Status Failure
Total duration 34s
Artifacts

ci.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 7 warnings
MissingTemplateParam: src/Rfc6455Connection.php#L19
src/Rfc6455Connection.php:19:63: MissingTemplateParam: Amp\Websocket\Client\Rfc6455Connection has missing template params when extending IteratorAggregate, expecting 2 (see https://psalm.dev/182)
InvalidNullableReturnType: src/Rfc6455Connection.php#L63
src/Rfc6455Connection.php:63:39: InvalidNullableReturnType: The declared return type 'bool' for Amp\Websocket\Client\Rfc6455Connection::isClosedByPeer is not nullable, but 'bool|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Rfc6455Connection.php#L65
src/Rfc6455Connection.php:65:16: NullableReturnStatement: The declared return type 'bool' for Amp\Websocket\Client\Rfc6455Connection::isClosedByPeer is not nullable, but the function returns 'bool|null' (see https://psalm.dev/139)
InvalidNullableReturnType: src/Rfc6455Connection.php#L68
src/Rfc6455Connection.php:68:37: InvalidNullableReturnType: The declared return type 'int' for Amp\Websocket\Client\Rfc6455Connection::getCloseCode is not nullable, but 'int|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Rfc6455Connection.php#L70
src/Rfc6455Connection.php:70:16: NullableReturnStatement: The declared return type 'int' for Amp\Websocket\Client\Rfc6455Connection::getCloseCode is not nullable, but the function returns 'int|null' (see https://psalm.dev/139)
InvalidNullableReturnType: src/Rfc6455Connection.php#L73
src/Rfc6455Connection.php:73:39: InvalidNullableReturnType: The declared return type 'string' for Amp\Websocket\Client\Rfc6455Connection::getCloseReason is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Rfc6455Connection.php#L75
src/Rfc6455Connection.php:75:16: NullableReturnStatement: The declared return type 'string' for Amp\Websocket\Client\Rfc6455Connection::getCloseReason is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
PHP 8.2
Process completed with exit code 2.
MissingTemplateParam: src/Rfc6455Connection.php#L19
src/Rfc6455Connection.php:19:63: MissingTemplateParam: Amp\Websocket\Client\Rfc6455Connection has missing template params when extending IteratorAggregate, expecting 2 (see https://psalm.dev/182)
InvalidNullableReturnType: src/Rfc6455Connection.php#L63
src/Rfc6455Connection.php:63:39: InvalidNullableReturnType: The declared return type 'bool' for Amp\Websocket\Client\Rfc6455Connection::isClosedByPeer is not nullable, but 'bool|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Rfc6455Connection.php#L65
src/Rfc6455Connection.php:65:16: NullableReturnStatement: The declared return type 'bool' for Amp\Websocket\Client\Rfc6455Connection::isClosedByPeer is not nullable, but the function returns 'bool|null' (see https://psalm.dev/139)
InvalidNullableReturnType: src/Rfc6455Connection.php#L68
src/Rfc6455Connection.php:68:37: InvalidNullableReturnType: The declared return type 'int' for Amp\Websocket\Client\Rfc6455Connection::getCloseCode is not nullable, but 'int|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Rfc6455Connection.php#L70
src/Rfc6455Connection.php:70:16: NullableReturnStatement: The declared return type 'int' for Amp\Websocket\Client\Rfc6455Connection::getCloseCode is not nullable, but the function returns 'int|null' (see https://psalm.dev/139)
InvalidNullableReturnType: src/Rfc6455Connection.php#L73
src/Rfc6455Connection.php:73:39: InvalidNullableReturnType: The declared return type 'string' for Amp\Websocket\Client\Rfc6455Connection::getCloseReason is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Rfc6455Connection.php#L75
src/Rfc6455Connection.php:75:16: NullableReturnStatement: The declared return type 'string' for Amp\Websocket\Client\Rfc6455Connection::getCloseReason is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
PHP 8.1
Process completed with exit code 2.
PHP 8.2 on Windows
The operation was canceled.
PHP 8.2 on macOS
The operation was canceled.
PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.2
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.1
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.2 on Windows
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.2 on macOS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.2 on macOS
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/