Completed
Pull Request — master (#7)
by Steve
04:16
created
src/RangeDifferencer/RangeDifference.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -282,12 +282,12 @@
 block discarded – undo
282 282
     public function equals(RangeDifference $other): bool
283 283
     {
284 284
         return
285
-            $this->kind           === $other->getKind() &&
286
-            $this->leftStart      === $other->getLeftStart() &&
287
-            $this->leftLength     === $other->getLeftLength() &&
288
-            $this->rightStart     === $other->getRightStart() &&
289
-            $this->rightLength    === $other->getRightLength() &&
290
-            $this->ancestorStart  === $other->getAncestorStart() &&
285
+            $this->kind === $other->getKind() &&
286
+            $this->leftStart === $other->getLeftStart() &&
287
+            $this->leftLength === $other->getLeftLength() &&
288
+            $this->rightStart === $other->getRightStart() &&
289
+            $this->rightLength === $other->getRightLength() &&
290
+            $this->ancestorStart === $other->getAncestorStart() &&
291 291
             $this->ancestorLength === $other->getAncestorLength();
292 292
     }
293 293
 
Please login to merge, or discard this patch.
src/RangeDifferencer/Core/LCS.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@
 block discarded – undo
69 69
         $max = \min($length1, $length2);
70 70
 
71 71
         for ($forwardBound = 0;
72
-             $forwardBound < $max && $this->isRangeEqual($forwardBound, $forwardBound);
73
-             $forwardBound++) {
72
+                $forwardBound < $max && $this->isRangeEqual($forwardBound, $forwardBound);
73
+                $forwardBound++) {
74 74
             $this->setLcs($forwardBound, $forwardBound);
75 75
         }
76 76
 
Please login to merge, or discard this patch.