| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 2 |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 17 | 14 | public function onEngineStart(EngineEvent $engineEvent) |
|
| 18 | { |
||
| 19 | 14 | $formatter = $engineEvent->getOutputInterface()->getFormatter(); |
|
| 20 | |||
| 21 | 14 | if ($formatter) { |
|
| 22 | 14 | $formatter->setStyle('ok', $this->createNewStyle('green')); |
|
| 23 | 14 | $formatter->setStyle('skip', $this->createNewStyle('yellow')); |
|
| 24 | 14 | $formatter->setStyle('warning', $this->createNewStyle('yellow')); |
|
| 25 | 14 | $formatter->setStyle('incomplete', $this->createNewStyle('blue')); |
|
| 26 | 14 | $formatter->setStyle('fail', $this->createNewStyle('red')); |
|
| 27 | 14 | $formatter->setStyle('error', $this->createNewStyle('red')); |
|
| 28 | 14 | $formatter->setStyle('abnormal', $this->createNewStyle('magenta')); |
|
| 29 | 14 | } |
|
| 30 | 14 | } |
|
| 31 | |||
| 41 |