Skip to content

Commit cba317e

Browse files
committed
Add polyfills in PSR4 autoloading
1 parent a26d5aa commit cba317e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/make-phar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ function add_file( $phar, $path ) {
6868
'\/nb\/oxymel\/',
6969
'-command\/src\/',
7070
'\/ee\/[^\n]+?-command\/',
71-
'\/symfony\/(?!finder|polyfill-mbstring)[^\/]+\/',
71+
'\/symfony\/(?!finder|polyfill-mbstring|polyfill-ctype|polyfill-php81|polyfill-php80|polyfill-php73)[^\/]+\/',
7272
'\/(?:dealerdirect|squizlabs|wimg)\/',
7373
);
7474
} else {
7575
$strips = array(
7676
'\/(?:behat|gherkin)\/src\/',
7777
'\/phpunit\/',
78-
'\/symfony\/(?!console|filesystem|finder|polyfill-mbstring|process|serializer|service-contracts)',
78+
'\/symfony\/(?!console|filesystem|finder|polyfill-mbstring|polyfill-ctype|polyfill-php81|polyfill-php80|polyfill-php73|process|serializer|service-contracts)',
7979
'\/composer\/spdx-licenses\/',
8080
'\/Composer\/(?:Command\/|Compiler\.php|Console\/|Downloader\/Pear|Installer\/Pear|Question\/|Repository\/Pear|SelfUpdate\/)',
8181
'\/(?:dealerdirect|squizlabs|wimg)\/',

0 commit comments

Comments
 (0)