wip #14
Annotations
10 errors
phpstan:
src/Drivers/Color.php#L99
Method Spatie\Image\Drivers\Color::rgbaFromString() should return array<int> but returns array<int, float|int>.
|
phpstan:
src/Drivers/Gd/GdColor.php#L127
Access to an undefined property Spatie\Image\Drivers\Color::$red.
|
phpstan:
src/Drivers/Gd/GdColor.php#L128
Access to an undefined property Spatie\Image\Drivers\Color::$green.
|
phpstan:
src/Drivers/Gd/GdColor.php#L129
Access to an undefined property Spatie\Image\Drivers\Color::$blue.
|
phpstan:
src/Drivers/Gd/GdColor.php#L130
Access to an undefined property Spatie\Image\Drivers\Color::$alpha.
|
phpstan:
src/Drivers/Gd/GdDriver.php#L1
Ignored error pattern #^Parameter \#2 \$length of function fread expects int\<0, max\>, int\<0, max\>\|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#L76
Ignored error pattern #^Parameter \#1 \$data of function imagecreatefromstring expects string, string\|false given\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php is expected to occur 1 time, but occurred 2 times.
|
phpstan:
src/Drivers/Gd/GdDriver.php#L251
Ignored error pattern #^Property Spatie\\Image\\Drivers\\Gd\\GdDriver\:\:\$image \(GdImage\) does not accept GdImage\|false\.$# in path /home/runner/work/image/image/src/Drivers/Gd/GdDriver.php is expected to occur 2 times, but occurred 3 times.
|
phpstan:
src/Drivers/Gd/GdDriver.php#L561
Access to an undefined property Spatie\Image\Drivers\ImageDriver::$image.
|
phpstan:
src/Drivers/Gd/GdDriver.php#L703
Parameter #1 $data of function imagecreatefromstring expects string, string|false given.
|