Rewrite middlewares #459
Annotations
7 errors
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
src/Adapter.php#L71
src/Adapter.php:71:19: UndefinedInterfaceMethod: Method Yiisoft\Queue\Message\MessageInterface::setId does not exist (see https://psalm.dev/181)
|
Static analysis.:
src/MessageSerializer.php#L21
src/MessageSerializer.php:21:31: UndefinedInterfaceMethod: Method Yiisoft\Queue\Message\MessageInterface::getId does not exist (see https://psalm.dev/181)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading