From 8f5310c52c176d3266a6b0625cd4cf98563fb716 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 30 Mar 2026 19:41:06 +0200 Subject: [PATCH 1/6] temporarily test using branch --- composer.json | 2 +- composer.lock | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 9e15cd796..1e10e0721 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "require-dev": { "roave/security-advisories": "dev-latest", "wp-cli/package-command": "^2.1", - "wp-cli/wp-cli-tests": "^5" + "wp-cli/wp-cli-tests": "dev-try/windows-logging#4da0cd2c9a0f3c40afc7533c756c114198fdbd97" }, "suggest": { "psy/psysh": "Enhanced `wp shell` functionality", diff --git a/composer.lock b/composer.lock index 6d8294312..0662563a3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c2c06eaebfeb4c1884f044c795b98d19", + "content-hash": "728ec5abdbb5bb5359e5c224d46a80c1", "packages": [ { "name": "composer/semver", @@ -9567,16 +9567,16 @@ }, { "name": "wp-cli/wp-cli-tests", - "version": "v5.1.6", + "version": "dev-try/windows-logging", "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli-tests.git", - "reference": "af27f7a8e7627ebbad4a42555138ac2b98ac5d4e" + "reference": "4da0cd2c9a0f3c40afc7533c756c114198fdbd97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/af27f7a8e7627ebbad4a42555138ac2b98ac5d4e", - "reference": "af27f7a8e7627ebbad4a42555138ac2b98ac5d4e", + "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/4da0cd2c9a0f3c40afc7533c756c114198fdbd97", + "reference": "4da0cd2c9a0f3c40afc7533c756c114198fdbd97", "shasum": "" }, "require": { @@ -9656,7 +9656,7 @@ "issues": "https://github.com/wp-cli/wp-cli-tests/issues", "source": "https://github.com/wp-cli/wp-cli-tests" }, - "time": "2026-03-25T20:11:12+00:00" + "time": "2026-03-30T14:57:51+00:00" }, { "name": "wp-coding-standards/wpcs", @@ -9793,7 +9793,8 @@ "minimum-stability": "dev", "stability-flags": { "roave/security-advisories": 20, - "wp-cli/wp-cli": 20 + "wp-cli/wp-cli": 20, + "wp-cli/wp-cli-tests": 20 }, "prefer-stable": true, "prefer-lowest": false, From e8da1b96b7cf2cdb9e9c770b4015d3b318989b1a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 30 Mar 2026 19:41:11 +0200 Subject: [PATCH 2/6] Fix some eval tests --- features/requests.feature | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/features/requests.feature b/features/requests.feature index 6c2cf1796..4b0ff5779 100644 --- a/features/requests.feature +++ b/features/requests.feature @@ -36,7 +36,12 @@ Feature: Requests integration with both v1 and v2 5.8 """ - When I run `vendor/bin/wp eval 'var_dump( \WP_CLI\Utils\http_request( "GET", "https://example.com/" ) );'` + Given a check-request-v1-phar.php file: + """ + Date: Mon, 30 Mar 2026 22:12:10 +0200 Subject: [PATCH 3/6] composer update --- composer.json | 2 +- composer.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 1e10e0721..668ddde98 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "require-dev": { "roave/security-advisories": "dev-latest", "wp-cli/package-command": "^2.1", - "wp-cli/wp-cli-tests": "dev-try/windows-logging#4da0cd2c9a0f3c40afc7533c756c114198fdbd97" + "wp-cli/wp-cli-tests": "dev-try/windows-logging" }, "suggest": { "psy/psysh": "Enhanced `wp shell` functionality", diff --git a/composer.lock b/composer.lock index 0662563a3..8f8b6c621 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "728ec5abdbb5bb5359e5c224d46a80c1", + "content-hash": "1aa09d0195e98d3a1faa3e67031952cd", "packages": [ { "name": "composer/semver", @@ -9571,12 +9571,12 @@ "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli-tests.git", - "reference": "4da0cd2c9a0f3c40afc7533c756c114198fdbd97" + "reference": "3e1fe8db335b26cec7cf4c86b53f33ae8efec7a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/4da0cd2c9a0f3c40afc7533c756c114198fdbd97", - "reference": "4da0cd2c9a0f3c40afc7533c756c114198fdbd97", + "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/3e1fe8db335b26cec7cf4c86b53f33ae8efec7a1", + "reference": "3e1fe8db335b26cec7cf4c86b53f33ae8efec7a1", "shasum": "" }, "require": { @@ -9656,7 +9656,7 @@ "issues": "https://github.com/wp-cli/wp-cli-tests/issues", "source": "https://github.com/wp-cli/wp-cli-tests" }, - "time": "2026-03-30T14:57:51+00:00" + "time": "2026-03-30T20:11:26+00:00" }, { "name": "wp-coding-standards/wpcs", From 057ff70a463b030d4bc1202744639eab6a4263a4 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 30 Mar 2026 22:27:13 +0200 Subject: [PATCH 4/6] update lock file --- composer.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.lock b/composer.lock index 8f8b6c621..9b3766441 100644 --- a/composer.lock +++ b/composer.lock @@ -9571,12 +9571,12 @@ "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli-tests.git", - "reference": "3e1fe8db335b26cec7cf4c86b53f33ae8efec7a1" + "reference": "6c2e67a9c08408917991e030001aee9afa8e4a58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/3e1fe8db335b26cec7cf4c86b53f33ae8efec7a1", - "reference": "3e1fe8db335b26cec7cf4c86b53f33ae8efec7a1", + "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/6c2e67a9c08408917991e030001aee9afa8e4a58", + "reference": "6c2e67a9c08408917991e030001aee9afa8e4a58", "shasum": "" }, "require": { @@ -9656,7 +9656,7 @@ "issues": "https://github.com/wp-cli/wp-cli-tests/issues", "source": "https://github.com/wp-cli/wp-cli-tests" }, - "time": "2026-03-30T20:11:26+00:00" + "time": "2026-03-30T20:26:50+00:00" }, { "name": "wp-coding-standards/wpcs", From d2046a87cbe720b0aac2e96d3b5c42bbbbe583e8 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 30 Mar 2026 22:50:24 +0200 Subject: [PATCH 5/6] skip a test --- features/command.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/command.feature b/features/command.feature index f9e5beff2..418c69b62 100644 --- a/features/command.feature +++ b/features/command.feature @@ -752,6 +752,8 @@ Feature: WP-CLI Commands honked """ + # No trailing spaces on Windows. + @skip-windows Scenario: Register a longdesc for a given command Given an empty directory And a custom-cmd.php file: From 32f1b0615b5ca3b82d825e5ab4392c25296a6425 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 31 Mar 2026 13:54:28 +0200 Subject: [PATCH 6/6] composer update --- composer.json | 2 +- composer.lock | 32 +++++++++++++++++++------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 668ddde98..4cab67d75 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "wp-cli/site-health-command": "^1", "wp-cli/super-admin-command": "^2", "wp-cli/widget-command": "^2", - "wp-cli/wp-cli": "dev-main" + "wp-cli/wp-cli": "dev-try/os as 2.13" }, "require-dev": { "roave/security-advisories": "dev-latest", diff --git a/composer.lock b/composer.lock index 9b3766441..9d16dc5b9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1aa09d0195e98d3a1faa3e67031952cd", + "content-hash": "7f7cfbfd23bec2b9f02ec2c4b2f8e28d", "packages": [ { "name": "composer/semver", @@ -2659,16 +2659,16 @@ }, { "name": "wp-cli/wp-cli", - "version": "dev-main", + "version": "dev-try/os", "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli.git", - "reference": "71de10fbf84c88cfe550f9f4c0664bad3f03796c" + "reference": "575fa2140ca2b0d0222a70c69df7c90ef5077e0e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/71de10fbf84c88cfe550f9f4c0664bad3f03796c", - "reference": "71de10fbf84c88cfe550f9f4c0664bad3f03796c", + "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/575fa2140ca2b0d0222a70c69df7c90ef5077e0e", + "reference": "575fa2140ca2b0d0222a70c69df7c90ef5077e0e", "shasum": "" }, "require": { @@ -2684,14 +2684,13 @@ "wp-cli/entity-command": "^2", "wp-cli/extension-command": "^2", "wp-cli/package-command": "^2", - "wp-cli/wp-cli-tests": "^5" + "wp-cli/wp-cli-tests": "dev-try/windows-logging" }, "suggest": { "ext-curl": "For better performance when making HTTP requests", "ext-readline": "Include for a better --prompt implementation", "ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates" }, - "default-branch": true, "bin": [ "bin/wp", "bin/wp.bat" @@ -2739,7 +2738,7 @@ "issues": "https://github.com/wp-cli/wp-cli/issues", "source": "https://github.com/wp-cli/wp-cli" }, - "time": "2026-03-27T12:10:55+00:00" + "time": "2026-03-31T11:51:59+00:00" }, { "name": "wp-cli/wp-config-transformer", @@ -9571,12 +9570,12 @@ "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli-tests.git", - "reference": "6c2e67a9c08408917991e030001aee9afa8e4a58" + "reference": "149885daf2e4d0169d6e50151786f5b72afa1c29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/6c2e67a9c08408917991e030001aee9afa8e4a58", - "reference": "6c2e67a9c08408917991e030001aee9afa8e4a58", + "url": "https://api.github.com/repos/wp-cli/wp-cli-tests/zipball/149885daf2e4d0169d6e50151786f5b72afa1c29", + "reference": "149885daf2e4d0169d6e50151786f5b72afa1c29", "shasum": "" }, "require": { @@ -9656,7 +9655,7 @@ "issues": "https://github.com/wp-cli/wp-cli-tests/issues", "source": "https://github.com/wp-cli/wp-cli-tests" }, - "time": "2026-03-30T20:26:50+00:00" + "time": "2026-03-31T10:29:36+00:00" }, { "name": "wp-coding-standards/wpcs", @@ -9789,7 +9788,14 @@ "time": "2025-02-09T18:58:54+00:00" } ], - "aliases": [], + "aliases": [ + { + "package": "wp-cli/wp-cli", + "version": "dev-try/os", + "alias": "2.13", + "alias_normalized": "2.13.0.0" + } + ], "minimum-stability": "dev", "stability-flags": { "roave/security-advisories": 20,