@@ -36,7 +36,7 @@ |
||
36 | 36 | $prepend = $this->prependScript; |
37 | 37 | $append = $this->appendScript; |
38 | 38 | |
39 | - $requireLegacyScript = function () use ( |
|
39 | + $requireLegacyScript = function() use ( |
|
40 | 40 | $requestPath, |
41 | 41 | $legacyScript, |
42 | 42 | $container, |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | public function dontSupportWhenPathIsNotExisting() |
52 | 52 | { |
53 | - $this->routeLoader = new LegacyRouteLoader(__DIR__.'/not_existing'); |
|
53 | + $this->routeLoader = new LegacyRouteLoader(__DIR__ . '/not_existing'); |
|
54 | 54 | self::assertFalse($this->routeLoader->supports('any', 'legacy')); |
55 | 55 | } |
56 | 56 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** {@inheritdoc} */ |
79 | 79 | protected function setUp() |
80 | 80 | { |
81 | - $this->root = vfsStream::setup(); |
|
81 | + $this->root = vfsStream::setup(); |
|
82 | 82 | $this->legacyFile = vfsStream::newFile('hello.php')->at($this->root); |
83 | 83 | $this->routeLoader = new LegacyRouteLoader($this->root->url()); |
84 | 84 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | /** @var SplFileInfo $file */ |
57 | 57 | foreach ($this->finder as $file) { |
58 | 58 | $defaults['legacyScript'] = $file->getPathname(); |
59 | - $defaults['requestPath'] = '/'.$file->getRelativePathname(); |
|
59 | + $defaults['requestPath'] = '/' . $file->getRelativePathname(); |
|
60 | 60 | |
61 | 61 | $route = new Route($file->getRelativePathname(), $defaults); |
62 | 62 | $routes->add($this->createLegacyRouteName($file), $route); |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | private function createLegacyRouteName(SplFileInfo $file) |
93 | 93 | { |
94 | - return 'basster.legacy.'. |
|
94 | + return 'basster.legacy.' . |
|
95 | 95 | str_replace( |
96 | 96 | '/', |
97 | 97 | '__', |