From 851e476e6b2a4647aaca2f34c340fdb515f3b5ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jakes=CC=8C?= Date: Wed, 28 Oct 2026 11:09:14 +0100 Subject: [PATCH] Update test dependencies for SQLite storage Require wp-cli/wp-cli-tests 5.3.4 or newer so installation caching supports randomized SQLite storage paths. Allow its WP-CLI 3 development dependency while retaining WP-CLI 2.12 compatibility and preferring stable releases. https://github.com/wp-cli/wp-cli-tests/pull/367 --- composer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 7c19a47..21ff4f2 100644 --- a/composer.json +++ b/composer.json @@ -25,10 +25,10 @@ ], "require": { "php": ">=7.4", - "wp-cli/wp-cli": "^2.12" + "wp-cli/wp-cli": "^2.12 || ^3.0@dev" }, "require-dev": { - "wp-cli/wp-cli-tests": "^5.0", + "wp-cli/wp-cli-tests": "^5.3.4", "phpcompatibility/php-compatibility": "^10.0@alpha", "wp-coding-standards/wpcs": "@dev" }, @@ -48,6 +48,7 @@ "@behat" ] }, + "prefer-stable": true, "config": { "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true,