[wp-trac] [WordPress Trac] #56681: Failing unit tests on PHP 8.1 and 8.2
WordPress Trac
noreply at wordpress.org
Fri Sep 30 15:26:44 UTC 2022
#56681: Failing unit tests on PHP 8.1 and 8.2
------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-testing | Focuses:
------------------------------+---------------------
Comment (by jrf):
As a FYI: with recent commits going in and with one patch still to be
committed included, the test runs on PHP 8.1 and 8.2 are down to 3 errors
and 1 failure (the one described above).
While those last three errors, of course, still needs to be addressed,
with only 3 errors left, I have discussed with @SergeyBiryukov to set
deprecation expectations for those 3 tests so we can remove the `continue-
on-error` for PHP 8.1 and 8.2 from the GitHub Actions workflows to prevent
more/new errors coming in.
I'm currently working on the patch for this and the intention is to commit
this ASAP.
The current state of things can be seen via https://github.com/WordPress
/wordpress-develop/pull/3173
Also note that the test failure for
`Tests_Theme_wpGetGlobalStylesheet::test_variables_in_classic_theme_with_presets_using_variables`
no longer shows, so this may have been solved by one of the recent
commits.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56681#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list