Skip to content

Commit 434f104

Browse files
committed
Adapt autoloaders
1 parent feb6668 commit 434f104

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

utils/make-phar.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

0 commit comments

Comments
 (0)