Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
18 | public function __construct(File $file, string $commitsSince) |
||
19 | { |
||
20 | $process = new Process([ |
||
21 | 'git', '-C', dirname($file->getFullPath()), 'rev-list', '--since', |
||
22 | $commitsSince, '--no-merges', '--count', 'HEAD', |
||
23 | $file->getFullPath(), |
||
24 | ]); |
||
25 | |||
26 | parent::__construct($file, $process); |
||
27 | } |
||
38 |