We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | private function runConsoleCommand($command) |
||
42 | { |
||
43 | $process = new Process($command, null, null, null, 60, null); |
||
44 | $process->run(function ($type, $buffer) { |
||
45 | $this->line($buffer); |
||
46 | }); |
||
47 | |||
48 | // executes after the command finishes |
||
49 | if (! $process->isSuccessful()) { |
||
50 | throw new ProcessFailedException($process); |
||
51 | } |
||
54 |