Passed
Push — master ( d7540c...231250 )
by Josh
05:57
created
lib/Caxy/HtmlDiff/Match.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,6 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     public function count() {
29
-        return (int)$this->size;
29
+        return (int) $this->size;
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
lib/Caxy/HtmlDiff/AbstractDiff.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -527,7 +527,9 @@
 block discarded – undo
527 527
                     $mode = 'tag';
528 528
                 } elseif (preg_match("/\s/", $character)) {
529 529
                     $current_word .= $character;
530
-                    if (!$keepNewLines) $current_word = preg_replace('/\s+/S', ' ', $current_word);
530
+                    if (!$keepNewLines) {
531
+                        $current_word = preg_replace('/\s+/S', ' ', $current_word);
532
+                    }
531 533
                 } else {
532 534
                     if ($current_word != '') {
533 535
                         $words[] = $current_word;
Please login to merge, or discard this patch.