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

WordPress Trac noreply at wordpress.org
Mon Jan 28 14:10:30 UTC 2019


#43218: PHPUnit 7.x support
------------------------------------------------+--------------------------
 Reporter:  ayeshrajans                         |       Owner:
                                                |  SergeyBiryukov
     Type:  defect (bug)                        |      Status:  accepted
 Priority:  normal                              |   Milestone:  5.1
Component:  Build/Test Tools                    |     Version:  trunk
 Severity:  normal                              |  Resolution:
 Keywords:  has-patch needs-docs needs-testing  |     Focuses:
------------------------------------------------+--------------------------

Comment (by SergeyBiryukov):

 In [changeset:"44701" 44701]:
 {{{
 #!CommitTicketReference repository="" revision="44701"
 Build/Test Tools: Add support for PHPUnit 7.x.

 * Create an abstract `WP_UnitTestCase_Base` class to share between PHPUnit
 7.x and older versions.
 * Add a speed-trap loader to determine which `SpeedTrapListener` class
 needs to be loaded for the current PHPUnit version.
 * Remove unnecessary `PHPUnit\Util\Test` and `PHPUnit_Util_Getopt`
 inheritances.
 * Update Travis CI config to use PHPUnit 7.x for PHP 7.1, 7.2, and nightly
 PHP versions.

 Props jipmoors, netweb, desrosj, ayeshrajans, soulseekah, SergeyBiryukov.
 See #43218.
 }}}

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


More information about the wp-trac mailing list