Passed
Branch master (b7bca2)
by Steve
03:28
created
Category
src/Node/TagNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -86,10 +86,10 @@  discard block
 block discarded – undo
86 86
         $tag = $this->getTagName();
87 87
 
88 88
         if ($this->isChildless) {
89
-            return '<' . $tag . $this->renderAttributes() . ' />';
89
+            return '<'.$tag.$this->renderAttributes().' />';
90 90
         }
91 91
 
92
-        return '<' . $tag . $this->renderAttributes() . '>' . $this->renderChildren() . '</' . $tag . '>';
92
+        return '<'.$tag.$this->renderAttributes().'>'.$this->renderChildren().'</'.$tag.'>';
93 93
     }
94 94
 
95 95
     /**
@@ -121,12 +121,12 @@  discard block
 block discarded – undo
121 121
                     $value .= ' ';
122 122
                 }
123 123
 
124
-                $attr .= '="' . $this->encodeHtmlEntities($value) . '"';
124
+                $attr .= '="'.$this->encodeHtmlEntities($value).'"';
125 125
             }
126 126
 
127 127
             $rendered[] = $attr;
128 128
         }
129 129
 
130
-        return $rendered ? ' ' . \implode(' ', $rendered) : '';
130
+        return $rendered ? ' '.\implode(' ', $rendered) : '';
131 131
     }
132 132
 }
Please login to merge, or discard this patch.
src/Util/Dumper.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
     }
29 29
 
30 30
     private static function dumpDomNode(\DOMNode $node): string
31
-    {
32
-        ++self::$id;
31
+    {++self::$id;
33 32
 
34 33
         $name = self::$id.'-'.$node->nodeName;
35 34
         echo '    "'.$name."\";\n";
Please login to merge, or discard this patch.
src/Sanitizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 
84 84
         if ($this->logger) {
85 85
             $this->logger->debug('Sanitized given input to "{output}".', [
86
-                'output' => \mb_substr($sanitized, 0, 50) . (\mb_strlen($sanitized) > 50 ? '...' : ''),
86
+                'output' => \mb_substr($sanitized, 0, 50).(\mb_strlen($sanitized) > 50 ? '...' : ''),
87 87
             ]);
88 88
         }
89 89
 
Please login to merge, or discard this patch.