@@ -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 box project. |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | return [ |
| 18 | 18 | 'patchers' => [ |
| 19 | - function (string $filePath, string $prefix, string $contents): string { |
|
| 19 | + function(string $filePath, string $prefix, string $contents): string { |
|
| 20 | 20 | $file = 'vendor/beberlei/assert/lib/Assert/Assertion.php'; |
| 21 | 21 | |
| 22 | 22 | if ($filePath !== $file) { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | $contents |
| 33 | 33 | ); |
| 34 | 34 | }, |
| 35 | - function (string $filePath, string $prefix, string $contents): string { |
|
| 35 | + function(string $filePath, string $prefix, string $contents): string { |
|
| 36 | 36 | $files = [ |
| 37 | 37 | 'src/functions.php', |
| 38 | 38 | 'src/Configuration.php', |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | $contents |
| 61 | 61 | ); |
| 62 | 62 | }, |
| 63 | - function (string $filePath, string $prefix, string $contents): string { |
|
| 63 | + function(string $filePath, string $prefix, string $contents): string { |
|
| 64 | 64 | if ('vendor/composer/composer/src/Composer/Autoload/AutoloadGenerator.php' !== $filePath) { |
| 65 | 65 | return $contents; |
| 66 | 66 | } |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | $contents |
| 75 | 75 | ); |
| 76 | 76 | }, |
| 77 | - function (string $filePath, string $prefix, string $contents) use ($classLoaderContents): string { |
|
| 77 | + function(string $filePath, string $prefix, string $contents) use ($classLoaderContents): string { |
|
| 78 | 78 | return 'vendor/composer/composer/src/Composer/Autoload/ClassLoader.php' === $filePath ? $classLoaderContents : $contents; |
| 79 | 79 | }, |
| 80 | 80 | ], |