| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | 10 | public function execute() |
|
| 42 | { |
||
| 43 | 10 | echo Cli::getColoredString($this->command . PHP_EOL, 'light_blue'); |
|
| 44 | 10 | exec($this->command, $output, $return); |
|
| 45 | 10 | $result = new ExecResult($return, $output); |
|
| 46 | 10 | echo Cli::getColoredString(implode(PHP_EOL, $output), 'dark_gray') . "\n\n"; |
|
| 47 | 10 | return $result; |
|
| 48 | } |
||
| 49 | |||
| 50 | } |