Upgrade to intervention/image 3 #158
Annotations
10 errors
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
psalm:
src/Manipulators/Size.php#L73
src/Manipulators/Size.php:73:30: RedundantCast: Redundant cast to int (see https://psalm.dev/262)
|
psalm:
src/Manipulators/Size.php#L73
src/Manipulators/Size.php:73:73: RedundantCast: Redundant cast to int (see https://psalm.dev/262)
|
psalm:
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)
|
psalm:
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)
|
psalm:
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.
|
The logs for this run have expired and are no longer available.
Loading