Skip to content

Fix bug in ImagickDriver::pixelate, Update tests (#267) #91

Fix bug in ImagickDriver::pixelate, Update tests (#267)

Fix bug in ImagickDriver::pixelate, Update tests (#267) #91

Triggered via push July 18, 2024 11:57
Status Failure
Total duration 31s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#1 \$dst_image of function imagecopyresampled expects GdImage, GdImage\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#1 \$image of function imagealphablending expects GdImage, GdImage\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#1 \$image of function imagecolorallocatealpha expects GdImage, GdImage\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#1 \$image of function imagecolorsforindex expects GdImage, GdImage\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#1 \$image of function imagecolortransparent expects GdImage, GdImage\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#1 \$image of function imagefill expects GdImage, GdImage\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#1 \$image of function imagesavealpha expects GdImage, GdImage\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#2 \$color of function imagecolorsforindex expects int, int\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#2 \$color of function imagecolortransparent expects int\|null, int\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.
phpstan: src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#4 \$color of function imagefill expects int, int\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php was not matched in reported errors.