Skip to content

Updated the contracts #102

Updated the contracts

Updated the contracts #102

Triggered via push November 14, 2023 10:18
Status Failure
Total duration 29s
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#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/TransformerInterface.php#L20
Type void in generic type Kiboko\Contract\Bucket\ResultBucketInterface<void> in PHPDoc tag @return is not subtype of template type Type of array|object of interface Kiboko\Contract\Bucket\ResultBucketInterface.
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