File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff 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
253249foreach ( $ finder as $ file ) {
You can’t perform that action at this time.
0 commit comments