Lines Matching refs:diff
33 $diff = null;
39 if ($diff !== null) {
40 $this->parseFileDiff($diff, $collected);
42 $diffs[] = $diff;
46 $diff = new Diff($fromMatch['file'], $toMatch['file']);
58 if ($diff !== null && \count($collected)) {
59 $this->parseFileDiff($diff, $collected);
61 $diffs[] = $diff;
68 * @param Diff $diff
71 private function parseFileDiff(Diff $diff, array $lines) argument
108 $diff->setChunks($chunks);