@@ -50,7 +50,7 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -46,7 +46,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | { |
@@ -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 |
@@ -61,7 +61,7 @@ |
||
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; |
@@ -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 |
@@ -14,12 +14,12 @@ |
||
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 | } |
@@ -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 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | protected $fs; |
32 | 32 | |
33 | - public function setUp() |
|
33 | + public function setUp () |
|
34 | 34 | { |
35 | 35 | $this->dummyFile = vfsStream::newFile('foo.html.twig'); |
36 | 36 | $this->rootDir = vfsStream::setup(); |