Test Failed
Pull Request — master (#96)
by Sven
03:34
created
lib/Caxy/HtmlDiff/ListDiffLines.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Caxy\HtmlDiff\Strategy\ListItemMatchStrategy;
6 6
 use DOMDocument;
7
-use DOMDocumentFragment;
8 7
 use DOMElement;
9 8
 use DOMNode;
10
-use DOMNodeList;
11 9
 use DOMText;
12
-use KubAT\PhpSimple\HtmlDomParser;
13 10
 use LogicException;
14 11
 
15 12
 class ListDiffLines extends AbstractDiff
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
     {
385 385
         $bufferDom = new DOMDocument();
386 386
 
387
-        foreach($node->childNodes as $child)
387
+        foreach ($node->childNodes as $child)
388 388
         {
389 389
             $bufferDom->appendChild($bufferDom->importNode($child, true));
390 390
         }
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
 
395 395
     private function setInnerText(DOMNode $node, string $html) : void
396 396
     {
397
-        $html = trim($html);/*
397
+        $html = trim($html); /*
398 398
         echo "\r\n" . '------------------------' . "\r\n";
399 399
         echo $html . "\r\n";
400 400
         echo '------------------------' . "\r\n";
Please login to merge, or discard this patch.