| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | 1 | public function getChangedFiles(array $filter = []): array |
|
| 34 | { |
||
| 35 | 1 | $detector = new RangeDetector(); |
|
| 36 | 1 | $ranges = $detector->getRanges($this->io); |
|
| 37 | 1 | $old = $ranges[0]->from()->id(); |
|
| 38 | 1 | $new = $ranges[0]->to()->id(); |
|
| 39 | |||
| 40 | 1 | return $this->repository->getDiffOperator()->getChangedFiles($old, $new, $filter); |
|
| 41 | } |
||
| 43 |