Completed
Push — master ( cd3cad...16ef1b )
by Vladimir
02:21
created
src/Engines/FrontMatter/FrontMatterParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      *
62 62
      * @param array $rawFrontMatter
63 63
      */
64
-    public function __construct(&$rawFrontMatter)
64
+    public function __construct (&$rawFrontMatter)
65 65
     {
66 66
         $this->expansionUsed = false;
67 67
         $this->nestingLevel = 0;
Please login to merge, or discard this patch.
src/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/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/Engines/Markdown/MarkdownEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $this->highlighter = new Highlighter();
14 14
     }
15 15
 
16
-    protected function blockHeader($line)
16
+    protected function blockHeader ($line)
17 17
     {
18 18
         $Block = parent::blockHeader($line);
19 19
 
Please login to merge, or discard this patch.
src/Object/ContentItem.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,13 +84,13 @@  discard block
 block discarded – undo
84 84
             $this->bodyContentEvaluated = true;
85 85
         }
86 86
 
87
-        return (string)$this->bodyContent;
87
+        return (string) $this->bodyContent;
88 88
     }
89 89
 
90 90
     /**
91 91
      * @return PageView
92 92
      */
93
-    public function &getPageView ()
93
+    public function &getPageView()
94 94
     {
95 95
         return $this->parentPageView;
96 96
     }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     /**
114 114
      * {@inheritdoc}
115 115
      */
116
-    public function jsonSerialize()
116
+    public function jsonSerialize ()
117 117
     {
118 118
         return array_merge($this->getFrontMatter(), array(
119 119
             'content' => $this->getContent()
Please login to merge, or discard this patch.
src/Manager/PageManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * PageManager constructor
60 60
      */
61
-    public function __construct()
61
+    public function __construct ()
62 62
     {
63 63
         parent::__construct();
64 64
 
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     /**
229 229
      * {@inheritdoc}
230 230
      */
231
-    public function isTracked($filePath)
231
+    public function isTracked ($filePath)
232 232
     {
233 233
         return (parent::isTracked($filePath) || isset($this->twigExtendsDeps[$filePath]));
234 234
     }
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     /**
237 237
      * {@inheritdoc}
238 238
      */
239
-    public function refreshItem($filePath)
239
+    public function refreshItem ($filePath)
240 240
     {
241 241
         if (parent::isTracked($filePath))
242 242
         {
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     /**
257 257
      * {@inheritdoc}
258 258
      */
259
-    protected function handleTrackableItem($filePath, $options = array())
259
+    protected function handleTrackableItem ($filePath, $options = array())
260 260
     {
261 261
         $pageView  = PageView::create($filePath);
262 262
         $namespace = $pageView->getType();
@@ -534,7 +534,7 @@  discard block
 block discarded – undo
534 534
         {
535 535
             $filePath = $this->fs->getRelativePath($parent->getSourceContext()->getPath());
536 536
 
537
-            $this->twigExtendsDeps[$filePath][(string)$pageView->getFilePath()] = &$pageView;
537
+            $this->twigExtendsDeps[$filePath][(string) $pageView->getFilePath()] = &$pageView;
538 538
             $parent = $parent->getParent(array());
539 539
         }
540 540
     }
Please login to merge, or discard this patch.
src/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/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/Engines/FrontMatter/ExpandedValue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @param string $string
41 41
      */
42
-    public function __construct($string)
42
+    public function __construct ($string)
43 43
     {
44 44
         $this->evaluated = $string;
45 45
     }
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * @return string
49 49
      */
50
-    public function __toString()
50
+    public function __toString ()
51 51
     {
52 52
         return $this->getEvaluated();
53 53
     }
Please login to merge, or discard this patch.