Skip to content

Commit 3f438a9

Browse files
authored
Merge pull request #323 from wp-cli/fix/typo-in-symfony-strips
Fix typo in Symfony autoloader strips
2 parents d2a5fed + fc92a9a commit 3f438a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils/make-phar.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function add_file( $phar, $path ) {
7373
'\/nb\/oxymel\/',
7474
'-command\/src\/',
7575
'\/wp-cli\/[^\n]+?-command\/',
76-
'\/symfony\/(?:config|console|debug|dependency-injection|event-dispatcher|filesystem|translation|yaml)\'',
76+
'\/symfony\/(?:config|console|debug|dependency-injection|event-dispatcher|filesystem|translation|yaml)',
7777
'\/(?:dealerdirect|myclabs|squizlabs|wimg)\/',
7878
'\/yoast\/',
7979
];
@@ -85,7 +85,7 @@ function add_file( $phar, $path ) {
8585
'\/phpspec\/',
8686
'\/sebastian\/',
8787
'\/php-parallel-lint\/',
88-
'\/symfony\/(?:config|debug|dependency-injection|event-dispatcher|translation|yaml)\'',
88+
'\/symfony\/(?:config|debug|dependency-injection|event-dispatcher|translation|yaml)',
8989
'\/composer\/spdx-licenses\/',
9090
'\/Composer\/(?:Command\/|Compiler\.php|Console\/|Downloader\/Pear|Installer\/Pear|Question\/|Repository\/Pear|SelfUpdate\/)',
9191
'\/(?:dealerdirect|myclabs|squizlabs|wimg)\/',
@@ -215,8 +215,8 @@ function get_composer_versions( $current_version ) {
215215
->in( WP_CLI_VENDOR_DIR . '/wp-cli/mustangostang-spyc' )
216216
->in( WP_CLI_VENDOR_DIR . '/wp-cli/php-cli-tools' )
217217
->in( WP_CLI_VENDOR_DIR . '/seld/cli-prompt' )
218-
->exclude( 'symfony/console' )
219-
->exclude( 'symfony/filesystem' )
218+
->exclude( 'console' )
219+
->exclude( 'filesystem' )
220220
->exclude( 'composer/ca-bundle' )
221221
->exclude( 'composer/semver' )
222222
->exclude( 'composer/src' )

0 commit comments

Comments
 (0)