@@ -36,7 +36,7 @@ |
||
36 | 36 | $output = $reportProcessor->process($coverage); |
37 | 37 | if('console' === $target){ |
38 | 38 | $consoleIO->coverageInfo($output); |
39 | - }else{ |
|
39 | + } else{ |
|
40 | 40 | file_put_contents($target, $output); |
41 | 41 | } |
42 | 42 | } |
@@ -88,7 +88,7 @@ |
||
88 | 88 | $this->getTarget() |
89 | 89 | ); |
90 | 90 | $consoleIO->coverageInfo($info); |
91 | - }catch (\Exception $exception){ |
|
91 | + } catch (\Exception $exception){ |
|
92 | 92 | $message = sprintf( |
93 | 93 | "Failed to generate report type: <comment>%s</comment>. Error message:\n%s", |
94 | 94 | $this->getType(), |
@@ -74,7 +74,7 @@ |
||
74 | 74 | $coverageEvent->getProcessor()->complete(); |
75 | 75 | $this->dispatch($coverageEvent, CoverageEvent::complete); |
76 | 76 | $this->dispatch($coverageEvent, CoverageEvent::report); |
77 | - }else{ |
|
77 | + } else{ |
|
78 | 78 | $consoleIO->coverageError('Can not create coverage report. No code coverage driver available'); |
79 | 79 | } |
80 | 80 |