Code Duplication    Length = 3-4 lines in 2 locations

lib/Caxy/HtmlDiff/ListDiffLines.php 2 locations

@@ 279-281 (lines=3) @@
276
                    break;
277
278
                case Operation::DELETED:
279
                    for ($i = $operation->startInOld; $i <= $operation->endInOld; $i++) {
280
                        $output .= $this->deleteListItem($oldListNode->children($i - 1));
281
                    }
282
                    $indexInOld = $operation->endInOld;
283
                    break;
284
@@ 287-290 (lines=4) @@
284
285
                case Operation::CHANGED:
286
                    $changeDelta = 0;
287
                    for ($i = $operation->startInOld; $i <= $operation->endInOld; $i++) {
288
                        $output .= $this->deleteListItem($oldListNode->children($i - 1));
289
                        $changeDelta--;
290
                    }
291
                    for ($i = $operation->startInNew; $i <= $operation->endInNew; $i++) {
292
                        $output .= $this->addListItem($newListNode->children($i - 1), $changeDelta < 0);
293
                        $changeDelta++;