@@ -71,7 +71,7 @@ |
||
71 | 71 | { |
72 | 72 | $this->port = $port; |
73 | 73 | |
74 | - $this->reactHttpServer->on('request', function (Request $request, Response $response) { |
|
74 | + $this->reactHttpServer->on('request', function(Request $request, Response $response) { |
|
75 | 75 | $path = $this->outputDirectory.'/'.ltrim(rawurldecode($request->getPath()), '/'); |
76 | 76 | if (is_dir($path)) { |
77 | 77 | $path .= '/index.html'; |
@@ -109,7 +109,7 @@ |
||
109 | 109 | |
110 | 110 | $this->httpServer->init(); |
111 | 111 | if ($watch) { |
112 | - $this->httpServer->addPeriodicTimer(1, function () use ($sourceSet) { |
|
112 | + $this->httpServer->addPeriodicTimer(1, function() use ($sourceSet) { |
|
113 | 113 | clearstatcache(); |
114 | 114 | $sourceSet->reset(); |
115 | 115 |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Sculpin\Bundle\MarkdownBundle\SculpinMarkdownBundle; |
16 | 16 | use Sculpin\Bundle\MarkdownTwigCompatBundle\SculpinMarkdownTwigCompatBundle; |
17 | 17 | use Sculpin\Bundle\PaginationBundle\SculpinPaginationBundle; |
18 | -use Sculpin\Bundle\PostsBundle\SculpinPostsBundle; |
|
19 | 18 | use Sculpin\Bundle\SculpinBundle\SculpinBundle; |
20 | 19 | use Sculpin\Bundle\StandaloneBundle\SculpinStandaloneBundle; |
21 | 20 | use Sculpin\Bundle\TwigBundle\SculpinTwigBundle; |
@@ -20,6 +20,6 @@ |
||
20 | 20 | */ |
21 | 21 | protected function getServicesFile() : string |
22 | 22 | { |
23 | - return __DIR__ . '/Resources/config/services.yml'; |
|
23 | + return __DIR__.'/Resources/config/services.yml'; |
|
24 | 24 | } |
25 | 25 | } |
@@ -41,7 +41,7 @@ |
||
41 | 41 | |
42 | 42 | protected function getServicesFile() : string |
43 | 43 | { |
44 | - return __DIR__ . '/Resources/config/services.yml'; |
|
44 | + return __DIR__.'/Resources/config/services.yml'; |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | protected function getConfiguration() : ConfigurationInterface |
@@ -26,6 +26,6 @@ |
||
26 | 26 | |
27 | 27 | protected function getServicesFile() : string |
28 | 28 | { |
29 | - return __DIR__ . '/Resources/config/services.yml'; |
|
29 | + return __DIR__.'/Resources/config/services.yml'; |
|
30 | 30 | } |
31 | 31 | } |
@@ -36,7 +36,7 @@ |
||
36 | 36 | |
37 | 37 | protected function getServicesFile() : string |
38 | 38 | { |
39 | - return __DIR__ . '/Resources/config/services.yml'; |
|
39 | + return __DIR__.'/Resources/config/services.yml'; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | protected function getConfiguration() : ConfigurationInterface |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | protected function getServicesFile() : string |
21 | 21 | { |
22 | - return __DIR__ . '/Resources/config/services.yml'; |
|
22 | + return __DIR__.'/Resources/config/services.yml'; |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | public function getConfiguration() : ConfigurationInterface |
@@ -84,7 +84,7 @@ |
||
84 | 84 | foreach ($generators as $generator) { |
85 | 85 | $newTargetSources = []; |
86 | 86 | foreach ($targetSources as $targetSource) { |
87 | - foreach ((array)$generator->generate($targetSource) as $generatedSource) { |
|
87 | + foreach ((array) $generator->generate($targetSource) as $generatedSource) { |
|
88 | 88 | $generatedSource->setIsGenerated(); |
89 | 89 | $newTargetSources[] = $generatedSource; |
90 | 90 | } |