Browse Source

Write abandoned warning on stderr to avoid breaking the flow of the list

Jordi Boggiano 9 years ago
parent
commit
17f23f5c43
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Composer/Command/ShowCommand.php

+ 2 - 2
src/Composer/Command/ShowCommand.php

@@ -330,8 +330,8 @@ EOT
                                 ? 'Use ' . $latestPackackage->getReplacementPackage() . ' instead'
                                 : 'No replacement was suggested';
 
-                            $io->write('');
-                            $io->write(
+                            $io->writeError('');
+                            $io->writeError(
                                 sprintf(
                                     "<warning>Package %s is abandoned, you should avoid using it. %s.</warning>",
                                     $package->getPrettyName(),