Skip to content

Commit 30afdc5

Browse files
committed
Remove conditional inclusion
1 parent 1a42ded commit 30afdc5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

utils/make-phar.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ function get_composer_versions( $current_version ) {
228228
->in( WP_CLI_VENDOR_DIR . '/nb/oxymel' )
229229
->in( WP_CLI_VENDOR_DIR . '/psr' )
230230
->in( WP_CLI_VENDOR_DIR . '/seld' )
231+
->in( WP_CLI_VENDOR_DIR . '/marc-mabe/php-enum' )
231232
->in( WP_CLI_VENDOR_DIR . '/justinrainbow/json-schema' )
232233
->in( WP_CLI_VENDOR_DIR . '/gettext' )
233234
->in( WP_CLI_VENDOR_DIR . '/mck89' )
@@ -243,11 +244,6 @@ function get_composer_versions( $current_version ) {
243244
->exclude( 'composer/composer/src/Composer/Question' )
244245
->exclude( 'composer/composer/src/Composer/Repository/Pear' )
245246
->exclude( 'composer/composer/src/Composer/SelfUpdate' );
246-
247-
// required by justinrainbow/json-schema v6+.
248-
if ( is_dir( WP_CLI_VENDOR_DIR . '/marc-mabe/php-enum' ) ) {
249-
$finder->in( WP_CLI_VENDOR_DIR . '/marc-mabe/php-enum' );
250-
}
251247
}
252248

253249
foreach ( $finder as $file ) {

0 commit comments

Comments
 (0)