1 | <?php declare(strict_types = 1); |
||
9 | class ProcessFactory |
||
10 | { |
||
11 | /** |
||
12 | * Creates a Git Commit Process that will run on $file. |
||
13 | * @param File $file File that the process will execute on. |
||
14 | * @return ChurnProcess |
||
15 | */ |
||
16 | public function createGitCommitProcess(File $file): ChurnProcess |
||
24 | |||
25 | /** |
||
26 | * Creates a Cyclomatic Complexity Process that will run on $file. |
||
27 | * @param File $file File that the process will execute on. |
||
28 | * @return ChurnProcess |
||
29 | */ |
||
30 | public function createCyclomaticComplexityProcess(File $file): ChurnProcess |
||
40 | } |
||
41 |