| @@ -14,7 +14,7 @@ | ||
| 14 | 14 |      { | 
| 15 | 15 | $combined = null; | 
| 16 | 16 | $parts = array_filter($parts); | 
| 17 | -        array_walk_recursive($parts, function ($part) use (&$combined) { | |
| 17 | +        array_walk_recursive($parts, function($part) use (&$combined) { | |
| 18 | 18 | // Normalise path | 
| 19 | 19 | $part = str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $part); | 
| 20 | 20 | $combined = $combined | 
| @@ -111,7 +111,7 @@ | ||
| 111 | 111 | $this->filesystem->ensureDirectoryExists($resourcesPath); | 
| 112 | 112 | |
| 113 | 113 | // Copy missing resources | 
| 114 | - $files = new DirectoryIterator(__DIR__.'/../resources'); | |
| 114 | + $files = new DirectoryIterator(__DIR__ . '/../resources'); | |
| 115 | 115 |          foreach ($files as $file) { | 
| 116 | 116 | $targetPath = $resourcesPath . DIRECTORY_SEPARATOR . $file->getFilename(); | 
| 117 | 117 |              if ($file->isFile() && !file_exists($targetPath)) { | 
| @@ -47,7 +47,7 @@ discard block | ||
| 47 | 47 | $method = new CopyMethod(); | 
| 48 | 48 | $target = Util::joinPaths($this->root, 'resources', 'client'); | 
| 49 | 49 | $method->exposeDirectory( | 
| 50 | - realpath(__DIR__.'/../fixtures/source/client'), | |
| 50 | + realpath(__DIR__ . '/../fixtures/source/client'), | |
| 51 | 51 | $target | 
| 52 | 52 | ); | 
| 53 | 53 | |
| @@ -69,7 +69,7 @@ discard block | ||
| 69 | 69 | $method = new SymlinkMethod(); | 
| 70 | 70 | $target = Util::joinPaths($this->root, 'resources', 'client'); | 
| 71 | 71 | $method->exposeDirectory( | 
| 72 | - realpath(__DIR__.'/../fixtures/source/client'), | |
| 72 | + realpath(__DIR__ . '/../fixtures/source/client'), | |
| 73 | 73 | $target | 
| 74 | 74 | ); | 
| 75 | 75 | |
| @@ -56,7 +56,7 @@ | ||
| 56 | 56 | // Expose | 
| 57 | 57 | $target = Util::joinPaths($this->root, 'resources', 'client'); | 
| 58 | 58 | $method->exposeDirectory( | 
| 59 | - realpath(__DIR__.'/../fixtures/source/client'), | |
| 59 | + realpath(__DIR__ . '/../fixtures/source/client'), | |
| 60 | 60 | $target | 
| 61 | 61 | ); | 
| 62 | 62 | |
| @@ -48,7 +48,7 @@ discard block | ||
| 48 | 48 | $method = new SymlinkMethod(); | 
| 49 | 49 | $target = Util::joinPaths($this->root, 'resources', 'client'); | 
| 50 | 50 | $method->exposeDirectory( | 
| 51 | - realpath(__DIR__.'/../fixtures/source/client'), | |
| 51 | + realpath(__DIR__ . '/../fixtures/source/client'), | |
| 52 | 52 | $target | 
| 53 | 53 | ); | 
| 54 | 54 | |
| @@ -71,7 +71,7 @@ discard block | ||
| 71 | 71 | $method = new CopyMethod(); | 
| 72 | 72 | $target = Util::joinPaths($this->root, 'resources', 'client'); | 
| 73 | 73 | $method->exposeDirectory( | 
| 74 | - realpath(__DIR__.'/../fixtures/source/client'), | |
| 74 | + realpath(__DIR__ . '/../fixtures/source/client'), | |
| 75 | 75 | $target | 
| 76 | 76 | ); | 
| 77 | 77 | |