Upgrade to intervention/image 3 #160
test.yaml
on: pull_request
coding-style
15s
psalm
15s
Matrix: tests
Annotations
9 errors
tests (8.4)
Process completed with exit code 2.
|
tests (8.2)
Process completed with exit code 2.
|
tests (8.1, prefer-lowest)
Process completed with exit code 2.
|
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.
|
tests (8.3)
Process completed with exit code 2.
|
tests (8.1)
Process completed with exit code 2.
|