Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
39 | private static function verifyProcessRunning(Process $process): void |
||
40 | { |
||
41 | if (!$process->isRunning()) { |
||
42 | throw new \RuntimeException(sprintf( |
||
43 | 'Failed to start "%s" in background: %s', |
||
44 | $process->getCommandLine(), |
||
45 | $process->getErrorOutput() |
||
46 | )); |
||
58 |