@@ -48,13 +48,13 @@ discard block |
||
| 48 | 48 | protected function writeSmokeCredentials($url = null) |
| 49 | 49 | { |
| 50 | 50 | if (defined('SMOKE_CREDENTIALS')) { |
| 51 | - $this->output->writeln("\n " . SMOKE_CREDENTIALS . "\n"); |
|
| 51 | + $this->output->writeln("\n ".SMOKE_CREDENTIALS."\n"); |
|
| 52 | 52 | } else { |
| 53 | - $this->output->writeln("\n Smoke " . SMOKE_VERSION . " by Nils Langner\n"); |
|
| 53 | + $this->output->writeln("\n Smoke ".SMOKE_VERSION." by Nils Langner\n"); |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | if ($url) { |
| 57 | - $this->output->writeln(' <info>Scanning ' . $url . "</info>\n"); |
|
| 57 | + $this->output->writeln(' <info>Scanning '.$url."</info>\n"); |
|
| 58 | 58 | } |
| 59 | 59 | } |
| 60 | 60 | |
@@ -101,12 +101,12 @@ discard block |
||
| 101 | 101 | if ($configFile) { |
| 102 | 102 | if (strpos($configFile, 'http://') === 0 || strpos($configFile, 'https://') === 0) { |
| 103 | 103 | $curlClient = new Client(); |
| 104 | - $fileContent = (string)$curlClient->get($configFile)->getBody(); |
|
| 104 | + $fileContent = (string) $curlClient->get($configFile)->getBody(); |
|
| 105 | 105 | } else { |
| 106 | 106 | if (file_exists($configFile)) { |
| 107 | 107 | $fileContent = file_get_contents($configFile); |
| 108 | 108 | } else { |
| 109 | - throw new \RuntimeException("Config file was not found ('" . $configFile . "')."); |
|
| 109 | + throw new \RuntimeException("Config file was not found ('".$configFile."')."); |
|
| 110 | 110 | } |
| 111 | 111 | } |
| 112 | 112 | $configArray = EnvAwareYaml::parse($fileContent); |