@@ -65,22 +65,30 @@ function add_file( $phar, $path ) {
6565 if ( 'cli ' === BUILD ) {
6666 $ strips = [
6767 '\/(?:behat|composer|gherkin)\/src\/ ' ,
68+ '\/behat\/ ' ,
6869 '\/phpunit\/ ' ,
70+ '\/phpspec\/ ' ,
71+ '\/sebastian\/ ' ,
72+ '\/php-parallel-lint\/ ' ,
6973 '\/nb\/oxymel\/ ' ,
7074 '-command\/src\/ ' ,
7175 '\/wp-cli\/[^\n]+?-command\/ ' ,
7276 '\/symfony\/(?:config|console|debug|dependency-injection|event-dispatcher|filesystem|translation|yaml) \'' ,
73- '\/(?:dealerdirect|squizlabs|wimg)\/ ' ,
77+ '\/(?:dealerdirect|myclabs| squizlabs|wimg)\/ ' ,
7478 '\/yoast\/ ' ,
7579 ];
7680 } else {
7781 $ strips = [
7882 '\/(?:behat|gherkin)\/src\/ ' ,
83+ '\/behat\/ ' ,
7984 '\/phpunit\/ ' ,
85+ '\/phpspec\/ ' ,
86+ '\/sebastian\/ ' ,
87+ '\/php-parallel-lint\/ ' ,
8088 '\/symfony\/(?:config|debug|dependency-injection|event-dispatcher|translation|yaml) \'' ,
8189 '\/composer\/spdx-licenses\/ ' ,
8290 '\/Composer\/(?:Command\/|Compiler\.php|Console\/|Downloader\/Pear|Installer\/Pear|Question\/|Repository\/Pear|SelfUpdate\/) ' ,
83- '\/(?:dealerdirect|squizlabs|wimg)\/ ' ,
91+ '\/(?:dealerdirect|myclabs| squizlabs|wimg)\/ ' ,
8492 '\/yoast\/ ' ,
8593 ];
8694 }
@@ -186,12 +194,12 @@ function get_composer_versions( $current_version ) {
186194 ->in ( WP_CLI_VENDOR_DIR . '/symfony ' )
187195 ->notName ( 'behat-tags.php ' )
188196 ->notPath ( '#(?:[^/]+-command|php-cli-tools)/vendor/# ' ) // For running locally, in case have composer installed or symlinked them.
189- ->exclude ( 'symfony/ config ' )
190- ->exclude ( 'symfony/ debug ' )
191- ->exclude ( 'symfony/ dependency-injection ' )
192- ->exclude ( 'symfony/ event-dispatcher ' )
193- ->exclude ( 'symfony/ translation ' )
194- ->exclude ( 'symfony/ yaml ' )
197+ ->exclude ( 'config ' )
198+ ->exclude ( 'debug ' )
199+ ->exclude ( 'dependency-injection ' )
200+ ->exclude ( 'event-dispatcher ' )
201+ ->exclude ( 'translation ' )
202+ ->exclude ( 'yaml ' )
195203 ->exclude ( 'examples ' )
196204 ->exclude ( 'features ' )
197205 ->exclude ( 'test ' )
0 commit comments