Skip to content

Commit f078b29

Browse files
authored
Merge pull request #312 from wp-cli/fix/keep-polyfill80-dependency-in-phar
Keep `symfony/polyfill-php80` in Phar
2 parents efb7d95 + 6ef0ba8 commit f078b29

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/make-phar.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ function get_composer_versions( $current_version ) {
200200
$finder
201201
->in( WP_CLI_VENDOR_DIR . '/react' );
202202
}
203+
if ( is_dir( WP_CLI_VENDOR_DIR . '/symfony/polyfill-php80' ) ) {
204+
$finder
205+
->in( WP_CLI_VENDOR_DIR . '/symfony/polyfill-php80' );
206+
}
203207
if ( 'cli' === BUILD ) {
204208
$finder
205209
->in( WP_CLI_VENDOR_DIR . '/wp-cli/mustangostang-spyc' )

0 commit comments

Comments
 (0)