From f2195eb54a0e8cdd09dd6cf39361a4f481f2bb73 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 9 Jan 2026 14:53:44 +0100 Subject: [PATCH 1/2] WordPress trunk requires PHP 7.4 now --- features/install-wp-tests.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/install-wp-tests.feature b/features/install-wp-tests.feature index 73c69c67..a1316656 100644 --- a/features/install-wp-tests.feature +++ b/features/install-wp-tests.feature @@ -383,7 +383,7 @@ Feature: Scaffold install-wp-tests.sh tests Leaving the existing database (wp_cli_test_scaffold) in place """ - @require-php-7.2 @require-mysql + @require-php-7.4 @require-mysql Scenario: Install WordPress from trunk Given a WP install And a get-phpunit-phar-url.php file: From ff8b33fa3079cf21cbac7fca7cf18869cb2037a8 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 9 Jan 2026 15:02:34 +0100 Subject: [PATCH 2/2] Force --- features/scaffold-lint.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/scaffold-lint.feature b/features/scaffold-lint.feature index 9eff6057..2bc7c1b8 100644 --- a/features/scaffold-lint.feature +++ b/features/scaffold-lint.feature @@ -26,7 +26,7 @@ Feature: Lint scaffolded code Then the return code should be 0 Scenario: Scaffold post-type and lint it - When I run `wp theme install twentytwentyone --activate` + When I run `wp theme install twentytwentyone --force --activate` And I run `wp eval 'echo STYLESHEETPATH;'` And save STDOUT as {STYLESHEETPATH} @@ -38,7 +38,7 @@ Feature: Lint scaffolded code Then the return code should be 0 Scenario: Scaffold taxonomy and lint it - When I run `wp theme install twentytwentyone --activate` + When I run `wp theme install twentytwentyone --force --activate` And I run `wp eval 'echo STYLESHEETPATH;'` And save STDOUT as {STYLESHEETPATH} @@ -61,7 +61,7 @@ Feature: Lint scaffolded code Then the return code should be 0 Scenario: Scaffold child theme and lint it - When I run `wp theme install twentytwentyone --activate` + When I run `wp theme install twentytwentyone --force --activate` And I run `wp theme path` And save STDOUT as {THEME_DIR}