[wp-trac] [WordPress Trac] #43218: PHPUnit 7.x support

WordPress Trac noreply at wordpress.org
Fri Feb 2 22:34:38 UTC 2018


#43218: PHPUnit 7.x support
------------------------------+------------------------------
 Reporter:  ayeshrajans       |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by jorbin):

 PHPunit 7 only support 7.1+ which is what
 [https://wordpress.org/about/stats/ less than 7% of all WordPress
 installs] use. We can't only run our tests on versions of PHP that so few
 users use, so whatever we need to do to support it needs to be done in a
 way that is backwards compatible to PHPUnit 3.6 (the last version that
 supported 5.2).

 A glance at the change in https://github.com/Ayesh/wordpress-
 develop/commit/23a4b2daa823ecc6b9979815b735c9c95f223a01 seems like it
 would be fine to do. Do you know what we would need to do for
 WP_PHPUnit_Util_Getopt ?

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


More information about the wp-trac mailing list