Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function __construct(File $file, string $commitsSince) |
||
24 | { |
||
25 | $process = new Process([ |
||
26 | 'git', '-C', \dirname($file->getFullPath()), 'rev-list', '--since', |
||
27 | $commitsSince, '--no-merges', '--count', 'HEAD', |
||
28 | $file->getFullPath(), |
||
29 | ]); |
||
30 | |||
31 | parent::__construct($file, $process); |
||
32 | } |
||
43 |