Skip to content

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

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

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

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

phpstan-5.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/MemoryState.php#L29
Method Kiboko\Component\Runtime\Pipeline\MemoryState::accept() overrides method Kiboko\Contract\Pipeline\StateInterface::accept() but misses parameter #2 $count.
phpstan: src/MemoryState.php#L29
Parameter #1 $step (int) of method Kiboko\Component\Runtime\Pipeline\MemoryState::accept() is not contravariant with parameter #1 $step (Kiboko\Contract\Pipeline\StepCodeInterface) of method Kiboko\Contract\Pipeline\StateInterface::accept().
phpstan: src/MemoryState.php#L32
Parameter #1 $step of method Kiboko\Contract\Pipeline\StateInterface::accept() expects Kiboko\Contract\Pipeline\StepCodeInterface, int given.
phpstan: src/MemoryState.php#L35
Method Kiboko\Component\Runtime\Pipeline\MemoryState::reject() overrides method Kiboko\Contract\Pipeline\StateInterface::reject() but misses parameter #2 $count.
phpstan: src/MemoryState.php#L35
Parameter #1 $step (int) of method Kiboko\Component\Runtime\Pipeline\MemoryState::reject() is not contravariant with parameter #1 $step (Kiboko\Contract\Pipeline\StepCodeInterface) of method Kiboko\Contract\Pipeline\StateInterface::reject().
phpstan: src/MemoryState.php#L38
Parameter #1 $step of method Kiboko\Contract\Pipeline\StateInterface::reject() expects Kiboko\Contract\Pipeline\StepCodeInterface, int given.
phpstan: src/MemoryState.php#L41
Method Kiboko\Component\Runtime\Pipeline\MemoryState::error() overrides method Kiboko\Contract\Pipeline\StateInterface::error() but misses parameter #2 $count.
phpstan: src/MemoryState.php#L41
Parameter #1 $step (int) of method Kiboko\Component\Runtime\Pipeline\MemoryState::error() is not contravariant with parameter #1 $step (Kiboko\Contract\Pipeline\StepCodeInterface) of method Kiboko\Contract\Pipeline\StateInterface::error().
phpstan: src/MemoryState.php#L44
Parameter #1 $step of method Kiboko\Contract\Pipeline\StateInterface::error() expects Kiboko\Contract\Pipeline\StepCodeInterface, int given.
phpstan: src/Pipeline.php#L14
PHPDoc tag @var for property Kiboko\Component\Runtime\Pipeline\Pipeline::$steps with type Kiboko\Component\Runtime\Pipeline\Step\Step is incompatible with native type array.