Skip to content

Adding MessageBus Component #95

Adding MessageBus Component

Adding MessageBus Component #95

Triggered via pull request October 27, 2023 14:47
Status Failure
Total duration 1m 15s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MethodSignatureMismatch: src/SonsOfPHP/Component/Queue/Broker/Broker.php#L13
src/SonsOfPHP/Component/Queue/Broker/Broker.php:13:7: MethodSignatureMismatch: Method SonsOfPHP\Component\Queue\Broker\Broker::get with return type 'SonsOfPHP\Component\Queue\MessageQueue\QueueInterface' is different to return type 'SonsOfPHP\Component\Queue\Broker\QueueInterface' of inherited method SonsOfPHP\Component\Queue\Broker\BrokerInterface::get (see https://psalm.dev/042)
UnusedClass: src/SonsOfPHP/Component/Queue/Broker/Broker.php#L13
src/SonsOfPHP/Component/Queue/Broker/Broker.php:13:7: UnusedClass: Class SonsOfPHP\Component\Queue\Broker\Broker is never used (see https://psalm.dev/075)
UndefinedVariable: src/SonsOfPHP/Component/Queue/Broker/Broker.php#L27
src/SonsOfPHP/Component/Queue/Broker/Broker.php:27:31: UndefinedVariable: Cannot find referenced variable $queue (see https://psalm.dev/024)
UndefinedVariable: src/SonsOfPHP/Component/Queue/Broker/Broker.php#L31
src/SonsOfPHP/Component/Queue/Broker/Broker.php:31:30: UndefinedVariable: Cannot find referenced variable $queue (see https://psalm.dev/024)
MethodSignatureMismatch: src/SonsOfPHP/Component/Queue/Broker/Broker.php#L34
src/SonsOfPHP/Component/Queue/Broker/Broker.php:34:40: MethodSignatureMismatch: Argument 1 of SonsOfPHP\Component\Queue\Broker\Broker::add has wrong type 'SonsOfPHP\Component\Queue\MessageQueue\QueueInterface', expecting 'SonsOfPHP\Component\Queue\Broker\QueueInterface' as defined by SonsOfPHP\Component\Queue\Broker\BrokerInterface::add (see https://psalm.dev/042)
PossiblyUnusedMethod: src/SonsOfPHP/Component/Queue/Broker/BrokerInterface.php#L17
src/SonsOfPHP/Component/Queue/Broker/BrokerInterface.php:17:21: PossiblyUnusedMethod: Cannot find explicit calls to method SonsOfPHP\Component\Queue\Broker\BrokerInterface::get (but did find some potential callers) (see https://psalm.dev/087)
UndefinedClass: src/SonsOfPHP/Component/Queue/Broker/BrokerInterface.php#L17
src/SonsOfPHP/Component/Queue/Broker/BrokerInterface.php:17:40: UndefinedClass: Class, interface or enum named SonsOfPHP\Component\Queue\Broker\QueueInterface does not exist (see https://psalm.dev/019)
UndefinedClass: src/SonsOfPHP/Component/Queue/Broker/BrokerInterface.php#L19
src/SonsOfPHP/Component/Queue/Broker/BrokerInterface.php:19:25: UndefinedClass: Class, interface or enum named SonsOfPHP\Component\Queue\Broker\QueueInterface does not exist (see https://psalm.dev/019)
PossiblyUnusedMethod: src/SonsOfPHP/Component/Queue/MessageQueue/QueueInterface.php#L16
src/SonsOfPHP/Component/Queue/MessageQueue/QueueInterface.php:16:21: PossiblyUnusedMethod: Cannot find any calls to method SonsOfPHP\Component\Queue\MessageQueue\QueueInterface::publish (see https://psalm.dev/087)
PossiblyUnusedMethod: src/SonsOfPHP/Component/Queue/MessageQueue/QueueInterface.php#L18
src/SonsOfPHP/Component/Queue/MessageQueue/QueueInterface.php:18:21: PossiblyUnusedMethod: Cannot find any calls to method SonsOfPHP\Component\Queue\MessageQueue\QueueInterface::receive (see https://psalm.dev/087)