@@ -103,7 +103,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | } |
@@ -34,7 +34,7 @@ discard block |
||
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 |
||
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 | } |
@@ -139,11 +139,11 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -19,7 +19,7 @@ |
||
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 |
@@ -19,7 +19,7 @@ |
||
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 |
@@ -58,7 +58,7 @@ discard block |
||
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 |
||
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 |
||
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(), |
@@ -40,7 +40,7 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -13,7 +13,7 @@ |
||
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 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | |
10 | 10 | class PlainTextEngine implements ParsingEngine |
11 | 11 | { |
12 | - public function parse($context) |
|
12 | + public function parse ($context) |
|
13 | 13 | { |
14 | 14 | return $context; |
15 | 15 | } |