Skip to content

Rewrite middlewares #459

Rewrite middlewares

Rewrite middlewares #459

Triggered via pull request January 14, 2024 10:37
Status Failure
Total duration 42s
Artifacts

static.yml

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

Annotations

17 errors
MethodSignatureMismatch: src/Adapter.php#L15
src/Adapter.php:15:13: MethodSignatureMismatch: Method Yiisoft\Queue\AMQP\Adapter::push with return type 'void' is different to return type 'Yiisoft\Queue\Message\MessageInterface' of inherited method Yiisoft\Queue\Adapter\AdapterInterface::push (see https://psalm.dev/042)
MethodSignatureMismatch: src/Adapter.php#L47
src/Adapter.php:47:35: MethodSignatureMismatch: Argument 1 of Yiisoft\Queue\AMQP\Adapter::status has wrong type 'string', expecting 'int|string' as defined by Yiisoft\Queue\Adapter\AdapterInterface::status (see https://psalm.dev/042)
UndefinedInterfaceMethod: src/Adapter.php#L71
src/Adapter.php:71:19: UndefinedInterfaceMethod: Method Yiisoft\Queue\Message\MessageInterface::setId does not exist (see https://psalm.dev/181)
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)
UndefinedClass: src/Middleware/DelayMiddleware.php#L19
src/Middleware/DelayMiddleware.php:19:40: UndefinedClass: Class, interface or enum named Yiisoft\Queue\Middleware\MiddlewareInterface does not exist (see https://psalm.dev/019)
psalm / PHP 8.0-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
MethodSignatureMismatch: src/Adapter.php#L15
src/Adapter.php:15:13: MethodSignatureMismatch: Method Yiisoft\Queue\AMQP\Adapter::push with return type 'void' is different to return type 'Yiisoft\Queue\Message\MessageInterface' of inherited method Yiisoft\Queue\Adapter\AdapterInterface::push (see https://psalm.dev/042)
MethodSignatureMismatch: src/Adapter.php#L47
src/Adapter.php:47:35: MethodSignatureMismatch: Argument 1 of Yiisoft\Queue\AMQP\Adapter::status has wrong type 'string', expecting 'int|string' as defined by Yiisoft\Queue\Adapter\AdapterInterface::status (see https://psalm.dev/042)
UndefinedInterfaceMethod: src/Adapter.php#L71
src/Adapter.php:71:19: UndefinedInterfaceMethod: Method Yiisoft\Queue\Message\MessageInterface::setId does not exist (see https://psalm.dev/181)
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)
UndefinedClass: src/Middleware/DelayMiddleware.php#L19
src/Middleware/DelayMiddleware.php:19:40: UndefinedClass: Class, interface or enum named Yiisoft\Queue\Middleware\MiddlewareInterface does not exist (see https://psalm.dev/019)
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_0" failed.
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.