Passed
Push — master ( 53efca...a7cbde )
by Tobias
02:56
created
src/WrkLst/DocxMustache/MustacheRender.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
             $mustache_template = self::TagCleaner($mustache_template);
11 11
         }
12 12
 
13
-        $m = new \Mustache_Engine(['escape' => function ($value) {
13
+        $m = new \Mustache_Engine(['escape' => function($value) {
14 14
             if (str_replace('*[[DONOTESCAPE]]*', '', $value) != $value) {
15 15
                 return str_replace('*[[DONOTESCAPE]]*', '', $value);
16 16
             }
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
         return preg_replace_callback(
33 33
             '/{{(.*?)}}/',
34
-            function ($match) {
34
+            function($match) {
35 35
                 return strip_tags($match[0]);
36 36
             },
37 37
             preg_replace("/(?<!{){(?!{)<\/w:t>[\s\S]*?<w:t>{/", '{{', $content)
Please login to merge, or discard this patch.