[wp-trac] [WordPress Trac] #46149: PHPUnit 8.x support

WordPress Trac noreply at wordpress.org
Wed Aug 11 13:59:03 UTC 2021


#46149: PHPUnit 8.x support
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:  jrf
     Type:  task (blessed)                       |      Status:  assigned
 Priority:  high                                 |   Milestone:  5.9
Component:  Build/Test Tools                     |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests early php8  |     Focuses:
  needs-dev-note                                 |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 Some history on the `ms-required` and `ms-excluded` groups:
 * [40520] / #40531
 * [40564] / #40531
 * [43005] / #43863

 It looks like handling of these groups was added to
 `WP_UnitTestCase_Base::checkRequirements()` to avoid fatal errors in case
 they are not properly excluded in plugin/theme PHPUnit configuration
 files, or in case plugin/theme test suites don't have a multisite-specific
 configuration file.

 In practice, as the `::checkRequirements()` method has silently stopped
 being called with the update to PHPUnit 7 in [44701] / #43218, it seems
 safe to deprecate it.

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


More information about the wp-trac mailing list