[wp-trac] [WordPress Trac] #39822: PHPUnit 6 compatibility

WordPress Trac noreply at wordpress.org
Mon Jun 5 10:39:40 UTC 2017


#39822: PHPUnit 6 compatibility
------------------------------+--------------------------
 Reporter:  miyauchi          |       Owner:  johnbillion
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  4.8
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+--------------------------

Comment (by johnbillion):

 In [changeset:"40875"]:
 {{{
 #!CommitTicketReference repository="" revision="40875"
 Build/Test Tools: Fix PHP 5.2 compatibility for grandchild methods which
 expect exceptions to be raised.

 This is due to `is_callable( 'parent::setExpectedException' )` not being
 supported on PHP 5.2 when the method being checked only exists on the
 grandparent class.

 See #39822

 Merges [40872] and [40873] to the 4.8 branch.
 }}}

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


More information about the wp-trac mailing list