Skip to content

Upgrade to intervention/image 3 #158

Upgrade to intervention/image 3

Upgrade to intervention/image 3 #158

Re-run triggered January 25, 2024 11:34
Status Failure
Total duration 43s
Artifacts

test.yaml

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

Annotations

15 errors
tests (8.1, prefer-lowest)
Process completed with exit code 2.
tests (8.3)
Process completed with exit code 2.
tests (8.2)
Process completed with exit code 2.
tests (8.1)
Process completed with exit code 2.
tests (8.4)
Process completed with exit code 2.
InvalidScalarArgument: src/Manipulators/Border.php#L151
src/Manipulators/Border.php:151:44: InvalidScalarArgument: Argument 2 of Intervention\Image\Geometry\Factories\RectangleFactory::border expects int, but float provided (see https://psalm.dev/012)
TooManyArguments: src/Manipulators/Flip.php#L23
src/Manipulators/Flip.php:23:32: TooManyArguments: Too many arguments for method Intervention\Image\Interfaces\ImageInterface::flip - saw 1 (see https://psalm.dev/026)
TooManyArguments: src/Manipulators/Flip.php#L23
src/Manipulators/Flip.php:23:43: TooManyArguments: Too many arguments for method Intervention\Image\Interfaces\ImageInterface::flip - saw 1 (see https://psalm.dev/026)
TooManyArguments: src/Manipulators/Flip.php#L26
src/Manipulators/Flip.php:26:28: TooManyArguments: Too many arguments for method Intervention\Image\Interfaces\ImageInterface::flip - saw 1 (see https://psalm.dev/026)
RedundantCast: src/Manipulators/Size.php#L73
src/Manipulators/Size.php:73:30: RedundantCast: Redundant cast to int (see https://psalm.dev/262)
RedundantCast: src/Manipulators/Size.php#L73
src/Manipulators/Size.php:73:73: RedundantCast: Redundant cast to int (see https://psalm.dev/262)
UndefinedInterfaceMethod: src/Manipulators/Watermark.php#L126
src/Manipulators/Watermark.php:126:29: UndefinedInterfaceMethod: Method Intervention\Image\Interfaces\ImageInterface::opacity does not exist (see https://psalm.dev/181)
InvalidReturnType: src/Manipulators/Watermark.php#L140
src/Manipulators/Watermark.php:140:16: InvalidReturnType: Not all code paths of League\Glide\Manipulators\Watermark::getImage end in a return statement, return type Intervention\Image\Interfaces\ImageInterface|null expected (see https://psalm.dev/011)
InvalidReturnStatement: src/Manipulators/Watermark.php#L166
src/Manipulators/Watermark.php:166:24: InvalidReturnStatement: The inferred type 'Intervention\Image\Interfaces\ColorInterface|Intervention\Image\Interfaces\ImageInterface' does not match the declared return type 'Intervention\Image\Interfaces\ImageInterface|null' for League\Glide\Manipulators\Watermark::getImage (see https://psalm.dev/128)
psalm
Process completed with exit code 2.