[wp-trac] [WordPress Trac] #56219: Importer plugin's PHPUnit tests fail on PHP 8.1
WordPress Trac
noreply at wordpress.org
Fri Jul 15 10:23:16 UTC 2022
#56219: Importer plugin's PHPUnit tests fail on PHP 8.1
-------------------------------------+------------------------------
Reporter: antonvlasenko | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: trunk
Severity: normal | Resolution: invalid
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------------------
Comment (by jrf):
> --ignore-platform-reqs worked for me and I didn't feel the need to
modify composer.json, but thanks for the hint.
I understand and it is a logical option to use.
The setup for integration tests for plugins can be complex as they
normally support multiple WP versions and not all WP versions support the
complete range of PHPUnit versions needed for the PHP versions supported.
If you're interested in understanding more about this, this blog post is
probably a good starting point: https://make.wordpress.org/core/2021/09/27
/changes-to-the-wordpress-core-php-test-suite/ and the underlying ticket:
https://core.trac.wordpress.org/ticket/46149
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56219#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list