[wp-trac] [WordPress Trac] #46149: PHPUnit 8.x support
WordPress Trac
noreply at wordpress.org
Fri Jul 30 21:36:41 UTC 2021
#46149: PHPUnit 8.x support
-------------------------------------------------+-------------------------
Reporter: SergeyBiryukov | Owner: netweb
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):
To add to @hellofromTonya's comment, the commit workflow for these changes
will be as follows:
1. Commit the patch for ticket #47381, which is a prerequisite. The patch
has been pulled to GitHub, been reviewed by various committers and is now
ready for commit.
2. Once that patch has been committed a new PR on GitHub will be opened
against this ticket with the first set of commits referenced by
@hellofromTonya above. This first set of commits will introduce the
PHPUnit Polyfills package and sort out all assertion and expectation
method changes.
3. Once that patch has also been committed a next PR on GitHub will be
opened against this ticket with the second set of commits referenced
above. This second set of commits will address the `void`return type and
make the test suite cross-version compatible with PHPUnit 5.7.x up to
PHPUnit 9.5.x (current) and will enable running of the tests against PHP
8.1 in CI.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46149#comment:60>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list