File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -69,15 +69,15 @@ function add_file( $phar, $path ) {
6969 '\/nb\/oxymel\/ ' ,
7070 '-command\/src\/ ' ,
7171 '\/wp-cli\/[^\n]+?-command\/ ' ,
72- '\/symfony\/(?!finder|polyfill-mbstring|polyfill-php80|process) \'' ,
72+ '\/symfony\/(?!deprecation-contracts| finder|polyfill-mbstring|polyfill-php80|process) \'' ,
7373 '\/(?:dealerdirect|squizlabs|wimg)\/ ' ,
7474 '\/yoast\/ ' ,
7575 ];
7676 } else {
7777 $ strips = [
7878 '\/(?:behat|gherkin)\/src\/ ' ,
7979 '\/phpunit\/ ' ,
80- '\/symfony\/(?!console|filesystem|finder|polyfill-mbstring|polyfill-php80|process) \'' ,
80+ '\/symfony\/(?!console|deprecation-contracts| filesystem|finder|polyfill-mbstring|polyfill-php80|process) \'' ,
8181 '\/composer\/spdx-licenses\/ ' ,
8282 '\/Composer\/(?:Command\/|Compiler\.php|Console\/|Downloader\/Pear|Installer\/Pear|Question\/|Repository\/Pear|SelfUpdate\/) ' ,
8383 '\/(?:dealerdirect|squizlabs|wimg)\/ ' ,
@@ -200,6 +200,10 @@ function get_composer_versions( $current_version ) {
200200 $ finder
201201 ->in ( WP_CLI_VENDOR_DIR . '/react ' );
202202}
203+ if ( is_dir ( WP_CLI_VENDOR_DIR . '/symfony/deprecation-contracts ' ) ) {
204+ $ finder
205+ ->in ( WP_CLI_VENDOR_DIR . '/symfony/deprecation-contracts ' );
206+ }
203207if ( is_dir ( WP_CLI_VENDOR_DIR . '/symfony/polyfill-php80 ' ) ) {
204208 $ finder
205209 ->in ( WP_CLI_VENDOR_DIR . '/symfony/polyfill-php80 ' );
You can’t perform that action at this time.
0 commit comments