| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function compare(string $from, string $to): array |
||
| 32 | { |
||
| 33 | $compare = (new Compare($this->repo->getRoot()))->revisions($from, $to) |
||
| 34 | ->ignoreWhitespacesAtEndOfLine(); |
||
| 35 | |||
| 36 | $result = $this->runner->run($compare, new Compare\FullDiffList()); |
||
| 37 | |||
| 38 | return $result->getFormattedOutput(); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |