@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * |
| 31 | 31 | * @return ContentItem[][] |
| 32 | 32 | */ |
| 33 | - public function &getCollections () |
|
| 33 | + public function &getCollections() |
|
| 34 | 34 | { |
| 35 | 35 | return $this->trackedItems; |
| 36 | 36 | } |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | * |
| 45 | 45 | * @return ContentItem |
| 46 | 46 | */ |
| 47 | - public function &getContentItem ($filePath) |
|
| 47 | + public function &getContentItem($filePath) |
|
| 48 | 48 | { |
| 49 | 49 | if (!isset($this->trackedItemsFlattened[$filePath])) |
| 50 | 50 | { |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | /** |
| 120 | 120 | * {@inheritdoc} |
| 121 | 121 | */ |
| 122 | - public function createNewItem($filePath) |
|
| 122 | + public function createNewItem ($filePath) |
|
| 123 | 123 | { |
| 124 | 124 | $collection = $this->getTentativeCollectionName($filePath); |
| 125 | 125 | |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | /** |
| 132 | 132 | * {@inheritdoc} |
| 133 | 133 | */ |
| 134 | - public function refreshItem($filePath) |
|
| 134 | + public function refreshItem ($filePath) |
|
| 135 | 135 | { |
| 136 | 136 | return; |
| 137 | 137 | } |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | /** |
| 140 | 140 | * {@inheritdoc} |
| 141 | 141 | */ |
| 142 | - protected function handleTrackableItem($filePath, $options = array()) |
|
| 142 | + protected function handleTrackableItem ($filePath, $options = array()) |
|
| 143 | 143 | { |
| 144 | 144 | $collectionName = $options['namespace']; |
| 145 | 145 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * {@inheritdoc} |
| 30 | 30 | */ |
| 31 | - public function setLogger(LoggerInterface $logger) |
|
| 31 | + public function setLogger (LoggerInterface $logger) |
|
| 32 | 32 | { |
| 33 | 33 | $this->output = $logger; |
| 34 | 34 | } |
@@ -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 | { |
@@ -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; |
@@ -39,7 +39,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -31,7 +31,7 @@ |
||
| 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(); |