diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php index 47ef25de9..d81869ab8 100644 --- a/src/Composer/Command/ShowCommand.php +++ b/src/Composer/Command/ShowCommand.php @@ -600,19 +600,19 @@ EOT } } - $io->write(''); - $io->write('Direct dependencies required in composer.json:'); + $io->writeError(''); + $io->writeError('Direct dependencies required in composer.json:'); if (\count($directDeps) > 0) { $this->printPackages($io, $directDeps, $indent, $versionFits, $latestFits, $descriptionFits, $width, $versionLength, $nameLength, $latestLength); } else { - $io->write('Everything up to date'); + $io->writeError('Everything up to date'); } - $io->write(''); - $io->write('Transitive dependencies not required in composer.json:'); + $io->writeError(''); + $io->writeError('Transitive dependencies not required in composer.json:'); if (\count($transitiveDeps) > 0) { $this->printPackages($io, $transitiveDeps, $indent, $versionFits, $latestFits, $descriptionFits, $width, $versionLength, $nameLength, $latestLength); } else { - $io->write('Everything up to date'); + $io->writeError('Everything up to date'); } } else { $this->printPackages($io, $packages, $indent, $versionFits, $latestFits, $descriptionFits, $width, $versionLength, $nameLength, $latestLength);