From bc523eceef1429867f076873755289a94ce2e2e8 Mon Sep 17 00:00:00 2001 From: Sam Regan Date: Sat, 6 Jan 2024 13:27:36 +0000 Subject: [PATCH 1/3] fix(build) wp-cli/wp-cli-bundle missing from composer.json Without wp-cli-bundle, WP plugins that rely on it (e.g. Buddypress extending WP_CLI\CommandWithDBObject) will cause a fatal error when running tests. --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index e69c879d7..42a0f6caa 100644 --- a/composer.json +++ b/composer.json @@ -30,6 +30,7 @@ "bordoni/phpass": "^0.3", "mikemclin/laravel-wp-password": "~2.0.0", "wp-cli/wp-cli": ">=2.0 <3.0.0", + "wp-cli/wp-cli-bundle": "*", "zordius/lightncandy": "^1.2", "vria/nodiacritic": "^0.1.2", "codeception/module-asserts": "^1.0", From d934136c84c2fd42c87cd18af1c11e84009d6364 Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Mon, 8 Jan 2024 09:24:34 +0100 Subject: [PATCH 2/3] build(composer.json) remove wp-cli bundle entry from require-dev --- composer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/composer.json b/composer.json index 42a0f6caa..02469d08a 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,6 @@ "victorjonsson/markdowndocs": "dev-master", "gumlet/php-image-resize": "^1.6", "vlucas/phpdotenv": "^3.0", - "wp-cli/wp-cli-bundle": "*", "symfony/translation": "^3.4" }, "autoload": { From 92ee97d88dd9af4887d165de78e644d2a698aa0c Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Mon, 8 Jan 2024 09:26:00 +0100 Subject: [PATCH 3/3] doc(CHANGELOG.md) add missing entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 155198050..7055c8f10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [unreleased] Unreleased +## Added + +- move `wp-cli/wp-cli-bundle` from `require-dev` to `require` to restore pre-existing support + ## [3.2.2] 2023-11-20; ## Added