@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | $warnings = array(); |
| 221 | 221 | |
| 222 | 222 | if ($iniPath = php_ini_loaded_file()) { |
| 223 | - $iniMessage = PHP_EOL.'The php.ini used by your command-line PHP is: ' . $iniPath; |
|
| 223 | + $iniMessage = PHP_EOL.'The php.ini used by your command-line PHP is: '.$iniPath; |
|
| 224 | 224 | } else { |
| 225 | 225 | $iniMessage = PHP_EOL.'A php.ini file does not exist. You will have to create one.'; |
| 226 | 226 | } |
@@ -594,7 +594,7 @@ discard block |
||
| 594 | 594 | |
| 595 | 595 | if ($result && $channel !== 'stable' && !$version && defined('PHP_BINARY')) { |
| 596 | 596 | $null = (defined('PHP_WINDOWS_VERSION_MAJOR') ? 'NUL' : '/dev/null'); |
| 597 | - @exec(escapeshellarg(PHP_BINARY) .' '.escapeshellarg($this->target).' self-update --'.$channel.' --set-channel-only -q > '.$null.' 2> '.$null, $output); |
|
| 597 | + @exec(escapeshellarg(PHP_BINARY).' '.escapeshellarg($this->target).' self-update --'.$channel.' --set-channel-only -q > '.$null.' 2> '.$null, $output); |
|
| 598 | 598 | } |
| 599 | 599 | } catch (Exception $e) { |
| 600 | 600 | $result = false; |
@@ -1173,7 +1173,7 @@ discard block |
||
| 1173 | 1173 | if ($this->disableTls === false) { |
| 1174 | 1174 | if (!empty($cafile) && !is_dir($cafile)) { |
| 1175 | 1175 | if (!is_readable($cafile) || !validateCaFile(file_get_contents($cafile))) { |
| 1176 | - throw new RuntimeException('The configured cafile (' .$cafile. ') was not valid or could not be read.'); |
|
| 1176 | + throw new RuntimeException('The configured cafile ('.$cafile.') was not valid or could not be read.'); |
|
| 1177 | 1177 | } |
| 1178 | 1178 | } |
| 1179 | 1179 | $options = $this->getTlsStreamContextDefaults($cafile); |
@@ -1328,11 +1328,11 @@ discard block |
||
| 1328 | 1328 | } |
| 1329 | 1329 | |
| 1330 | 1330 | if (!empty($proxy)) { |
| 1331 | - $proxyURL = isset($proxy['scheme']) ? $proxy['scheme'] . '://' : ''; |
|
| 1331 | + $proxyURL = isset($proxy['scheme']) ? $proxy['scheme'].'://' : ''; |
|
| 1332 | 1332 | $proxyURL .= isset($proxy['host']) ? $proxy['host'] : ''; |
| 1333 | 1333 | |
| 1334 | 1334 | if (isset($proxy['port'])) { |
| 1335 | - $proxyURL .= ":" . $proxy['port']; |
|
| 1335 | + $proxyURL .= ":".$proxy['port']; |
|
| 1336 | 1336 | } elseif ('http://' == substr($proxyURL, 0, 7)) { |
| 1337 | 1337 | $proxyURL .= ":80"; |
| 1338 | 1338 | } elseif ('https://' == substr($proxyURL, 0, 8)) { |
@@ -1370,7 +1370,7 @@ discard block |
||
| 1370 | 1370 | if (isset($proxy['user'])) { |
| 1371 | 1371 | $auth = urldecode($proxy['user']); |
| 1372 | 1372 | if (isset($proxy['pass'])) { |
| 1373 | - $auth .= ':' . urldecode($proxy['pass']); |
|
| 1373 | + $auth .= ':'.urldecode($proxy['pass']); |
|
| 1374 | 1374 | } |
| 1375 | 1375 | $auth = base64_encode($auth); |
| 1376 | 1376 | |