@@ -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 | |
@@ -107,7 +107,7 @@ discard block |
||
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); |
@@ -25,8 +25,8 @@ |
||
25 | 25 | protected function doValidation(Response $response) |
26 | 26 | { |
27 | 27 | foreach ($this->regExs as $regEx) { |
28 | - $this->assert(preg_match('^' . $regEx . '^', (string) $response->getBody()) === 0, |
|
29 | - 'The given regular expression (' . $regEx . ') was found in this document.'); |
|
28 | + $this->assert(preg_match('^'.$regEx.'^', (string) $response->getBody()) === 0, |
|
29 | + 'The given regular expression ('.$regEx.') was found in this document.'); |
|
30 | 30 | } |
31 | 31 | } |
32 | 32 | } |