Passed
Pull Request — master (#15)
by Jitendra
01:41
created
src/HtmlHelper.php 1 patch
Spacing   +3 added lines, -3 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 '';
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     public function codeStart($lang)
35 35
     {
36 36
         $lang = isset($lang[1])
37
-            ? ' class="language-' . $lang[1] . '"'
37
+            ? ' class="language-'.$lang[1].'"'
38 38
             : '';
39 39
 
40 40
         return "\n<pre><code{$lang}>";
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $table = "<table>\n<thead>\n<tr>\n";
46 46
 
47 47
         foreach (\explode($delim, \trim($line, $delim)) as $hdr) {
48
-            $table .= '<th>' . \trim($hdr) . "</th>\n";
48
+            $table .= '<th>'.\trim($hdr)."</th>\n";
49 49
         }
50 50
 
51 51
         $table .= "</tr>\n</thead>\n<tbody>\n";
Please login to merge, or discard this patch.
src/BlockElementParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
                 $this->listLevel++;
169 169
             }
170 170
 
171
-            $this->markup .= '<li>' . \ltrim($this->trimmedLine, '+-*0123456789. ');
171
+            $this->markup .= '<li>'.\ltrim($this->trimmedLine, '+-*0123456789. ');
172 172
 
173 173
             $this->listInternal();
174 174
 
Please login to merge, or discard this patch.