From 856df56bdd05f4ce2a5f437796ab6a1a222c5f3a Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 31 Oct 2018 22:20:40 +0100 Subject: [PATCH] Revert #7755 --- src/Composer/Command/DiagnoseCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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