[wp-trac] [WordPress Trac] #46149: PHPUnit 8.x support
WordPress Trac
noreply at wordpress.org
Mon Oct 19 21:54:26 UTC 2020
#46149: PHPUnit 8.x support
-------------------------------------------------+-------------------------
Reporter: SergeyBiryukov | Owner: netweb
Type: task (blessed) | Status: assigned
Priority: high | Milestone: Future
| Release
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests early php8 | Focuses:
needs-dev-note |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* milestone: 5.6 => Future Release
Comment:
PHPUnit 8.x/9.x support would be great to have, but is complicated if we
also have to support PHP 5.6 and 7.0 at the same time.
Currently, we have the tests running on PHP 8 with PHPUnit 7.5.x, as
result of the changes in #50902, specifically [48957] and [49037]. It's
not pretty, but does the job for now. So I think the best way forward at
the moment would be to continue with PHPUnit 7.5.x, as that already works.
Since core no longer requires PHPUnit 9.x support for PHP 8 testing, I'm
moving this to a Future Release to be explored separately. Once the
minimum required PHP version is bumped to 7.1 or later, this should be
easier to address.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46149#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list