[wp-trac] [WordPress Trac] #46149: PHPUnit 8.x support
WordPress Trac
noreply at wordpress.org
Fri Aug 21 01:19:21 UTC 2020
#46149: PHPUnit 8.x support
--------------------------------------------+-----------------------
Reporter: SergeyBiryukov | Owner: netweb
Type: task (blessed) | Status: assigned
Priority: high | Milestone: 5.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests early | Focuses:
--------------------------------------------+-----------------------
Comment (by dd32):
I did indeed mix PHP 7.1/7.2 and PHPUnit 8/9 requirements up.
The bash script ''isn't'' currently needed for PHP 7.1 as the void return
type hints work there.
However, as @jrf suggested, if we're going to take this route (Which in
all honesty, is the only way forward I can see) it makes zero sense to
recommend PHPUnit 7 / PHP 7.1 be natively supported by the tests - It may
still just work, but we shouldn't advocate it's use, and we have to assume
that it won't always run without run-time modifications in the future.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46149#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list