Passed
Pull Request — master (#15)
by Jitendra
01:44
created
src/BlockElementParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
         if ($codeBlock || (!$this->inList && !$this->inQuote && $isShifted)) {
108 108
             $lang = isset($codeMatch[1])
109
-                ? ' class="language-' . $codeMatch[1] . '"'
109
+                ? ' class="language-'.$codeMatch[1].'"'
110 110
                 : '';
111 111
 
112 112
             $this->markup .= "\n<pre><code{$lang}>";
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
                 $this->listLevel++;
173 173
             }
174 174
 
175
-            $this->markup .= '<li>' . \ltrim($this->trimmedLine, '+-*0123456789. ');
175
+            $this->markup .= '<li>'.\ltrim($this->trimmedLine, '+-*0123456789. ');
176 176
 
177 177
             $this->listInternal();
178 178
 
Please login to merge, or discard this patch.
src/HtmlHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         }
26 26
 
27 27
         if ($level < 7) {
28
-            return "\n<h{$level}>" . \ltrim(\ltrim($line, '# ')) . "</h{$level}>";
28
+            return "\n<h{$level}>".\ltrim(\ltrim($line, '# '))."</h{$level}>";
29 29
         }
30 30
 
31 31
         return '';
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $table = "<table>\n<thead>\n<tr>\n";
37 37
 
38 38
         foreach (\explode($delim, \trim($line, $delim)) as $hdr) {
39
-            $table .= '<th>' . \trim($hdr) . "</th>\n";
39
+            $table .= '<th>'.\trim($hdr)."</th>\n";
40 40
         }
41 41
 
42 42
         $table .= "</tr>\n</thead>\n<tbody>\n";
Please login to merge, or discard this patch.