Fixing PHPStan level 9 issues #42
Annotations
10 errors
src/Pipeline.php#L30
Method Kiboko\Component\Pipeline\Pipeline::__construct() has parameter $runner with generic interface Kiboko\Contract\Pipeline\PipelineRunnerInterface but does not specify its types: Type
|
src/Pipeline.php#L108
Parameter #2 $async of method Kiboko\Contract\Pipeline\PipelineRunnerInterface<mixed>::run() expects Generator<mixed, mixed, Kiboko\Contract\Bucket\ResultBucketInterface<mixed>, void>, Generator<mixed, Kiboko\Contract\Bucket\ResultBucketInterface<OutputType>|Kiboko\Contract\Bucket\ResultBucketInterface<void>, InputType|null, void> given.
|
src/Pipeline.php#L115
Parameter #1 $source of method Kiboko\Contract\Pipeline\PipelineRunnerInterface<mixed>::run() expects Iterator<int, non-empty-array|object>, ArrayIterator<int, null> given.
|
src/Pipeline.php#L127
Parameter #2 $async of method Kiboko\Contract\Pipeline\PipelineRunnerInterface<mixed>::run() expects Generator<mixed, mixed, Kiboko\Contract\Bucket\ResultBucketInterface<mixed>, void>, Generator<mixed, Kiboko\Contract\Bucket\ResultBucketInterface<OutputType>|Kiboko\Contract\Bucket\ResultBucketInterface<void>, InputType|null, void> given.
|
src/Pipeline.php#L150
Parameter #2 $async of method Kiboko\Contract\Pipeline\PipelineRunnerInterface<mixed>::run() expects Generator<mixed, mixed, Kiboko\Contract\Bucket\ResultBucketInterface<mixed>, void>, Generator<mixed, Kiboko\Contract\Bucket\ResultBucketInterface<OutputType>|Kiboko\Contract\Bucket\ResultBucketInterface<void>, InputType|null, void> given.
|
src/Pipeline.php#L158
Parameter #1 $source of method Kiboko\Contract\Pipeline\PipelineRunnerInterface<mixed>::run() expects Iterator<int, non-empty-array|object>, ArrayIterator<int, null> given.
|
src/Pipeline.php#L170
Parameter #2 $async of method Kiboko\Contract\Pipeline\PipelineRunnerInterface<mixed>::run() expects Generator<mixed, mixed, Kiboko\Contract\Bucket\ResultBucketInterface<mixed>, void>, Generator<mixed, Kiboko\Contract\Bucket\ResultBucketInterface<OutputType>|Kiboko\Contract\Bucket\ResultBucketInterface<void>, InputType|null, void> given.
|
src/PipelineRunner.php#L21
Class Kiboko\Component\Pipeline\PipelineRunner implements generic interface Kiboko\Contract\Pipeline\PipelineRunnerInterface but does not specify its types: Type
|
src/PipelineRunner.php#L50
Call to an undefined method Kiboko\Contract\Bucket\RejectionResultBucketInterface::reasons().
|
src/Transformer/BatchingTransformer.php#L47
Generator expects value type Kiboko\Component\Bucket\AcceptanceResultBucket<non-empty-array<int, Type>>|Kiboko\Component\Bucket\EmptyResultBucket, Kiboko\Component\Bucket\AcceptanceResultBucket<non-empty-array<int, Type of mixed>> given.
|
The logs for this run have expired and are no longer available.
Loading