Update Adapter.php #470
Annotations
32 errors and 1 warning
InternalClass:
src/Adapter.php#L47
src/Adapter.php:47:10: InternalClass: Yiisoft\Queue\AMQP\ExistingMessagesConsumer is internal to Yiisoft but called from App\Adapter (see https://psalm.dev/174)
|
InternalMethod:
src/Adapter.php#L47
src/Adapter.php:47:10: InternalMethod: Constructor Yiisoft\Queue\AMQP\ExistingMessagesConsumer::__construct is internal to Yiisoft but called from App\Adapter::runExisting (see https://psalm.dev/175)
|
InternalMethod:
src/Adapter.php#L50
src/Adapter.php:50:15: InternalMethod: The method Yiisoft\Queue\AMQP\ExistingMessagesConsumer::consume is internal to Yiisoft but called from App\Adapter::runExisting (see https://psalm.dev/175)
|
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)
|
MixedInferredReturnType:
src/Middleware/DelayMiddleware.php#L42
src/Middleware/DelayMiddleware.php:42:94: MixedInferredReturnType: Could not verify return type 'Yiisoft\Queue\Middleware\Push\PushRequest' for Yiisoft\Queue\AMQP\Middleware\DelayMiddleware::processPush (see https://psalm.dev/047)
|
UndefinedClass:
src/Middleware/DelayMiddleware.php#L45
src/Middleware/DelayMiddleware.php:45:34: UndefinedClass: Class, interface or enum named Yiisoft\Queue\AMQP\Adapter does not exist (see https://psalm.dev/019)
|
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
|
InternalClass:
src/Adapter.php#L47
src/Adapter.php:47:10: InternalClass: Yiisoft\Queue\AMQP\ExistingMessagesConsumer is internal to Yiisoft but called from App\Adapter (see https://psalm.dev/174)
|
InternalMethod:
src/Adapter.php#L47
src/Adapter.php:47:10: InternalMethod: Constructor Yiisoft\Queue\AMQP\ExistingMessagesConsumer::__construct is internal to Yiisoft but called from App\Adapter::runExisting (see https://psalm.dev/175)
|
InternalMethod:
src/Adapter.php#L50
src/Adapter.php:50:15: InternalMethod: The method Yiisoft\Queue\AMQP\ExistingMessagesConsumer::consume is internal to Yiisoft but called from App\Adapter::runExisting (see https://psalm.dev/175)
|
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)
|
MixedInferredReturnType:
src/Middleware/DelayMiddleware.php#L42
src/Middleware/DelayMiddleware.php:42:94: MixedInferredReturnType: Could not verify return type 'Yiisoft\Queue\Middleware\Push\PushRequest' for Yiisoft\Queue\AMQP\Middleware\DelayMiddleware::processPush (see https://psalm.dev/047)
|
UndefinedClass:
src/Middleware/DelayMiddleware.php#L45
src/Middleware/DelayMiddleware.php:45:34: UndefinedClass: Class, interface or enum named Yiisoft\Queue\AMQP\Adapter does not exist (see https://psalm.dev/019)
|
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
|
InternalClass:
src/Adapter.php#L47
src/Adapter.php:47:10: InternalClass: Yiisoft\Queue\AMQP\ExistingMessagesConsumer is internal to Yiisoft but called from App\Adapter (see https://psalm.dev/174)
|
InternalMethod:
src/Adapter.php#L47
src/Adapter.php:47:10: InternalMethod: Constructor Yiisoft\Queue\AMQP\ExistingMessagesConsumer::__construct is internal to Yiisoft but called from App\Adapter::runExisting (see https://psalm.dev/175)
|
InternalMethod:
src/Adapter.php#L50
src/Adapter.php:50:15: InternalMethod: The method Yiisoft\Queue\AMQP\ExistingMessagesConsumer::consume is internal to Yiisoft but called from App\Adapter::runExisting (see https://psalm.dev/175)
|
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)
|
MixedInferredReturnType:
src/Middleware/DelayMiddleware.php#L42
src/Middleware/DelayMiddleware.php:42:94: MixedInferredReturnType: Could not verify return type 'Yiisoft\Queue\Middleware\Push\PushRequest' for Yiisoft\Queue\AMQP\Middleware\DelayMiddleware::processPush (see https://psalm.dev/047)
|
UndefinedClass:
src/Middleware/DelayMiddleware.php#L45
src/Middleware/DelayMiddleware.php:45:34: UndefinedClass: Class, interface or enum named Yiisoft\Queue\AMQP\Adapter does not exist (see https://psalm.dev/019)
|
psalm / PHP 8.3-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|