Remove the withChannelName() method from QueueInterface #1081
Annotations
8 errors and 1 warning
Static analysis.:
src/Debug/QueueCollector.php#L76
src/Debug/QueueCollector.php:76:9: PossiblyNullArrayOffset: Cannot access value on variable $this->processingMessages[null|string] using possibly null offset null|string (see https://psalm.dev/125)
|
Static analysis.:
src/Debug/QueueDecorator.php#L24
src/Debug/QueueDecorator.php:24:41: PossiblyInvalidArgument: Argument 1 of Yiisoft\Queue\Debug\QueueCollector::collectStatus expects string, but possibly different type int|string provided (see https://psalm.dev/092)
|
Static analysis.:
src/Middleware/FailureHandling/FailureMiddlewareDispatcher.php#L44
src/Middleware/FailureHandling/FailureMiddlewareDispatcher.php:44:38: PossiblyNullArrayOffset: Cannot access value on variable $this->middlewareDefinitions using possibly null offset null|string (see https://psalm.dev/125)
|
Static analysis.:
src/Middleware/FailureHandling/FailureMiddlewareDispatcher.php#L47
src/Middleware/FailureHandling/FailureMiddlewareDispatcher.php:47:13: PossiblyNullArrayOffset: Cannot access value on variable $this->stack[$channelName] using possibly null offset null|string (see https://psalm.dev/125)
|
Static analysis.:
src/Provider/AdapterFactoryQueueProvider.php#L88
src/Provider/AdapterFactoryQueueProvider.php:88:80: UndefinedInterfaceMethod: Method Yiisoft\Queue\QueueInterface::withChannelName does not exist (see https://psalm.dev/181)
|
Static analysis.:
src/Provider/PrototypeQueueProvider.php#L25
src/Provider/PrototypeQueueProvider.php:25:34: UndefinedInterfaceMethod: Method Yiisoft\Queue\QueueInterface::withChannelName does not exist (see https://psalm.dev/181)
|
Static analysis.:
src/Queue.php#L111
src/Queue.php:111:39: PossiblyInvalidArgument: Argument 1 of Yiisoft\Queue\Adapter\AdapterInterface::status expects string, but possibly different type int|string provided (see https://psalm.dev/092)
|
Static analysis.
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading