Skip to content

Fix testing on WP trunk - #297

Merged
schlessera merged 7 commits into
masterfrom
fix/trunk-composer-update-requirement
Aug 13, 2021
Merged

schlessera merged 7 commits into
masterfrom
fix/trunk-composer-update-requirement

Conversation

@schlessera

@schlessera schlessera commented Aug 13, 2021 •

Copy link
Copy Markdown
Member

This PR adds support for the new PHPUnit polyfills for WP core trunk.

It also removes the distinction between running tests on PHP < 8 and PHP >= 8, as it now works across the entire version spectrum.

Fixes #285

@schlessera
schlessera requested a review from a team as a code owner August 13, 2021 08:37
@schlessera schlessera added command:scaffold-plugin-tests Related to 'scaffold plugin-tests' command command:scaffold-theme-tests Related to 'scaffold theme-tests' command scope:testing Related to testing labels Aug 13, 2021
@schlessera schlessera added this to the 2.0.15 milestone Aug 13, 2021
@schlessera
schlessera merged commit 8d22d2e into master Aug 13, 2021
@schlessera
schlessera deleted the fix/trunk-composer-update-requirement branch August 13, 2021 09:00
@swissspidy swissspidy mentioned this pull request Sep 24, 2021
1 task done
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:scaffold-plugin-tests Related to 'scaffold plugin-tests' command command:scaffold-theme-tests Related to 'scaffold theme-tests' command scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rewrite PHPUnit test scaffolding to work with PHP 8.0+ compat code

1 participant