Skip to content

Fixing PHPStan level 9 issues #109

Fixing PHPStan level 9 issues

Fixing PHPStan level 9 issues #109

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

quality.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
cs-fixer
Process completed with exit code 8.
phpstan: src/ExtractingInterface.php#L14
Method Kiboko\Contract\Pipeline\ExtractingInterface::extract() has parameter $rejection with generic interface Kiboko\Contract\Pipeline\StepRejectionInterface but does not specify its types: Type
phpstan: src/ExtractorInterface.php#L17
Type mixed in generic type Kiboko\Contract\Bucket\ResultBucketInterface<mixed> in PHPDoc tag @return is not subtype of template type Type of array|object of interface Kiboko\Contract\Bucket\ResultBucketInterface.
phpstan: src/FlushableInterface.php#L15
Type mixed in generic type Kiboko\Contract\Bucket\ResultBucketInterface<mixed> in PHPDoc tag @return is not subtype of template type Type of array|object of interface Kiboko\Contract\Bucket\ResultBucketInterface.
phpstan: src/LoaderInterface.php#L20
Type mixed in generic type Kiboko\Contract\Bucket\ResultBucketInterface<mixed> in PHPDoc tag @return is not subtype of template type Type of array|object of interface Kiboko\Contract\Bucket\ResultBucketInterface.
phpstan: src/LoadingInterface.php#L15
Method Kiboko\Contract\Pipeline\LoadingInterface::load() has parameter $rejection with generic interface Kiboko\Contract\Pipeline\StepRejectionInterface but does not specify its types: Type
phpstan: src/NullStepRejection.php#L7
Class Kiboko\Contract\Pipeline\NullStepRejection implements generic interface Kiboko\Contract\Pipeline\StepRejectionInterface but does not specify its types: Type
phpstan: src/NullStepRejection.php#L9
Method Kiboko\Contract\Pipeline\NullStepRejection::reject() has parameter $rejection with no value type specified in iterable type array.
phpstan: src/PipelineRunnerInterface.php#L21
PHPDoc tag @param references unknown parameter: $coroutine
phpstan: src/PipelineRunnerInterface.php#L21
Template type OutputType of method Kiboko\Contract\Pipeline\PipelineRunnerInterface::run() is not referenced in a parameter.
phpstan: src/PipelineRunnerInterface.php#L21
Type mixed in generic type Kiboko\Contract\Bucket\ResultBucketInterface<mixed> in PHPDoc tag @return is not subtype of template type Type of array|object of interface Kiboko\Contract\Bucket\ResultBucketInterface.