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

WordPress Trac noreply at wordpress.org
Tue Sep 14 18:32:54 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 hellofromTonya):

 In [changeset:"51810" 51810]:
 {{{
 #!CommitTicketReference repository="" revision="51810"
 Build/Test Tools: Make `WP_TESTS_PHPUNIT_POLYFILLS_PATH` more flexible.

 The constant `WP_TESTS_PHPUNIT_POLYFILLS_PATH` is intended to contain the
 path to the root directory of the PHPUnit Polyfills library without
 trailing slash.

 The code already took into account that the value could potentially
 include a trailing slash.

 Now it will also take into account if it is accidentally set to point to
 the autoload file instead of the path.

 Follow-up to [51598].

 Props jrf, schlessera, hellofromTonya, jeherve, lucatume.
 See #46149.
 }}}

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


More information about the wp-trac mailing list