| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | 11 | public function createProcess($commandLine) |
|
| 33 | { |
||
| 34 | // support old (Symfony 2.7 to 4.1) and new (Symfony 4.2+) syntax to build Symfony Process instances. |
||
| 35 | 11 | $process = $this->useNewSyntax() ? Process::fromShellCommandline($commandLine) : new Process($commandLine); |
|
|
1 ignored issue
–
show
|
|||
| 36 | |||
| 37 | 11 | return $process; |
|
| 38 | } |
||
| 52 |