Completed
Push — master ( 509c61...616fc2 )
by Vladimir
02:58
created
src/allejo/stakx/System/FileExplorer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,8 @@
 block discarded – undo
203 203
             }
204 204
 
205 205
             if (strpos($haystack, $query, $offset) !== false)
206
-            { // stop on first true result
206
+            {
207
+// stop on first true result
207 208
                 return true;
208 209
             }
209 210
         }
Please login to merge, or discard this patch.
src/allejo/stakx/Command/BuildableCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      * @param InputInterface $input
90 90
      * @param string         $param
91 91
      */
92
-    private function setServiceParameter(InputInterface &$input, $param)
92
+    private function setServiceParameter(InputInterface & $input, $param)
93 93
     {
94 94
         Service::setParameter($param, $input->getOption($param));
95 95
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Twig/SelectFilter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     private static function flatten(array $array)
55 55
     {
56 56
         $return = array();
57
-        array_walk_recursive($array, function($a) use (&$return) { $return[] = $a; });
57
+        array_walk_recursive($array, function ($a) use (&$return) { $return[] = $a; });
58 58
         return $return;
59 59
     }
60 60
 }
61 61
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,9 @@
 block discarded – undo
54 54
     private static function flatten(array $array)
55 55
     {
56 56
         $return = array();
57
-        array_walk_recursive($array, function($a) use (&$return) { $return[] = $a; });
57
+        array_walk_recursive($array, function($a) use (&$return)
58
+        {
59
+$return[] = $a; });
58 60
         return $return;
59 61
     }
60 62
 }
61 63
\ No newline at end of file
Please login to merge, or discard this patch.
src/allejo/stakx/Website.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
             ->setIterator($fileExplorer->getExplorer())
240 240
             ->addListener(Create::NAME, function ($e) { $this->watchListenerFunction($e); })
241 241
             ->addListener(Modify::NAME, function ($e) { $this->watchListenerFunction($e); })
242
-            ->addListener(Move::NAME,   function ($e) { $this->watchListenerFunction($e); })
242
+            ->addListener(Move::NAME, function ($e) { $this->watchListenerFunction($e); })
243 243
         ;
244 244
 
245 245
         $this->output->writeln('Watch started successfully');
Please login to merge, or discard this patch.
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -237,9 +237,15 @@
 block discarded – undo
237 237
                 $exclusions, FileExplorer::$vcsPatterns, array(Configuration::CACHE_FOLDER)
238 238
             ))
239 239
             ->setIterator($fileExplorer->getExplorer())
240
-            ->addListener(Create::NAME, function ($e) { $this->watchListenerFunction($e); })
241
-            ->addListener(Modify::NAME, function ($e) { $this->watchListenerFunction($e); })
242
-            ->addListener(Move::NAME,   function ($e) { $this->watchListenerFunction($e); })
240
+            ->addListener(Create::NAME, function ($e)
241
+            {
242
+$this->watchListenerFunction($e); })
243
+            ->addListener(Modify::NAME, function ($e)
244
+            {
245
+$this->watchListenerFunction($e); })
246
+            ->addListener(Move::NAME,   function ($e)
247
+            {
248
+$this->watchListenerFunction($e); })
243 249
         ;
244 250
 
245 251
         $this->output->writeln('Watch started successfully');
Please login to merge, or discard this patch.
src/allejo/stakx/Twig/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.
src/allejo/stakx/Document/RepeatableItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,5 +46,5 @@
 block discarded – undo
46 46
      *
47 47
      * @return void
48 48
      */
49
-    public function setParentPageView(PageView &$pageView);
49
+    public function setParentPageView(PageView & $pageView);
50 50
 }
Please login to merge, or discard this patch.
src/allejo/stakx/Document/DataItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     /**
103 103
      * {@inheritdoc}
104 104
      */
105
-    public function setParentPageView(PageView &$pageView)
105
+    public function setParentPageView(PageView & $pageView)
106 106
     {
107 107
         $this->pageView = &$pageView;
108 108
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Document/DynamicPageView.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @param RepeatableItem $repeatableItem
42 42
      */
43
-    public function addRepeatableItem(RepeatableItem &$repeatableItem)
43
+    public function addRepeatableItem(RepeatableItem & $repeatableItem)
44 44
     {
45 45
         $this->repeatableItems[$repeatableItem->getObjectName()] = &$repeatableItem;
46 46
         $repeatableItem->setParentPageView($this);
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @param RepeatableItem $repeatableItem
53 53
      */
54
-    public function delRepeatableItem(RepeatableItem &$repeatableItem)
54
+    public function delRepeatableItem(RepeatableItem & $repeatableItem)
55 55
     {
56 56
         unset($this->repeatableItems[$repeatableItem->getObjectName()]);
57 57
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Document/ContentItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      *
125 125
      * @param PageView $pageView
126 126
      */
127
-    public function setParentPageView(PageView &$pageView)
127
+    public function setParentPageView(PageView & $pageView)
128 128
     {
129 129
         $this->parentPageView = &$pageView;
130 130
     }
Please login to merge, or discard this patch.