@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | $this->file = $file; |
| 91 | 91 | |
| 92 | 92 | $this->basePath = getcwd(); |
| 93 | - $this->mapFile = function (): void { }; |
|
| 93 | + $this->mapFile = function(): void { }; |
|
| 94 | 94 | $this->scoper = new NullScoper(); |
| 95 | 95 | } |
| 96 | 96 | |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | Assertion::true($this->buffering, 'Cannot add files if the buffering has not started.'); |
| 219 | 219 | |
| 220 | 220 | $files = array_map( |
| 221 | - function ($file): string { |
|
| 221 | + function($file): string { |
|
| 222 | 222 | // Convert files to string as SplFileInfo is not serializable |
| 223 | 223 | return (string) $file; |
| 224 | 224 | }, |
@@ -341,10 +341,10 @@ discard block |
||
| 341 | 341 | $mapFile = $this->mapFile; |
| 342 | 342 | $placeholders = $this->placeholders; |
| 343 | 343 | $compactors = $this->compactors; |
| 344 | - $bootstrap = $GLOBALS['_BOX_BOOTSTRAP'] ?? function (): void {}; |
|
| 344 | + $bootstrap = $GLOBALS['_BOX_BOOTSTRAP'] ?? function(): void {}; |
|
| 345 | 345 | $cwd = getcwd(); |
| 346 | 346 | |
| 347 | - $processFile = function (string $file) use ($cwd, $basePath, $mapFile, $placeholders, $compactors, $bootstrap): array { |
|
| 347 | + $processFile = function(string $file) use ($cwd, $basePath, $mapFile, $placeholders, $compactors, $bootstrap): array { |
|
| 348 | 348 | chdir($cwd); |
| 349 | 349 | $bootstrap(); |
| 350 | 350 | |
@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | { |
| 394 | 394 | return array_reduce( |
| 395 | 395 | $compactors, |
| 396 | - function (string $contents, Compactor $compactor) use ($file): string { |
|
| 396 | + function(string $contents, Compactor $compactor) use ($file): string { |
|
| 397 | 397 | return $compactor->compact($file, $contents); |
| 398 | 398 | }, |
| 399 | 399 | $contents |