[wp-trac] [WordPress Trac] #36587: PHPUnit Tests fail with PHP7 and Imagick 3.4.x

WordPress Trac noreply at wordpress.org
Tue Apr 19 10:19:25 UTC 2016


#36587: PHPUnit Tests fail with PHP7 and Imagick 3.4.x
--------------------------+--------------------
 Reporter:  alpipego      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  4.6
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by dd32):

 This feels like a bug in the Imagick extension.. Even with the PHP7
 exception/error changes that were made, I don't think it was ever intended
 that a BC break like this would occur.

 [https://pecl.php.net/package-changelog.php?package=imagick&release=3.4.1
 The changelog] doesn't mention this change, and although their
 documentation and tests covers `Imagick()` instances throwing exceptions,
 none of it covers the core PHP functions (and the PHP team doesn't specify
 exceptions can be thrown).

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


More information about the wp-trac mailing list