Passed
Push — develop ( 26f960...2994aa )
by Raoul
01:07
created
src/Ast/TextElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Teein\Html\Ast;
5 5
 
Please login to merge, or discard this patch.
src/Ast/RawTextElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Teein\Html\Ast;
5 5
 
Please login to merge, or discard this patch.
src/beautify.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Teein\Html\Beautifier;
5 5
 
Please login to merge, or discard this patch.
src/Ast/NormalElement.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Teein\Html\Ast;
5 5
 
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
         $indentChild = new Text("\n" . str_repeat("    ", $level + 1));
52 52
         $indentClosingTag = new Text("\n" . str_repeat("    ", $level));
53 53
         $children = array_merge(array_reduce($this->childNodes, function ($children, $child) use ($level, $indentChild) {
54
-            return array_merge($children, [$indentChild, $child->beautify($level + 1)]);
55
-        }, []), [$indentClosingTag]);
54
+            return array_merge($children, [ $indentChild, $child->beautify($level + 1) ]);
55
+        }, [ ]), [ $indentClosingTag ]);
56 56
         return new NormalElement($this->localName, $this->attributes, $children);
57 57
     }
58 58
 
Please login to merge, or discard this patch.
src/Ast/Element.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Teein\Html\Ast;
5 5
 
Please login to merge, or discard this patch.
src/document.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Teein\Html\Document;
5 5
 
Please login to merge, or discard this patch.
src/Beautifier/Beautifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Teein\Html\Beautifier;
5 5
 
Please login to merge, or discard this patch.
src/comment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Teein\Html\Comment;
5 5
 
Please login to merge, or discard this patch.
src/Ast/Text.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Teein\Html\Ast;
5 5
 
Please login to merge, or discard this patch.