@@ -163,6 +163,7 @@ function get_composer_versions( $current_version ) {
163163 ->ignoreVCS (true )
164164 ->name ('*.php ' )
165165 ->in (WP_CLI_ROOT . '/php ' )
166+ ->in (WP_CLI_BUNDLE_ROOT . '/php ' )
166167 ->in (WP_CLI_VENDOR_DIR . '/mustache ' )
167168 ->in (WP_CLI_VENDOR_DIR . '/rmccue/requests ' )
168169 ->in (WP_CLI_VENDOR_DIR . '/composer ' )
@@ -191,9 +192,6 @@ function get_composer_versions( $current_version ) {
191192} else {
192193 $ finder
193194 ->in (WP_CLI_VENDOR_DIR . '/wp-cli ' )
194- ->in (WP_CLI_VENDOR_DIR . '/wp-cli/wp-cli-tests/features/bootstrap ' ) // These are required for scaffold-package-command.
195- ->in (WP_CLI_VENDOR_DIR . '/wp-cli/wp-cli-tests/features/steps ' )
196- ->in (WP_CLI_VENDOR_DIR . '/wp-cli/wp-cli-tests/features/extra ' )
197195 ->in (WP_CLI_VENDOR_DIR . '/nb/oxymel ' )
198196 ->in (WP_CLI_VENDOR_DIR . '/psr ' )
199197 ->in (WP_CLI_VENDOR_DIR . '/seld ' )
@@ -291,7 +289,7 @@ function get_composer_versions( $current_version ) {
291289set_file_contents ( $ phar , WP_CLI_ROOT . '/COMPOSER_VERSIONS ' , get_composer_versions ( $ current_version ) );
292290set_file_contents ( $ phar , WP_CLI_ROOT . '/VERSION ' , $ current_version );
293291
294- $ phar_boot = str_replace ( WP_CLI_BASE_PATH , '' , WP_CLI_ROOT . '/php/boot-phar.php ' );
292+ $ phar_boot = str_replace ( WP_CLI_BASE_PATH , '' , WP_CLI_BUNDLE_ROOT . '/php/boot-phar.php ' );
295293$ phar ->setStub ( <<<EOB
296294#!/usr/bin/env php
297295<?php
0 commit comments