Skip to content

fix: remove repeated condition #5

fix: remove repeated condition

fix: remove repeated condition #5

Triggered via push May 8, 2024 12:37
Status Failure
Total duration 29s
Artifacts

test.yaml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors
tests (8.1, prefer-lowest)
Process completed with exit code 2.
tests (8.4)
Process completed with exit code 2.
tests (8.1)
Process completed with exit code 2.
tests (8.2)
Process completed with exit code 2.
tests (8.3)
Process completed with exit code 2.
ImplementedReturnTypeMismatch: src/Manipulators/Encode.php#L17
src/Manipulators/Encode.php:17:16: ImplementedReturnTypeMismatch: The inherited return type 'Intervention\Image\Interfaces\ImageInterface' for League\Glide\Manipulators\ManipulatorInterface::run is different to the implemented return type for League\Glide\Manipulators\Encode::run 'Intervention\Image\Interfaces\EncodedImageInterface' (see https://psalm.dev/123)
ImplementedReturnTypeMismatch: src/Manipulators/Encode.php#L17
src/Manipulators/Encode.php:17:16: ImplementedReturnTypeMismatch: The inherited return type 'Intervention\Image\Interfaces\ImageInterface' for League\Glide\Manipulators\BaseManipulator::run is different to the implemented return type for League\Glide\Manipulators\Encode::run 'Intervention\Image\Interfaces\EncodedImageInterface' (see https://psalm.dev/123)
RedundantCondition: src/Manipulators/Encode.php#L36
src/Manipulators/Encode.php:36:18: RedundantCondition: Type 'webp' for $format is always =string(webp) (see https://psalm.dev/122)
psalm
Process completed with exit code 2.