Completed
Push — master ( f96c47...564ad8 )
by Hiraku
9s
created
src/HttpGetRequest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
                     unset($headers[$i]);
164 164
                 }
165 165
             }
166
-            $headers[] = 'Authorization: Basic ' . base64_encode("$this->username:$this->password");
166
+            $headers[] = 'Authorization: Basic '.base64_encode("$this->username:$this->password");
167 167
         }
168 168
 
169 169
         $curlOpts = $this->curlOpts + array(
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         }
197 197
         $ver = curl_version();
198 198
         if (preg_match('/^NSS.*Basic ECC$/', $ver['ssl_version'])) {
199
-            $ciphers = file(__DIR__ . '/../res/nss_ciphers.txt', \FILE_IGNORE_NEW_LINES | \FILE_SKIP_EMPTY_LINES);
199
+            $ciphers = file(__DIR__.'/../res/nss_ciphers.txt', \FILE_IGNORE_NEW_LINES | \FILE_SKIP_EMPTY_LINES);
200 200
             return $cache = implode(',', $ciphers);
201 201
         }
202 202
         return $cache = false;
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
         $url .= $this->path;
218 218
 
219 219
         if ($this->query) {
220
-            $url .= '?' . http_build_query($this->query);
220
+            $url .= '?'.http_build_query($this->query);
221 221
         }
222 222
 
223 223
         return $url;
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
         if ($ua) {
238 238
             return $ua;
239 239
         }
240
-        $phpVersion = defined('HHVM_VERSION') ? 'HHVM ' . HHVM_VERSION : 'PHP ' . PHP_VERSION;
240
+        $phpVersion = defined('HHVM_VERSION') ? 'HHVM '.HHVM_VERSION : 'PHP '.PHP_VERSION;
241 241
 
242 242
         return $ua = sprintf(
243 243
             'Composer/%s (%s; %s; %s)',
Please login to merge, or discard this patch.