| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class ProcessFactory |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Creates a process from command line. |
||
| 27 | * |
||
| 28 | * @param string $commandLine |
||
| 29 | * |
||
| 30 | * @return Process |
||
| 31 | */ |
||
| 32 | 11 | public function createProcess($commandLine) |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Returns whether the new syntax to build Symfony Process instances from a command line should be used. |
||
| 42 | * |
||
| 43 | * @see https://github.com/symfony/symfony/pull/27821 |
||
| 44 | * |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | 11 | private function useNewSyntax() |
|
| 52 |