Skip to content

Fixing PHPStan level 9 issues #100

Fixing PHPStan level 9 issues

Fixing PHPStan level 9 issues #100

Triggered via push November 14, 2023 08:47
Status Failure
Total duration 30s
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/FlushableInterface.php#L16
Method Kiboko\Contract\Pipeline\FlushableInterface::flush() has invalid return type Kiboko\Component\Bucket\EmptyResultBucket.
phpstan: src/FlushableInterface.php#L16
Method Kiboko\Contract\Pipeline\FlushableInterface::flush() return type with generic interface Kiboko\Contract\Bucket\ResultBucketInterface does not specify its types: Type
phpstan: src/FlushableInterface.php#L16
PHPDoc tag @return with type Kiboko\Component\Bucket\EmptyResultBucket|Kiboko\Contract\Bucket\ResultBucketInterface<Type of array|object> is not subtype of native type 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/PipelineRunnerInterface.php#L23
PHPDoc tag @param references unknown parameter: $coroutine
phpstan: src/PipelineRunnerInterface.php#L23
Template type OutputType of method Kiboko\Contract\Pipeline\PipelineRunnerInterface::run() is not referenced in a parameter.
phpstan: src/TransformingInterface.php#L15
Method Kiboko\Contract\Pipeline\TransformingInterface::transform() has parameter $rejection with generic interface Kiboko\Contract\Pipeline\StepRejectionInterface but does not specify its types: Type
phpstan
Process completed with exit code 1.