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