@@ -163,7 +163,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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)', |