[wp-trac] [WordPress Trac] #54183: Tests: decide on how to handle deprecations in PHPUnit
WordPress Trac
noreply at wordpress.org
Sun Sep 26 01:43:58 UTC 2021
#54183: Tests: decide on how to handle deprecations in PHPUnit
-------------------------------------------------+-------------------------
Reporter: jrf | Owner:
| SergeyBiryukov
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 5.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-dev-note php81 has-patch has- | Focuses:
unit-tests commit |
-------------------------------------------------+-------------------------
Comment (by netweb):
Replying to [comment:13 jrf]:
> Note: I would recommend **against** the config file update for the
PHPUnit 9.3+ schema for now (PR 1709).
> The old config will work fine for the time being and works cross-
version, while the PHPUnit 9.3+ config would only work for PHPUnit 9.3+.
>
> By the time PHPUnit 10 comes out (and the old config is no longer
supported in PHPUnit 10), we can start to use the "on the fly" migrate
option in CI if needs be:
>
> {{{
> phpunit --migrate-configuration
> }}}
Noted, thanks, will close the PR and wait for PHPUnit v10.x 💯
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54183#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list