[tests] phpstan version bump

This commit is contained in:
Shish
2024-01-15 13:53:54 +00:00
parent 8439e696dc
commit 7b7ec9c83f
7 changed files with 8 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ class IcoFileHandler extends DataHandlerExtension
$fp = fopen($event->image->get_image_filename(), "r");
try {
unpack("Snull/Stype/Scount", fread($fp, 6));
fseek($fp, 6); // skip header
$subheader = unpack("Cwidth/Cheight/Ccolours/Cnull/Splanes/Sbpp/Lsize/loffset", fread($fp, 16));
$width = $subheader['width'];
$height = $subheader['height'];