@@ -43,7 +43,7 @@ |
||
43 | 43 | return; |
44 | 44 | } |
45 | 45 | if (!file_exists(dirname($logFile)) || !is_writable(dirname($logFile))) { |
46 | - throw new \RuntimeException('You don\'t have permissions to write JSON report in ' . $logFile); |
|
46 | + throw new \RuntimeException('You don\'t have permissions to write JSON report in '.$logFile); |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | file_put_contents($logFile, json_encode((new SummaryWriter($metrics, new Consolidated($metrics)))->getAsArray(), JSON_PRETTY_PRINT)); |
@@ -216,9 +216,9 @@ |
||
216 | 216 | $previousCategory = null; |
217 | 217 | foreach ($this->summary as $key => $value) { |
218 | 218 | if ($previousCategory !== $value['categoryName']) { |
219 | - $output .= PHP_EOL . $value['categoryName'] . PHP_EOL; |
|
219 | + $output .= PHP_EOL.$value['categoryName'].PHP_EOL; |
|
220 | 220 | } |
221 | - $output .= " " . $value['string'] . ": " . $value['displayValue'] . PHP_EOL; |
|
221 | + $output .= " ".$value['string'].": ".$value['displayValue'].PHP_EOL; |
|
222 | 222 | |
223 | 223 | $previousCategory = $value['categoryName']; |
224 | 224 | } |