@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the humbug/php-scoper package. |
@@ -59,9 +59,9 @@ discard block |
||
59 | 59 | if (0 === $count) { |
60 | 60 | throw new RuntimeException( |
61 | 61 | sprintf( |
62 | - 'The following string replacement could not be applied:' . PHP_EOL |
|
63 | - . 'File: %s' . PHP_EOL |
|
64 | - . 'Pattern: %s' . PHP_EOL |
|
62 | + 'The following string replacement could not be applied:'.PHP_EOL |
|
63 | + . 'File: %s'.PHP_EOL |
|
64 | + . 'Pattern: %s'.PHP_EOL |
|
65 | 65 | . 'Replacement: %s', |
66 | 66 | $filePath, |
67 | 67 | $replacement['pattern'], |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the humbug/php-scoper package. |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | $fileSystem = $this->fileSystem; |
174 | 174 | |
175 | 175 | $paths = array_map( |
176 | - function (string $path) use ($cwd, $fileSystem) { |
|
176 | + function(string $path) use ($cwd, $fileSystem) { |
|
177 | 177 | if (false === $fileSystem->isAbsolutePath($path)) { |
178 | 178 | return $cwd.DIRECTORY_SEPARATOR.$path; |
179 | 179 | } |
@@ -292,9 +292,9 @@ discard block |
||
292 | 292 | } |
293 | 293 | |
294 | 294 | $map = array_map( |
295 | - function (array $replacement) use ($cwd, $fileSystem) { |
|
295 | + function(array $replacement) use ($cwd, $fileSystem) { |
|
296 | 296 | $replacement['files'] = array_map( |
297 | - function (string $path) use ($cwd, $fileSystem) { |
|
297 | + function(string $path) use ($cwd, $fileSystem) { |
|
298 | 298 | if (false === $fileSystem->isAbsolutePath($path)) { |
299 | 299 | return $cwd.DIRECTORY_SEPARATOR.$path; |
300 | 300 | } |