Przeglądaj źródła

Merge pull request #8386 from cedric-anne/bugfix/fix-php74-outdated-command

Fix composer outdated command on PHP 7.4; fixes #8346
Jordi Boggiano 5 lat temu
rodzic
commit
e85ade3107
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Composer/Command/OutdatedCommand.php

+ 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')) {