| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | 3 | public function __construct($command, $output, $returnCode) |
|
| 12 | { |
||
| 13 | 3 | $this->command = $command; |
|
| 14 | 3 | $this->output = $output; |
|
| 15 | 3 | $this->returnCode = $returnCode; |
|
| 16 | |||
| 17 | 3 | $message = 'Command "' . $command. '" exited with code ' . $returnCode . ': ' . $output; |
|
| 18 | 3 | parent::__construct($message); |
|
| 19 | 3 | } |
|
| 20 | |||
| 35 | } |