Skip to content

Keep option is only available from libvips 8.15 #367

Keep option is only available from libvips 8.15

Keep option is only available from libvips 8.15 #367

Triggered via pull request January 18, 2025 20:14
Status Failure
Total duration 2m 25s
Artifacts

run-tests.yml

on: pull_request
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

32 errors
PHP 8.2 - prefer-stable: src/Encoders/AvifEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\AvifEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.2 - prefer-stable: src/Encoders/HeicEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\HeicEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.2 - prefer-stable: src/Encoders/Jpeg2000Encoder.php#L34
Method Intervention\Image\Drivers\Vips\Encoders\Jpeg2000Encoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.2 - prefer-stable: src/Encoders/JpegEncoder.php#L35
Method Intervention\Image\Drivers\Vips\Encoders\JpegEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.2 - prefer-stable: src/Encoders/JpegEncoder.php#L41
Method Intervention\Image\Drivers\Vips\Encoders\JpegEncoder::getOptions() throws checked exception Intervention\Image\Exceptions\RuntimeException but it's missing from the PHPDoc @throws tag.
PHP 8.2 - prefer-stable: src/Encoders/TiffEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\TiffEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.2 - prefer-stable: src/Encoders/WebpEncoder.php#L46
Method Intervention\Image\Drivers\Vips\Encoders\WebpEncoder::getOptions() should return array{lossless: int, Q: int, keep?: int, strip?: bool} but returns array{lossless: bool, Q: int, keep: 8|31}|array{lossless: bool, Q: int, strip: true}.
PHP 8.2 - prefer-stable
Process completed with exit code 1.
PHP 8.1 - prefer-stable: src/Encoders/AvifEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\AvifEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.1 - prefer-stable: src/Encoders/HeicEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\HeicEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.1 - prefer-stable: src/Encoders/Jpeg2000Encoder.php#L34
Method Intervention\Image\Drivers\Vips\Encoders\Jpeg2000Encoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.1 - prefer-stable: src/Encoders/JpegEncoder.php#L35
Method Intervention\Image\Drivers\Vips\Encoders\JpegEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.1 - prefer-stable: src/Encoders/JpegEncoder.php#L41
Method Intervention\Image\Drivers\Vips\Encoders\JpegEncoder::getOptions() throws checked exception Intervention\Image\Exceptions\RuntimeException but it's missing from the PHPDoc @throws tag.
PHP 8.1 - prefer-stable: src/Encoders/TiffEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\TiffEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.1 - prefer-stable: src/Encoders/WebpEncoder.php#L46
Method Intervention\Image\Drivers\Vips\Encoders\WebpEncoder::getOptions() should return array{lossless: int, Q: int, keep?: int, strip?: bool} but returns array{lossless: bool, Q: int, keep: 8|31}|array{lossless: bool, Q: int, strip: true}.
PHP 8.1 - prefer-stable
Process completed with exit code 1.
PHP 8.3 - prefer-stable: src/Encoders/AvifEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\AvifEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.3 - prefer-stable: src/Encoders/HeicEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\HeicEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.3 - prefer-stable: src/Encoders/Jpeg2000Encoder.php#L34
Method Intervention\Image\Drivers\Vips\Encoders\Jpeg2000Encoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.3 - prefer-stable: src/Encoders/JpegEncoder.php#L35
Method Intervention\Image\Drivers\Vips\Encoders\JpegEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.3 - prefer-stable: src/Encoders/JpegEncoder.php#L41
Method Intervention\Image\Drivers\Vips\Encoders\JpegEncoder::getOptions() throws checked exception Intervention\Image\Exceptions\RuntimeException but it's missing from the PHPDoc @throws tag.
PHP 8.3 - prefer-stable: src/Encoders/TiffEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\TiffEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.3 - prefer-stable: src/Encoders/WebpEncoder.php#L46
Method Intervention\Image\Drivers\Vips\Encoders\WebpEncoder::getOptions() should return array{lossless: int, Q: int, keep?: int, strip?: bool} but returns array{lossless: bool, Q: int, keep: 8|31}|array{lossless: bool, Q: int, strip: true}.
PHP 8.3 - prefer-stable
Process completed with exit code 1.
PHP 8.4 - prefer-stable: src/Encoders/AvifEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\AvifEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.4 - prefer-stable: src/Encoders/HeicEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\HeicEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.4 - prefer-stable: src/Encoders/Jpeg2000Encoder.php#L34
Method Intervention\Image\Drivers\Vips\Encoders\Jpeg2000Encoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.4 - prefer-stable: src/Encoders/JpegEncoder.php#L35
Method Intervention\Image\Drivers\Vips\Encoders\JpegEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.4 - prefer-stable: src/Encoders/JpegEncoder.php#L41
Method Intervention\Image\Drivers\Vips\Encoders\JpegEncoder::getOptions() throws checked exception Intervention\Image\Exceptions\RuntimeException but it's missing from the PHPDoc @throws tag.
PHP 8.4 - prefer-stable: src/Encoders/TiffEncoder.php#L28
Method Intervention\Image\Drivers\Vips\Encoders\TiffEncoder::getOptions() return type has no value type specified in iterable type array.
PHP 8.4 - prefer-stable: src/Encoders/WebpEncoder.php#L46
Method Intervention\Image\Drivers\Vips\Encoders\WebpEncoder::getOptions() should return array{lossless: int, Q: int, keep?: int, strip?: bool} but returns array{lossless: bool, Q: int, keep: 8|31}|array{lossless: bool, Q: int, strip: true}.
PHP 8.4 - prefer-stable
Process completed with exit code 1.