From 055feaa51b775f5b59dd794cb0b9246197bc7140 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 11 Dec 2025 21:34:54 +0100 Subject: [PATCH 1/2] Exclude `wp-cli/wp-cli-tests` from Phar --- utils/make-phar.php | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/make-phar.php b/utils/make-phar.php index 186f5638c..36212ccbe 100644 --- a/utils/make-phar.php +++ b/utils/make-phar.php @@ -237,6 +237,7 @@ function get_composer_versions( $current_version ) { ->in( WP_CLI_VENDOR_DIR . '/justinrainbow/json-schema' ) ->in( WP_CLI_VENDOR_DIR . '/gettext' ) ->in( WP_CLI_VENDOR_DIR . '/mck89' ) + ->exclude( 'wp-cli-tests' ) ->exclude( 'demo' ) ->exclude( 'nb/oxymel/OxymelTest.php' ) ->exclude( 'composer/spdx-licenses' ) From b45eb42a9142d1524514d4e100bad1b72d669f3f Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 11 Dec 2025 21:47:50 +0100 Subject: [PATCH 2/2] sort --- utils/make-phar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/make-phar.php b/utils/make-phar.php index 36212ccbe..80af3d201 100644 --- a/utils/make-phar.php +++ b/utils/make-phar.php @@ -237,8 +237,8 @@ function get_composer_versions( $current_version ) { ->in( WP_CLI_VENDOR_DIR . '/justinrainbow/json-schema' ) ->in( WP_CLI_VENDOR_DIR . '/gettext' ) ->in( WP_CLI_VENDOR_DIR . '/mck89' ) - ->exclude( 'wp-cli-tests' ) ->exclude( 'demo' ) + ->exclude( 'wp-cli-tests' ) ->exclude( 'nb/oxymel/OxymelTest.php' ) ->exclude( 'composer/spdx-licenses' ) ->exclude( 'composer/composer/src/Composer/Command' )