Completed
Push — master ( 1b20ea...0b748b )
by Vladimir
02:26
created
src/Manager/CollectionManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @return ContentItem|null
30 30
      */
31
-    public function &getContentItem ($filePath)
31
+    public function &getContentItem($filePath)
32 32
     {
33 33
         return $this->trackedItemsFlattened[$filePath];
34 34
     }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @return ContentItem[][]
40 40
      */
41
-    public function &getCollections ()
41
+    public function &getCollections()
42 42
     {
43 43
         return $this->trackedItems;
44 44
     }
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * {@inheritdoc}
110 110
      */
111
-    public function createNewItem($filePath)
111
+    public function createNewItem ($filePath)
112 112
     {
113 113
         $collection = $this->getTentativeCollectionName($filePath);
114 114
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     /**
121 121
      * {@inheritdoc}
122 122
      */
123
-    public function refreshItem($filePath)
123
+    public function refreshItem ($filePath)
124 124
     {
125 125
         return;
126 126
     }
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * {@inheritdoc}
130 130
      */
131
-    protected function handleTrackableItem($filePath, $options = array())
131
+    protected function handleTrackableItem ($filePath, $options = array())
132 132
     {
133 133
         $collectionName = $options['namespace'];
134 134
 
Please login to merge, or discard this patch.
src/System/FileExplorer.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * A bitwise flag to have FileExplorer search files starting with a period as well
22 22
      */
23
-    const ALLOW_DOT_FILES    = 0x2;
23
+    const ALLOW_DOT_FILES = 0x2;
24 24
 
25 25
     /**
26 26
      * A list of common version control folders to ignore.
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @var string[]
38 38
      */
39
-    public static $vcsPatterns =  array('.git', '.hg', '.svn', '_svn');
39
+    public static $vcsPatterns = array('.git', '.hg', '.svn', '_svn');
40 40
 
41 41
     /**
42 42
      * A list of phrases to exclude from the search
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * @param array              $includes
68 68
      * @param int|null           $flags
69 69
      */
70
-    public function __construct(\RecursiveIterator $iterator, array $excludes = array(), array $includes = array(), $flags = null)
70
+    public function __construct (\RecursiveIterator $iterator, array $excludes = array(), array $includes = array(), $flags = null)
71 71
     {
72 72
         parent::__construct($iterator);
73 73
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * @return string
81 81
      */
82
-    public function __toString()
82
+    public function __toString ()
83 83
     {
84 84
         return $this->current()->getFilename();
85 85
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @return SplFileInfo
107 107
      */
108
-    public function current()
108
+    public function current ()
109 109
     {
110 110
         /** @var \SplFileInfo $current */
111 111
         $current = parent::current();
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     /**
121 121
      * {@inheritdoc}
122 122
      */
123
-    public function getChildren()
123
+    public function getChildren ()
124 124
     {
125 125
         return (new self(
126 126
             $this->getInnerIterator()->getChildren(),
Please login to merge, or discard this patch.
src/Manager/ThemeManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * {@inheritdoc}
52 52
      */
53
-    public function refreshItem($filePath)
53
+    public function refreshItem ($filePath)
54 54
     {
55 55
         $relativeFilePath = str_replace($this->themeFolderRelative . '/', '', $filePath);
56 56
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * {@inheritdoc}
62 62
      */
63
-    public function isHandled($filePath)
63
+    public function isHandled ($filePath)
64 64
     {
65 65
         $isThemeAsset = (substr($filePath, 0, strlen($this->themeFolderRelative)) === $this->themeFolderRelative);
66 66
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * {@inheritdoc}
72 72
      */
73
-    public function createNewItem($filePath)
73
+    public function createNewItem ($filePath)
74 74
     {
75 75
         $relativeFilePath = str_replace($this->themeFolderRelative . '/', '', $filePath);
76 76
 
Please login to merge, or discard this patch.
src/Manager/AssetManager.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Copy all of the assets
48 48
      */
49
-    public function copyFiles()
49
+    public function copyFiles ()
50 50
     {
51 51
         $this->scanTrackableItems(
52 52
             getcwd(),
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * {@inheritdoc}
66 66
      */
67
-    public function isHandled($filePath)
67
+    public function isHandled ($filePath)
68 68
     {
69 69
         return $this->fileExplorer->matchesPattern($filePath);
70 70
     }
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     /**
73 73
      * {@inheritdoc}
74 74
      */
75
-    public function createNewItem($filePath)
75
+    public function createNewItem ($filePath)
76 76
     {
77 77
         return $this->handleTrackableItem($filePath, array(
78 78
             'prefix' => ''
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     /**
83 83
      * {@inheritdoc}
84 84
      */
85
-    protected function handleTrackableItem($file, $options = array())
85
+    protected function handleTrackableItem ($file, $options = array())
86 86
     {
87 87
         if (is_string($file))
88 88
         {
Please login to merge, or discard this patch.
src/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/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/FrontMatter/ExpandedValue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,12 +14,12 @@
 block discarded – undo
14 14
      */
15 15
     private $iterators;
16 16
 
17
-    public function __construct($string)
17
+    public function __construct ($string)
18 18
     {
19 19
         $this->evaluated = $string;
20 20
     }
21 21
 
22
-    public function __toString()
22
+    public function __toString ()
23 23
     {
24 24
         return $this->getEvaluated();
25 25
     }
Please login to merge, or discard this patch.