Эх сурвалжийг харах

Fix composer outdated command on PHP 7.4; fixes #8346

Cédric Anne 6 жил өмнө
parent
commit
9c9ca87537

+ 1 - 1
src/Composer/Command/OutdatedCommand.php

@@ -59,7 +59,7 @@ EOT
     protected function execute(InputInterface $input, OutputInterface $output)
     {
         $args = array(
-            'show',
+            'command' => 'show',
             '--latest' => true,
         );
         if (!$input->getOption('all')) {