No need to close the channel #45
Annotations
10 errors and 1 warning
phpstan-8:
src/Extractor.php#L12
Class Kiboko\Component\Flow\RabbitMQ\Extractor implements generic interface Kiboko\Contract\Pipeline\ExtractorInterface but does not specify its types: OutputType
|
phpstan-8:
src/Extractor.php#L20
Property Kiboko\Component\Flow\RabbitMQ\Extractor::$channel (Bunny\Channel) does not accept Bunny\Channel|React\Promise\PromiseInterface.
|
phpstan-8:
src/Extractor.php#L22
Call to an undefined method Bunny\Channel|React\Promise\PromiseInterface::queueDeclare().
|
phpstan-8:
src/Extractor.php#L76
Parameter #1 $message of method Bunny\Channel::ack() expects Bunny\Message, Bunny\Message|React\Promise\PromiseInterface given.
|
phpstan-8:
src/Extractor.php#L78
Access to an undefined property Bunny\Message|React\Promise\PromiseInterface::$content.
|
phpstan-8:
src/Loader.php#L13
Class Kiboko\Component\Flow\RabbitMQ\Loader implements generic interface Kiboko\Contract\Pipeline\LoaderInterface but does not specify its types: InputType, OutputType
|
phpstan-8:
src/Loader.php#L22
Property Kiboko\Component\Flow\RabbitMQ\Loader::$channel (Bunny\Channel) does not accept Bunny\Channel|React\Promise\PromiseInterface.
|
phpstan-8:
src/Loader.php#L24
Call to an undefined method Bunny\Channel|React\Promise\PromiseInterface::queueDeclare().
|
phpstan-8:
src/Loader.php#L84
Parameter $exchange of method Bunny\Channel::publish() expects string, string|null given.
|
phpstan-8:
src/Rejection.php#L22
Property Kiboko\Component\Flow\RabbitMQ\Rejection::$channel (Bunny\Channel) does not accept Bunny\Channel|React\Promise\PromiseInterface.
|
phpstan-8
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|