Skip to content

Merge pull request #17 from php-etl/feature/upgrade-pipeline-contracts #49

Merge pull request #17 from php-etl/feature/upgrade-pipeline-contracts

Merge pull request #17 from php-etl/feature/upgrade-pipeline-contracts #49

Triggered via push November 14, 2023 13:36
Status Failure
Total duration 31s
Artifacts

phpstan-6.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Loader/LogLoader.php#L23
Method Kiboko\Component\Pipeline\Loader\LogLoader::load() return type with generic class Kiboko\Component\Bucket\EmptyResultBucket does not specify its types: Type
phpstan: src/Loader/StreamLoader.php#L32
Method Kiboko\Component\Pipeline\Loader\StreamLoader::load() return type with generic class Kiboko\Component\Bucket\EmptyResultBucket does not specify its types: Type
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#L78
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#L96
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#L127
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#L146
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#L176
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#L196
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/Transformer/BatchingTransformer.php#L33
Method Kiboko\Component\Pipeline\Transformer\BatchingTransformer::transform() return type with generic class Kiboko\Component\Bucket\EmptyResultBucket does not specify its types: Type