Passed
Push — master ( 1ac70f...b7a65a )
by Bobby
21:14 queued 11:22
created
src/Parser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     {
128 128
         $tag_configuration = $this->configuration->get();
129 129
         foreach (array_keys($tag_configuration) as $tagtype) {
130
-            preg_match_all('/\s+' . $tag_configuration[$tagtype]['prefix'] . '(\w+)/', $this->plain($this->message), $matches);
130
+            preg_match_all('/\s+'.$tag_configuration[$tagtype]['prefix'].'(\w+)/', $this->plain($this->message), $matches);
131 131
             $tags[$tagtype] = $matches[1];
132 132
         }
133 133
         return $tags;
Please login to merge, or discard this patch.
src/Transformers/HtmlTransformer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@
 block discarded – undo
36 36
 
37 37
         foreach (array_keys($this->tags) as $tagtype) {
38 38
             $tagconf = $this->tags[$tagtype];
39
-            $string = preg_replace_callback('/\s+' . $this->tags[$tagtype]['prefix'] . '(\w+)/', function($matches) use ($tagconf) {
40
-                return ' ' . trim($this->buildHtmlLink($matches[1], trim($matches[0]), $tagconf));
39
+            $string = preg_replace_callback('/\s+'.$this->tags[$tagtype]['prefix'].'(\w+)/', function($matches) use ($tagconf) {
40
+                return ' '.trim($this->buildHtmlLink($matches[1], trim($matches[0]), $tagconf));
41 41
             }, $string);
42 42
         }
43 43
 
Please login to merge, or discard this patch.
src/Transformers/MarkdownTansformer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@
 block discarded – undo
36 36
 
37 37
         foreach (array_keys($this->tags) as $tagtype) {
38 38
             $tagconf = $this->tags[$tagtype];
39
-            $string = preg_replace_callback('/\s+' . $this->tags[$tagtype]['prefix'] . '(\w+)/', function($matches) use ($tagconf) {
40
-                return ' ' . trim($this->buildMarkdownLink($matches[1], trim($matches[0]), $tagconf));
39
+            $string = preg_replace_callback('/\s+'.$this->tags[$tagtype]['prefix'].'(\w+)/', function($matches) use ($tagconf) {
40
+                return ' '.trim($this->buildMarkdownLink($matches[1], trim($matches[0]), $tagconf));
41 41
             }, $string);
42 42
         }
43 43
         $this->formatted = $string;
Please login to merge, or discard this patch.