소스 검색

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 년 전
부모
커밋
e85ade3107
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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')) {