Skip to content

Commit 5c5a3ec

Browse files
committed
Add Symfony/Process to Phar build
1 parent ab8af73 commit 5c5a3ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/make-phar.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ function get_composer_versions( $current_version ) {
170170
->in(WP_CLI_VENDOR_DIR . '/ramsey/array_column')
171171
->in(WP_CLI_VENDOR_DIR . '/symfony/finder')
172172
->in(WP_CLI_VENDOR_DIR . '/symfony/polyfill-mbstring')
173+
->in(WP_CLI_VENDOR_DIR . '/symfony/process')
173174
->notName('behat-tags.php')
174175
->notPath('#(?:[^/]+-command|php-cli-tools)/vendor/#') // For running locally, in case have composer installed or symlinked them.
175176
->exclude('examples')
@@ -197,7 +198,6 @@ function get_composer_versions( $current_version ) {
197198
->in(WP_CLI_VENDOR_DIR . '/seld')
198199
->in(WP_CLI_VENDOR_DIR . '/symfony/console')
199200
->in(WP_CLI_VENDOR_DIR . '/symfony/filesystem')
200-
->in(WP_CLI_VENDOR_DIR . '/symfony/process')
201201
->in(WP_CLI_VENDOR_DIR . '/justinrainbow/json-schema')
202202
->exclude('demo')
203203
->exclude('nb/oxymel/OxymelTest.php')
@@ -278,7 +278,6 @@ function get_composer_versions( $current_version ) {
278278

279279
add_file( $phar, WP_CLI_VENDOR_DIR . '/autoload.php' );
280280
if ( 'cli' !== BUILD ) {
281-
add_file( $phar, WP_CLI_BUNDLE_ROOT . '/ci/behat-tags.php' );
282281
add_file( $phar, WP_CLI_VENDOR_DIR . '/composer/composer/LICENSE' );
283282
add_file( $phar, WP_CLI_VENDOR_DIR . '/composer/composer/res/composer-schema.json' );
284283
}

0 commit comments

Comments
 (0)