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

WordPress Trac noreply at wordpress.org
Sun Apr 23 11:45:48 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:"40539"]:
 #!CommitTicketReference repository="" revision="40539"
 Build/Test Tools: Move the `setExpectedException()` method into the
 `WP_Ajax_UnitTestCase` class to avoid a fatal error when PHPUnit 3.6 is in

 This needs more investigation but it gets the test suite on PHP 5.2
 passing again.

 See #39822

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

More information about the wp-trac mailing list