From 814b23022ea306d1f14c89c5a368e0638cc7d480 Mon Sep 17 00:00:00 2001 From: Kirtan Gajjar Date: Fri, 11 Jun 2021 20:21:21 +0530 Subject: [PATCH] Fix phar build --- utils/make-phar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/make-phar.php b/utils/make-phar.php index 7cead42d7..8e160c15e 100644 --- a/utils/make-phar.php +++ b/utils/make-phar.php @@ -75,7 +75,7 @@ function add_file( $phar, $path ) { $strips = array( '\/(?:behat|gherkin)\/src\/', '\/phpunit\/', - '\/symfony\/(?!console|filesystem|finder|polyfill-mbstring|process|serializer)[^\/]+\/', + '\/symfony\/(?!console|filesystem|finder|polyfill-mbstring|process|serializer)', '\/composer\/spdx-licenses\/', '\/Composer\/(?:Command\/|Compiler\.php|Console\/|Downloader\/Pear|Installer\/Pear|Question\/|Repository\/Pear|SelfUpdate\/)', '\/(?:dealerdirect|squizlabs|wimg)\/',