Remove obsolete @less-than-php-7.2 test tag#367
Merged
swissspidy merged 2 commits intomainfrom Jan 25, 2026
Merged
Conversation
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Revert PHPUnit compatibility changes for PHP 7.2 support
Remove obsolete @less-than-php-7.2 test tag
Jan 25, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
swissspidy
approved these changes
Jan 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
@less-than-php-7.2tag was added as a workaround when scaffolded PHPUnit tests were incompatible with PHP 7.2+. With minimum PHP requirement now at 7.2, the tag excludes tests unnecessarily.Changes
@less-than-php-7.2from scaffold-theme-tests.feature scenarioWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
example.com/usr/bin/php /usr/bin/php /home/REDACTED/work/scaffold-command/scaffold-command/vendor/wp-cli/wp-cli/bin/../php/boot-fs.php core install --url=REDACTED --title=WP CLI Site --admin_user=admin --admin_email=admin@example.com --admin_password=password1 --skip-email(dns block)/usr/bin/php /usr/bin/php /home/REDACTED/work/scaffold-command/scaffold-command/vendor/wp-cli/wp-cli/bin/../php/boot-fs.php core install --url=REDACTED --title=WP CLI Site --admin_user=admin --admin_email=admin@example.com --admin_password=password1 --skip-email k/scaffold-comma--snippets-for=WP_CLI\Tests\Context\FeatureContext /usr/bin/php and/�� scaffold post-type h --textdomain=zommysql taxonomy k/scaffold-command/scaffold-command/vendor/bin/sscaffold sh(dns block)underscores.me/usr/bin/php /usr/bin/php /home/REDACTED/work/scaffold-command/scaffold-command/vendor/wp-cli/wp-cli/bin/../php/boot-fs.php scaffold _s starter-theme /* '/tmp/wp-cli---plugin_author=Hello World Author install /home/REDACTED/.local/bin/sh --force movies and/vendor/wp-clscaffold sh i/wp�� and/vendor/wp-cl--activate theme-tests h 9642b02bfdc2a3bbsh stty size 2>&1 and/vendor/bin/sscaffold sh(dns block)/usr/bin/php /usr/bin/php /home/REDACTED/work/scaffold-command/scaffold-command/vendor/wp-cli/wp-cli/bin/../php/boot-fs.php scaffold _s starter-theme --sassify sh p/bin/sh 99//wp-content/msh block cal/bin/sh sh i/wp�� scaffold child-theme tnet/tools/sh mbrella bieland ssee ps://wp-cli.org(dns block)/usr/bin/php /usr/bin/php /home/REDACTED/work/scaffold-command/scaffold-command/vendor/wp-cli/wp-cli/bin/../php/boot-fs.php scaffold _s starter-theme --woocommerce -core-install-cache-6.9/install_34f3da9689642b02bfdc2a3bb7dc5325/wp-content nd/scaffold-command/vendor/bin/sh orld --dir=non-esh path h sh i/wp�� scaffold theme-tests k/scaffold-command/scaffold-command/vendor/bin/wp imple-life sh h dirname(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.