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

WordPress Trac noreply at wordpress.org
Sat Sep 13 12:14:56 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 johnbillion):

 In [changeset:"60736" 60736]:
 {{{
 #!CommitTicketReference repository="" revision="60736"
 Media: Temporarily disable failing tests when Imagick 7 is in use, pending
 further investigation.

 The updated PHP 8.4 and 8.3 containers are running Imagick 7 which is
 producing some test failures for AVIFs and PNGs with 1-bit transparency.
 This requires further investigation, possibly accompanied by more
 comprehensive testing across Imagick versions, so these tests are disabled
 for now.

 Additional missing assertions have also been added which ensure an
 unexpected `WP_Error` instance correctly fails the test and is not passed
 to an image processing function.

 Props johnbillion, siliconforks, desrosj, jorbin.

 See #63932
 }}}

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


More information about the wp-trac mailing list