Completed
Pull Request — master (#60)
by
unknown
02:32
created
src/allejo/stakx/Compiler.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -333,7 +333,6 @@
 block discarded – undo
333 333
      * Write the compiled output for a repeater PageView.
334 334
      *
335 335
      * @param RepeaterPageView $pageView
336
-
337 336
      * @since 0.1.1
338 337
      *
339 338
      * @throws TemplateErrorInterface
Please login to merge, or discard this patch.
src/allejo/stakx/Website.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -453,7 +453,7 @@
 block discarded – undo
453 453
 
454 454
         if (!$enabled)
455 455
         {
456
-          return;
456
+            return;
457 457
         }
458 458
 
459 459
         foreach ($this->getConfiguration()->getHighlighterCustomLanguages() as $lang => $path)
Please login to merge, or discard this patch.
src/allejo/stakx/Templating/Twig/Extension/SelectFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     private static function flatten(array $array)
65 65
     {
66 66
         $return = array();
67
-        array_walk_recursive($array, function($a) use (&$return) { $return[] = $a; });
67
+        array_walk_recursive($array, function ($a) use (&$return) { $return[] = $a; });
68 68
         return $return;
69 69
     }
70 70
 }
Please login to merge, or discard this patch.
src/allejo/stakx/Templating/Twig/Extension/BaseUrlFunction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,6 +95,6 @@
 block discarded – undo
95 95
             }
96 96
         }
97 97
 
98
-        return preg_replace('#(?<!:)/+#','/', join('/', $paths));
98
+        return preg_replace('#(?<!:)/+#', '/', join('/', $paths));
99 99
     }
100 100
 }
Please login to merge, or discard this patch.