Remove conditional inclusion

This commit is contained in:
Pascal Birchler 2025-05-07 15:16:26 +02:00
parent 1a42ded244
commit 30afdc571d
No known key found for this signature in database
GPG key ID: 0DECE73DD74E8B2F

View file

@ -228,6 +228,7 @@ if ( 'cli' === BUILD ) {
->in( WP_CLI_VENDOR_DIR . '/nb/oxymel' )
->in( WP_CLI_VENDOR_DIR . '/psr' )
->in( WP_CLI_VENDOR_DIR . '/seld' )
->in( WP_CLI_VENDOR_DIR . '/marc-mabe/php-enum' )
->in( WP_CLI_VENDOR_DIR . '/justinrainbow/json-schema' )
->in( WP_CLI_VENDOR_DIR . '/gettext' )
->in( WP_CLI_VENDOR_DIR . '/mck89' )
@ -243,11 +244,6 @@ if ( 'cli' === BUILD ) {
->exclude( 'composer/composer/src/Composer/Question' )
->exclude( 'composer/composer/src/Composer/Repository/Pear' )
->exclude( 'composer/composer/src/Composer/SelfUpdate' );

// required by justinrainbow/json-schema v6+.
if ( is_dir( WP_CLI_VENDOR_DIR . '/marc-mabe/php-enum' ) ) {
$finder->in( WP_CLI_VENDOR_DIR . '/marc-mabe/php-enum' );
}
}

foreach ( $finder as $file ) {