Completed
Push — master ( 66225f...5dc583 )
by Christian
02:44
created
examples/include/class_customvariableprovider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         if ($path === 'random') {
40 40
             return 'random' . sha1(rand(0, 999999999));
41 41
         } elseif ($path === 'incrementer') {
42
-            return ++ $this->incrementer;
42
+            return ++$this->incrementer;
43 43
         } else {
44 44
             return parent::getByPath($path);
45 45
         }
Please login to merge, or discard this patch.
src/Core/ViewHelper/Traits/CompileWithContentArgumentAndRenderStatic.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,12 +91,12 @@
 block discarded – undo
91 91
         $argumentName = $this->resolveContentArgumentName();
92 92
         $arguments = $this->arguments;
93 93
         if (!empty($argumentName) && isset($arguments[$argumentName])) {
94
-            $renderChildrenClosure = function () use ($arguments, $argumentName) {
94
+            $renderChildrenClosure = function() use ($arguments, $argumentName) {
95 95
                 return $arguments[$argumentName];
96 96
             };
97 97
         } else {
98 98
             $self = clone $this;
99
-            $renderChildrenClosure = function () use ($self) {
99
+            $renderChildrenClosure = function() use ($self) {
100 100
                 return $self->renderChildren();
101 101
             };
102 102
         }
Please login to merge, or discard this patch.
src/View/AbstractTemplateView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@
 block discarded – undo
292 292
         try {
293 293
             $parsedPartial = $renderingContext->getTemplateParser()->getOrParseAndStoreTemplate(
294 294
                 $templatePaths->getPartialIdentifier($partialName),
295
-                function ($parent, TemplatePaths $paths) use ($partialName) {
295
+                function($parent, TemplatePaths $paths) use ($partialName) {
296 296
                     return $paths->getPartialSource($partialName);
297 297
                 }
298 298
             );
Please login to merge, or discard this patch.
src/Core/ViewHelper/TagBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
     {
177 177
         $this->ignoreEmptyAttributes = $ignoreEmptyAttributes;
178 178
         if ($ignoreEmptyAttributes) {
179
-            $this->attributes = array_filter($this->attributes, function ($item) { return trim((string) $item) !== ''; });
179
+            $this->attributes = array_filter($this->attributes, function($item) { return trim((string) $item) !== ''; });
180 180
         }
181 181
     }
182 182
 
Please login to merge, or discard this patch.
src/Core/Parser/BooleanParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -454,9 +454,9 @@
 block discarded – undo
454 454
                 return $x;
455 455
             }
456 456
             if (strpos($x, '.') !== false) {
457
-                return (float)$x;
457
+                return (float) $x;
458 458
             } else {
459
-                return (int)$x;
459
+                return (int) $x;
460 460
             }
461 461
         }
462 462
 
Please login to merge, or discard this patch.