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