Skip to content

Fixing PHPStan level 4 issues #76

Fixing PHPStan level 4 issues

Fixing PHPStan level 4 issues #76

Triggered via push November 14, 2023 13:28
Status Failure
Total duration 34s
Artifacts

phpstan-5.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors
phpstan: src/Pipeline.php#L38
Parameter #1 $iterator of class NoRewindIterator constructor expects AppendIterator<int, non-empty-array|object, Iterator<int, non-empty-array|object>>, AppendIterator<int<0, max>, non-empty-array|object, Iterator<int<0, max>, non-empty-array|object>> given.
phpstan: src/Pipeline.php#L79
Parameter #3 $rejection of method Kiboko\Contract\Pipeline\PipelineRunnerInterface::run() expects Kiboko\Contract\Pipeline\StepRejectionInterface<Kiboko\Contract\Bucket\ResultBucketInterface<Type of non-empty-array|object>|(Type of non-empty-array|object)>, Kiboko\Contract\Pipeline\StepRejectionInterface<Type of non-empty-array|object> given.
phpstan: src/Pipeline.php#L97
Parameter #3 $rejection of method Kiboko\Contract\Pipeline\PipelineRunnerInterface::run() expects Kiboko\Contract\Pipeline\StepRejectionInterface<Kiboko\Contract\Bucket\ResultBucketInterface<Type of non-empty-array|object>|(Type of non-empty-array|object)>, Kiboko\Contract\Pipeline\StepRejectionInterface<Type of non-empty-array|object> given.
phpstan: src/Pipeline.php#L128
Parameter #3 $rejection of method Kiboko\Contract\Pipeline\PipelineRunnerInterface::run() expects Kiboko\Contract\Pipeline\StepRejectionInterface<non-empty-array|(InputType of non-empty-array|object)|object>, Kiboko\Contract\Pipeline\StepRejectionInterface<InputType of non-empty-array|object> given.
phpstan: src/Pipeline.php#L147
Parameter #3 $rejection of method Kiboko\Contract\Pipeline\PipelineRunnerInterface::run() expects Kiboko\Contract\Pipeline\StepRejectionInterface<non-empty-array|(InputType of non-empty-array|object)|object>, Kiboko\Contract\Pipeline\StepRejectionInterface<InputType of non-empty-array|object> given.
phpstan: src/Pipeline.php#L177
Parameter #3 $rejection of method Kiboko\Contract\Pipeline\PipelineRunnerInterface::run() expects Kiboko\Contract\Pipeline\StepRejectionInterface<non-empty-array|(InputType of non-empty-array|object)|object>, Kiboko\Contract\Pipeline\StepRejectionInterface<InputType of non-empty-array|object> given.
phpstan: src/Pipeline.php#L197
Parameter #3 $rejection of method Kiboko\Contract\Pipeline\PipelineRunnerInterface::run() expects Kiboko\Contract\Pipeline\StepRejectionInterface<non-empty-array|(InputType of non-empty-array|object)|object>, Kiboko\Contract\Pipeline\StepRejectionInterface<InputType of non-empty-array|object> given.
phpstan
Process completed with exit code 1.