Passed
Push — v1 ( 128ec0...1ece52 )
by Andrew
06:21 queued 14s
created
src/web/twig/nodes/CommentBlockNode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@
 block discarded – undo
40 40
                 ->write('$_blockTimer = microtime(true)')
41 41
                 ->raw(";\n")
42 42
                 ->write('$_templateName = ')
43
-                ->write("'" . $this->getTemplateName() . "'")
43
+                ->write("'".$this->getTemplateName()."'")
44 44
                 ->raw(";\n")
45 45
                 ->write('$_blockName = ')
46
-                ->write("'" . $this->blockName . "'")
46
+                ->write("'".$this->blockName."'")
47 47
                 ->raw(";\n")
48 48
                 ->write('echo PHP_EOL."<!-- >>> BLOCK BEGIN >>> ".$_blockName." FROM ".$_templateName." -->".PHP_EOL')
49 49
                 ->raw(";\n");
Please login to merge, or discard this patch.
ecs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 return static function(ECSConfig $ecsConfig): void {
7 7
     $ecsConfig->paths([
8
-        __DIR__ . '/src',
8
+        __DIR__.'/src',
9 9
         __FILE__,
10 10
     ]);
11 11
     $ecsConfig->parallel();
Please login to merge, or discard this patch.
src/web/twig/CommentTemplateLoader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@
 block discarded – undo
34 34
         }
35 35
 
36 36
         $escapedName = addslashes($name);
37
-        $prefix = "{% comments '{$escapedName}' %}" . PHP_EOL;
38
-        $suffix = PHP_EOL . "{% endcomments %}";
37
+        $prefix = "{% comments '{$escapedName}' %}".PHP_EOL;
38
+        $suffix = PHP_EOL."{% endcomments %}";
39 39
 
40
-        return new Twig_Source($prefix . file_get_contents($template) . $suffix, $name, $template);
40
+        return new Twig_Source($prefix.file_get_contents($template).$suffix, $name, $template);
41 41
     }
42 42
 
43 43
     // Private Methods
Please login to merge, or discard this patch.