Skip to content

Updated code to be compatible with php-etl/pipeline-contracts:0.5 #30

Updated code to be compatible with php-etl/pipeline-contracts:0.5

Updated code to be compatible with php-etl/pipeline-contracts:0.5 #30

Triggered via push November 21, 2023 16:16
Status Failure
Total duration 25s
Artifacts

phpstan-7.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: 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: src/Extractor.php#L20
Property Kiboko\Component\Flow\RabbitMQ\Extractor::$channel (Bunny\Channel) does not accept Bunny\Channel|React\Promise\PromiseInterface.
phpstan: src/Extractor.php#L22
Call to an undefined method Bunny\Channel|React\Promise\PromiseInterface::queueDeclare().
phpstan: src/Extractor.php#L76
Parameter #1 $message of method Bunny\Channel::ack() expects Bunny\Message, Bunny\Message|React\Promise\PromiseInterface given.
phpstan: src/Extractor.php#L78
Access to an undefined property Bunny\Message|React\Promise\PromiseInterface::$content.
phpstan: src/Loader.php#L12
Class Kiboko\Component\Flow\RabbitMQ\Loader implements generic interface Kiboko\Contract\Pipeline\LoaderInterface but does not specify its types: InputType, OutputType
phpstan: src/Loader.php#L21
Property Kiboko\Component\Flow\RabbitMQ\Loader::$channel (Bunny\Channel) does not accept Bunny\Channel|React\Promise\PromiseInterface.
phpstan: src/Loader.php#L23
Call to an undefined method Bunny\Channel|React\Promise\PromiseInterface::queueDeclare().
phpstan: src/Loader.php#L74
Generator expects value type Kiboko\Contract\Bucket\ResultBucketInterface<mixed>, null given.
phpstan: src/Loader.php#L76
While loop condition is always true.