Completed
Push — master ( 0d32f9...254049 )
by Vladimir
02:39
created
src/allejo/stakx/Object/JailObject.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     /**
104 104
      * {@inheritdoc}
105 105
      */
106
-    public function offsetExists($offset)
106
+    public function offsetExists ($offset)
107 107
     {
108 108
         return $this->object->offsetExists($offset);
109 109
     }
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * {@inheritdoc}
113 113
      */
114
-    public function offsetGet($offset)
114
+    public function offsetGet ($offset)
115 115
     {
116 116
         return $this->object->offsetGet($offset);
117 117
     }
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     /**
120 120
      * {@inheritdoc}
121 121
      */
122
-    public function offsetSet($offset, $value)
122
+    public function offsetSet ($offset, $value)
123 123
     {
124 124
         return $this->object->offsetSet($offset, $value);
125 125
     }
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     /**
128 128
      * {@inheritdoc}
129 129
      */
130
-    public function offsetUnset($offset)
130
+    public function offsetUnset ($offset)
131 131
     {
132 132
         return $this->object->offsetUnset($offset);
133 133
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Object/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * Configuration constructor.
36 36
      */
37
-    public function __construct()
37
+    public function __construct ()
38 38
     {
39 39
         $this->configuration = array();
40 40
         $this->fs            = new Filesystem();
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * {@inheritdoc}
66 66
      */
67
-    public function setLogger(LoggerInterface $logger)
67
+    public function setLogger (LoggerInterface $logger)
68 68
     {
69 69
         $this->output = $logger;
70 70
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Object/Website.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -139,11 +139,11 @@  discard block
 block discarded – undo
139 139
         $this->pm->configureTwig($this->getConfiguration(), array(
140 140
             'safe'    => $this->safeMode,
141 141
             'globals' => array(
142
-                array('name' => 'site',        'value' => $this->getConfiguration()->getConfiguration()),
142
+                array('name' => 'site', 'value' => $this->getConfiguration()->getConfiguration()),
143 143
                 array('name' => 'collections', 'value' => $this->cm->getJailedCollections()),
144
-                array('name' => 'menu',        'value' => $this->pm->getSiteMenu()),
145
-                array('name' => 'pages',       'value' => $this->pm->getFlatPages()),
146
-                array('name' => 'data',        'value' => $this->dm->getDataItems())
144
+                array('name' => 'menu', 'value' => $this->pm->getSiteMenu()),
145
+                array('name' => 'pages', 'value' => $this->pm->getFlatPages()),
146
+                array('name' => 'data', 'value' => $this->dm->getDataItems())
147 147
             )
148 148
         ));
149 149
         $this->pm->compileAll();
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
     /**
310 310
      * @return boolean
311 311
      */
312
-    public function isNoClean()
312
+    public function isNoClean ()
313 313
     {
314 314
         return $this->noClean;
315 315
     }
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
     /**
318 318
      * @param boolean $noClean
319 319
      */
320
-    public function setNoClean($noClean)
320
+    public function setNoClean ($noClean)
321 321
     {
322 322
         $this->noClean = $noClean;
323 323
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Object/DynamicPageView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * {@inheritdoc}
21 21
      */
22
-    public function __construct($filePath)
22
+    public function __construct ($filePath)
23 23
     {
24 24
         parent::__construct($filePath);
25 25
 
Please login to merge, or discard this patch.
src/allejo/stakx/Object/RepeaterPageView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * {@inheritdoc}
21 21
      */
22
-    public function __construct($filePath)
22
+    public function __construct ($filePath)
23 23
     {
24 24
         parent::__construct($filePath);
25 25
 
Please login to merge, or discard this patch.
src/allejo/stakx/Object/ContentItem.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             $this->bodyContentEvaluated = true;
59 59
         }
60 60
 
61
-        return (string)$this->bodyContent;
61
+        return (string) $this->bodyContent;
62 62
     }
63 63
 
64 64
     /**
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     /**
104 104
      * @return PageView
105 105
      */
106
-    public function &getPageView ()
106
+    public function &getPageView()
107 107
     {
108 108
         return $this->parentPageView;
109 109
     }
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * {@inheritdoc}
128 128
      */
129
-    public function jsonSerialize()
129
+    public function jsonSerialize ()
130 130
     {
131 131
         return array_merge($this->getFrontMatter(), array(
132 132
             'content' => $this->getContent(),
Please login to merge, or discard this patch.
src/allejo/stakx/Object/FrontMatterObject.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -392,7 +392,9 @@
 block discarded – undo
392 392
      */
393 393
     final public function deleteFrontMatter ($key)
394 394
     {
395
-        if (!isset($this->writableFrontMatter[$key])) { return; }
395
+        if (!isset($this->writableFrontMatter[$key]))
396
+        {
397
+return; }
396 398
 
397 399
         unset($this->writableFrontMatter[$key]);
398 400
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Object/PageView.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * {@inheritdoc}
42 42
      */
43
-    public function __construct($filePath)
43
+    public function __construct ($filePath)
44 44
     {
45 45
         parent::__construct($filePath);
46 46
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @return PageView[]
88 88
      */
89
-    public function &getChildren ()
89
+    public function &getChildren()
90 90
     {
91 91
         return $this->children;
92 92
     }
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
             self::$fileSys = new Filesystem();
170 170
         }
171 171
 
172
-        $frontMatter  = array(
172
+        $frontMatter = array(
173 173
             'permalink' => $redirectFrom,
174 174
             'redirect'  => $redirectTo,
175 175
             'menu' => false
Please login to merge, or discard this patch.
src/allejo/stakx/Utilities/ArrayUtilities.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,9 @@
 block discarded – undo
9 9
         foreach ($array as $element)
10 10
         {
11 11
             if (is_array($element))
12
-                return true;
12
+            {
13
+                            return true;
14
+            }
13 15
         }
14 16
 
15 17
         return false;
Please login to merge, or discard this patch.