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 |
||
10 | 3 | public function __construct($command, $output, $returnCode) |
|
11 | { |
||
12 | 3 | $this->command = $command; |
|
13 | 3 | $this->output = $output; |
|
14 | 3 | $this->returnCode = $returnCode; |
|
15 | |||
16 | 3 | $message = 'Command "' . $command . '" exited with code ' . $returnCode . ': ' . $output; |
|
17 | 3 | parent::__construct($message); |
|
18 | 3 | } |
|
19 | |||
35 |