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

WordPress Trac noreply at wordpress.org
Tue Aug 10 02:18:57 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 jrf):

 @swissspidy @jeherve @thomasplevy Now all the commits to get the WP Core
 test suite running on PHP 8.1 are in, I've spend some time on addressing
 your concerns.

 I've just [https://github.com/WordPress/wordpress-develop/pull/1563 opened
 a PR on GitHub] with a proposal to make the loading of the PHPUnit
 Polyfills package more flexible.

 I'd really appreciate it if you could look it over, test it and would give
 your opinion.

 Aside from the above, the next steps for this "project" are:
 * Prepare a proposal for which parts of these commits to backport.
 * Once consensus is reached about that proposal, apply the backports,
 probably to WP 5.2 to 5.8.
 * Prepare the dev-note.
 * Possibly prepare one or two plugin integration test suites for
 compatibility with these changes as "proof of concept". The
 [https://github.com/wp-cli/scaffold-command WP-CLI scaffold command] and
 [https://github.com/Yoast/wp-test-utils WP Test Utils] are the likely
 candidates to look at as a start.

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

More information about the wp-trac mailing list