| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 45 | private function validateExecuteReturn($return, $command, $lines) |
||
| 46 | { |
||
| 47 | if ($return > 0) { |
||
| 48 | throw new RuntimeException( |
||
| 49 | 'following command created an error: "' . $command . '"' . PHP_EOL . |
||
| 50 | 'exit code: "' . $return . '"' . PHP_EOL . |
||
| 51 | 'return: ' . var_export($lines, true) |
||
| 52 | ); |
||
| 53 | } |
||
| 54 | } |
||
| 55 | } |
||
| 56 |