| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 16 | public function createGitCommitProcess(File $file): ChurnProcess |
||
| 17 | { |
||
| 18 | $process = new Process( |
||
| 19 | 'git -C ' . getcwd() . " log --name-only --pretty=format: " . $file->getFullPath(). " | sort | uniq -c | sort -nr" |
||
| 20 | ); |
||
| 21 | |||
| 22 | return new ChurnProcess($file, $process, 'GitCommitProcess'); |
||
| 23 | } |
||
| 24 | |||
| 41 |