Code Duplication    Length = 3-4 lines in 2 locations

lib/Caxy/HtmlDiff/ListDiffLines.php 2 locations

@@ 279-281 (lines=3) @@
276
277
            switch ($operation->action) {
278
                case Operation::ADDED:
279
                    for ($i = $operation->startInNew; $i <= $operation->endInNew; $i++) {
280
                        $output .= $this->addListItem($newListNode->children($i - 1));
281
                    }
282
                    $indexInNew = $operation->endInNew;
283
                    break;
284
@@ 298-301 (lines=4) @@
295
                        $output .= $this->deleteListItem($oldListNode->children($i - 1));
296
                        $changeDelta--;
297
                    }
298
                    for ($i = $operation->startInNew; $i <= $operation->endInNew; $i++) {
299
                        $output .= $this->addListItem($newListNode->children($i - 1), $changeDelta < 0);
300
                        $changeDelta++;
301
                    }
302
                    $indexInOld = $operation->endInOld;
303
                    $indexInNew = $operation->endInNew;
304
                    break;