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

WordPress Trac noreply at wordpress.org
Fri Jun 2 13:17:31 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:  needs-patch       |     Focuses:
------------------------------+--------------------------

Comment (by johnbillion):

 In [changeset:"40872"]:
 {{{
 #!CommitTicketReference repository="" revision="40872"
 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.

 Props jdgrimes

 See #39822
 }}}

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


More information about the wp-trac mailing list