[wp-trac] [WordPress Trac] #63932: Investigate failing Imagick tests on PHP 8.3 and 8.4

WordPress Trac noreply at wordpress.org
Sun Sep 7 15:52:10 UTC 2025


#63932: Investigate failing Imagick tests on PHP 8.3 and 8.4
--------------------------------------+------------------------------
 Reporter:  johnbillion               |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Media                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by siliconforks):

 [https://github.com/WordPress/wordpress-develop/pull/9775 PR #9775] is
 intended as a suggested (partial) alternative to
 [https://github.com/WordPress/wordpress-develop/pull/9749 PR #9749] for
 the PNG-related failing tests.

 This PR has the following advantages:

 1. It checks the ImageMagick version rather than the PHP version because
 it is really ImageMagick version 7 that is the problem.

 2. It only skips the one data file that is causing test failures
 ([https://github.com/WordPress/wordpress-
 develop/blob/trunk/tests/phpunit/data/images/png-tests/test8.png
 test8.png]).  The other data files should work fine with ImageMagick 7.

 Note that this PR addresses only the PNG-related failing tests and not the
 AVIF-related ones, because I don't think the AVIF failures are caused by
 ImageMagick 7 (I suspect that the problem with those is something else).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63932#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list