diff --git a/src/Composer/Command/DiagnoseCommand.php b/src/Composer/Command/DiagnoseCommand.php index 10340a56b..3c4c3bb32 100644 --- a/src/Composer/Command/DiagnoseCommand.php +++ b/src/Composer/Command/DiagnoseCommand.php @@ -122,8 +122,8 @@ EOT if (!is_array($rate)) { $this->outputResult($rate); } elseif (10 > $rate['remaining']) { - $io->writeError('WARNING'); - $io->writeError(sprintf( + $io->write('WARNING'); + $io->write(sprintf( 'Github has a rate limit on their API. ' . 'You currently have %u ' . 'out of %u requests left.' . PHP_EOL