Skip to content

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

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

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

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

phpstan-7.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Console.php#L30
Method Kiboko\Component\Runtime\Pipeline\Console::extract() has parameter $rejection with generic interface Kiboko\Contract\Pipeline\StepRejectionInterface but does not specify its types: Type
phpstan: src/Console.php#L47
Method Kiboko\Component\Runtime\Pipeline\Console::transform() has parameter $rejection with generic interface Kiboko\Contract\Pipeline\StepRejectionInterface but does not specify its types: Type
phpstan: src/Console.php#L64
Method Kiboko\Component\Runtime\Pipeline\Console::load() has parameter $rejection with generic interface Kiboko\Contract\Pipeline\StepRejectionInterface but does not specify its types: Type
phpstan: src/MemoryState.php#L11
Property Kiboko\Component\Runtime\Pipeline\MemoryState::$metrics type has no value type specified in iterable type array.
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.