Skip to content

Deprecating the Action class from this package #45

Deprecating the Action class from this package

Deprecating the Action class from this package #45

Triggered via push November 21, 2023 15:49
Status Failure
Total duration 30s
Artifacts

phpstan-7.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/MemoryState.php#L11
Property Kiboko\Component\State\MemoryState::$metrics type has no value type specified in iterable type array.
phpstan: src/MemoryState.php#L29
Method Kiboko\Component\State\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\State\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\State\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\State\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\State\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\State\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.