Skip to content

Update Adapter.php #471

Update Adapter.php

Update Adapter.php #471

Triggered via pull request December 4, 2024 08:25
Status Failure
Total duration 33s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 1 warning
UndefinedInterfaceMethod: src/Adapter.php#L83
src/Adapter.php:83:19: UndefinedInterfaceMethod: Method Yiisoft\Queue\Message\MessageInterface::setId does not exist (see https://psalm.dev/181)
DeprecatedProperty: src/Adapter.php#L107
src/Adapter.php:107:69: DeprecatedProperty: PhpAmqpLib\Message\AMQPMessage::$body is marked deprecated (see https://psalm.dev/099)
DeprecatedProperty: src/ExistingMessagesConsumer.php#L40
src/ExistingMessagesConsumer.php:40:63: DeprecatedProperty: PhpAmqpLib\Message\AMQPMessage::$body is marked deprecated (see https://psalm.dev/099)
UndefinedInterfaceMethod: src/MessageSerializer.php#L21
src/MessageSerializer.php:21:31: UndefinedInterfaceMethod: Method Yiisoft\Queue\Message\MessageInterface::getId does not exist (see https://psalm.dev/181)
TooManyArguments: src/MessageSerializer.php#L57
src/MessageSerializer.php:57:16: TooManyArguments: Too many arguments for Yiisoft\Queue\Message\Message::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.
psalm / PHP 8.3-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
UndefinedInterfaceMethod: src/Adapter.php#L83
src/Adapter.php:83:19: UndefinedInterfaceMethod: Method Yiisoft\Queue\Message\MessageInterface::setId does not exist (see https://psalm.dev/181)
DeprecatedProperty: src/Adapter.php#L107
src/Adapter.php:107:69: DeprecatedProperty: PhpAmqpLib\Message\AMQPMessage::$body is marked deprecated (see https://psalm.dev/099)
DeprecatedProperty: src/ExistingMessagesConsumer.php#L40
src/ExistingMessagesConsumer.php:40:63: DeprecatedProperty: PhpAmqpLib\Message\AMQPMessage::$body is marked deprecated (see https://psalm.dev/099)
UndefinedInterfaceMethod: src/MessageSerializer.php#L21
src/MessageSerializer.php:21:31: UndefinedInterfaceMethod: Method Yiisoft\Queue\Message\MessageInterface::getId does not exist (see https://psalm.dev/181)
TooManyArguments: src/MessageSerializer.php#L57
src/MessageSerializer.php:57:16: TooManyArguments: Too many arguments for Yiisoft\Queue\Message\Message::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
psalm / PHP 8.3-ubuntu-latest
The operation was canceled.
psalm / PHP 8.1-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636