@@ -40,10 +40,10 @@ |
||
| 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"); |
@@ -5,7 +5,7 @@ |
||
| 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(); |
@@ -34,10 +34,10 @@ |
||
| 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 |