Skip to content

Commit 19229bb

Browse files
committed
Update make-phar to load letsnecrypt related dependecies
1 parent 259c72d commit 19229bb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

utils/make-phar.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function add_file( $phar, $path ) {
7474
$strips = array(
7575
'\/(?:behat|gherkin)\/src\/',
7676
'\/phpunit\/',
77-
'\/symfony\/(?!console|filesystem|finder|polyfill-mbstring|process)[^\/]+\/',
77+
'\/symfony\/(?!console|filesystem|finder|polyfill-mbstring|process|serializer)[^\/]+\/',
7878
'\/composer\/spdx-licenses\/',
7979
'\/Composer\/(?:Command\/|Compiler\.php|Console\/|Downloader\/Pear|Installer\/Pear|Question\/|Repository\/Pear|SelfUpdate\/)',
8080
'\/(?:dealerdirect|squizlabs|wimg)\/',
@@ -167,8 +167,13 @@ function get_composer_versions( $current_version ) {
167167
->in(EE_VENDOR_DIR . '/ramsey/array_column')
168168
->in(EE_VENDOR_DIR . '/symfony/finder')
169169
->in(EE_VENDOR_DIR . '/symfony/polyfill-mbstring')
170+
->in(EE_VENDOR_DIR . '/symfony/polyfill-ctype')
170171
->in(EE_VENDOR_DIR . '/monolog')
171-
->in(EE_VENDOR_DIR . '/yosymfony')
172+
->in(EE_VENDOR_DIR . '/guzzlehttp')
173+
->in(EE_VENDOR_DIR . '/acmephp')
174+
->in(EE_VENDOR_DIR . '/league')
175+
->in(EE_VENDOR_DIR . '/webmozart')
176+
172177
->notName('behat-tags.php')
173178
->notPath('#(?:[^/]+-command|php-cli-tools)/vendor/#') // For running locally, in case have composer installed or symlinked them.
174179
->exclude('examples')
@@ -197,6 +202,7 @@ function get_composer_versions( $current_version ) {
197202
->in(EE_VENDOR_DIR . '/symfony/console')
198203
->in(EE_VENDOR_DIR . '/symfony/filesystem')
199204
->in(EE_VENDOR_DIR . '/symfony/process')
205+
->in(EE_VENDOR_DIR . '/symfony/serializer')
200206
->in(EE_VENDOR_DIR . '/justinrainbow/json-schema')
201207
->exclude('demo')
202208
->exclude('nb/oxymel/OxymelTest.php')

0 commit comments

Comments
 (0)