From cdcf39b2f0ca0a66d03d8702d647effa52beb32a Mon Sep 17 00:00:00 2001 From: Rob Bast Date: Thu, 22 Jan 2015 09:45:26 +0100 Subject: [PATCH] Don't show download progress --- src/Composer/Command/DiagnoseCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/DiagnoseCommand.php b/src/Composer/Command/DiagnoseCommand.php index 78cf85db9..0d24d74e6 100644 --- a/src/Composer/Command/DiagnoseCommand.php +++ b/src/Composer/Command/DiagnoseCommand.php @@ -271,7 +271,7 @@ EOT try { $url = $domain === 'github.com' ? 'https://api.'.$domain.'/rate_limit' : 'https://'.$domain.'/api/rate_limit'; - $json = $this->rfs->getContents($domain, $url, array('retry-auth-failure' => false)); + $json = $this->rfs->getContents($domain, $url, false, array('retry-auth-failure' => false)); $data = json_decode($json, true); return $data['rate'];