We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12f04a2 commit 45c6b78Copy full SHA for 45c6b78
tests/phpunit/tests/image/resize.php
@@ -92,6 +92,10 @@ public function test_resize_avif() {
92
$file = DIR_TESTDATA . '/images/avif-lossy.avif';
93
$editor = wp_get_image_editor( $file );
94
95
+ if ( 'WP_Image_Editor_GD' === $this->editor_engine && PHP_VERSION < 80100 ) {
96
+ $this->markTestSkipped( 'AVIF is only supported in GD with PHP >= 8.1.' );
97
+ }
98
+
99
if ( 'WP_Image_Editor_Imagick' === $this->editor_engine ) {
100
$version = Imagick::getVersion();
101
0 commit comments