Completed
Pull Request — master (#41)
by Vladimir
03:10
created
src/allejo/stakx/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/allejo/stakx/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.
tests/allejo/stakx/Test/PHPUnit_Stakx_TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     protected $fs;
33 33
 
34
-    public function setUp()
34
+    public function setUp ()
35 35
     {
36 36
         $this->dummyFile    = vfsStream::newFile('stakx.html.twig');
37 37
         $this->rootDir      = vfsStream::setup();
Please login to merge, or discard this patch.
src/allejo/stakx/System/Filesystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * @throws FileNotFoundException When originFile doesn't exist
63 63
      * @throws IOException           When copy fails
64 64
      */
65
-    public function copy($originFile, $targetFile, $overwriteNewerFiles = false)
65
+    public function copy ($originFile, $targetFile, $overwriteNewerFiles = false)
66 66
     {
67 67
         if ($this->isDir($originFile))
68 68
         {
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/MenuManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /** @var PageView */
16 16
     private $siteMenu;
17 17
 
18
-    public function __construct()
18
+    public function __construct ()
19 19
     {
20 20
         parent::__construct();
21 21
 
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/PageManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * PageManager constructor
51 51
      */
52
-    public function __construct()
52
+    public function __construct ()
53 53
     {
54 54
         parent::__construct();
55 55
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     /**
146 146
      * {@inheritdoc}
147 147
      */
148
-    public function isTracked($filePath)
148
+    public function isTracked ($filePath)
149 149
     {
150 150
         return (parent::isTracked($filePath) || isset($this->twigExtendsDeps[$filePath]));
151 151
     }
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * {@inheritdoc}
163 163
      */
164
-    protected function handleTrackableItem($filePath, $options = array())
164
+    protected function handleTrackableItem ($filePath, $options = array())
165 165
     {
166 166
         $pageView  = PageView::create($filePath);
167 167
         $namespace = $pageView->getType();
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
@@ -156,11 +156,11 @@  discard block
 block discarded – undo
156 156
         $twigEnv->configureTwig($this->getConfiguration(), array(
157 157
             'safe'    => $this->safeMode,
158 158
             'globals' => array(
159
-                array('name' => 'site',        'value' => $this->getConfiguration()->getConfiguration()),
159
+                array('name' => 'site', 'value' => $this->getConfiguration()->getConfiguration()),
160 160
                 array('name' => 'collections', 'value' => $this->cm->getJailedCollections()),
161
-                array('name' => 'menu',        'value' => $this->mm->getSiteMenu()),
162
-                array('name' => 'pages',       'value' => $this->pm->getJailedStaticPages()),
163
-                array('name' => 'data',        'value' => $this->dm->getDataItems())
161
+                array('name' => 'menu', 'value' => $this->mm->getSiteMenu()),
162
+                array('name' => 'pages', 'value' => $this->pm->getJailedStaticPages()),
163
+                array('name' => 'data', 'value' => $this->dm->getDataItems())
164 164
             )
165 165
         ));
166 166
 
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
     /**
334 334
      * @return boolean
335 335
      */
336
-    public function isNoClean()
336
+    public function isNoClean ()
337 337
     {
338 338
         return $this->noClean;
339 339
     }
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     /**
342 342
      * @param boolean $noClean
343 343
      */
344
-    public function setNoClean($noClean)
344
+    public function setNoClean ($noClean)
345 345
     {
346 346
         $this->noClean = $noClean;
347 347
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Compiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     /** @var Twig_Environment */
42 42
     private $twig;
43 43
 
44
-    public function __construct()
44
+    public function __construct ()
45 45
     {
46 46
         parent::__construct();
47 47
 
Please login to merge, or discard this patch.