@@ -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( |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | $ver = curl_version(); |
| 198 | 198 | if (preg_match('/^NSS.*Basic ECC$/', $ver['ssl_version'])) { |
| 199 | 199 | $ciphers = array(); |
| 200 | - foreach (new \SplFileObject(__DIR__ . '/../res/nss_ciphers.txt') as $line) { |
|
| 200 | + foreach (new \SplFileObject(__DIR__.'/../res/nss_ciphers.txt') as $line) { |
|
| 201 | 201 | $line = trim($line); |
| 202 | 202 | if ($line) { |
| 203 | 203 | $ciphers[] = $line; |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | $url .= $this->path; |
| 224 | 224 | |
| 225 | 225 | if ($this->query) { |
| 226 | - $url .= '?' . http_build_query($this->query); |
|
| 226 | + $url .= '?'.http_build_query($this->query); |
|
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | return $url; |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | if ($ua) { |
| 244 | 244 | return $ua; |
| 245 | 245 | } |
| 246 | - $phpVersion = defined('HHVM_VERSION') ? 'HHVM ' . HHVM_VERSION : 'PHP ' . PHP_VERSION; |
|
| 246 | + $phpVersion = defined('HHVM_VERSION') ? 'HHVM '.HHVM_VERSION : 'PHP '.PHP_VERSION; |
|
| 247 | 247 | |
| 248 | 248 | return $ua = sprintf( |
| 249 | 249 | 'Composer/%s (%s; %s; %s)', |