@@ -69,7 +69,7 @@  | 
                                                    ||
| 69 | 69 | 'root_dir' => $this->rootDir,  | 
                                                        
| 70 | 70 | 'app_dir' => $this->appDir,  | 
                                                        
| 71 | 71 | 'environment' => $this->environment,  | 
                                                        
| 72 | -            'commands' => function () { | 
                                                        |
| 72 | +            'commands' => function() { | 
                                                        |
| 73 | 73 | return [];  | 
                                                        
| 74 | 74 | }  | 
                                                        
| 75 | 75 | ]);  | 
                                                        
@@ -29,7 +29,7 @@  | 
                                                    ||
| 29 | 29 |      { | 
                                                        
| 30 | 30 | $self = $this;  | 
                                                        
| 31 | 31 | |
| 32 | -        $container->offsetSet('lock_factory', function (Container $container) use ($self) { | 
                                                        |
| 32 | +        $container->offsetSet('lock_factory', function(Container $container) use ($self) { | 
                                                        |
| 33 | 33 | return new LockFactory(  | 
                                                        
| 34 | 34 | $self->createSymfonyLockFactory($container),  | 
                                                        
| 35 | 35 | $self->createLockIdentifierGenerator()  | 
                                                        
@@ -25,7 +25,7 @@  | 
                                                    ||
| 25 | 25 | */  | 
                                                        
| 26 | 26 | protected function registerFilesystem(Container $container): FilesystemSymfonyServiceProvider  | 
                                                        
| 27 | 27 |      { | 
                                                        
| 28 | -        $container->offsetSet('filesystem', function () { | 
                                                        |
| 28 | +        $container->offsetSet('filesystem', function() { | 
                                                        |
| 29 | 29 | $symfonyFilesystem = new SymfonyFilesystem();  | 
                                                        
| 30 | 30 | |
| 31 | 31 | return new Filesystem($symfonyFilesystem);  | 
                                                        
@@ -37,7 +37,7 @@ discard block  | 
                                                    ||
| 37 | 37 | */  | 
                                                        
| 38 | 38 | protected function registerRequest(Container $container): HttpServiceProvider  | 
                                                        
| 39 | 39 |      { | 
                                                        
| 40 | -        $container->offsetSet('request', function () { | 
                                                        |
| 40 | +        $container->offsetSet('request', function() { | 
                                                        |
| 41 | 41 | return ServerRequestFactory::fromGlobals();  | 
                                                        
| 42 | 42 | });  | 
                                                        
| 43 | 43 | |
@@ -53,7 +53,7 @@ discard block  | 
                                                    ||
| 53 | 53 |      { | 
                                                        
| 54 | 54 | $self = $this;  | 
                                                        
| 55 | 55 | |
| 56 | -        $container->offsetSet('router', function () use ($self) { | 
                                                        |
| 56 | +        $container->offsetSet('router', function() use ($self) { | 
                                                        |
| 57 | 57 | $router = new Router();  | 
                                                        
| 58 | 58 | |
| 59 | 59 | $router->setStrategy($self->createStrategy());  | 
                                                        
@@ -71,7 +71,7 @@ discard block  | 
                                                    ||
| 71 | 71 | */  | 
                                                        
| 72 | 72 | protected function registerEmitter(Container $container): HttpServiceProvider  | 
                                                        
| 73 | 73 |      { | 
                                                        
| 74 | -        $container->offsetSet('emitter', function () { | 
                                                        |
| 74 | +        $container->offsetSet('emitter', function() { | 
                                                        |
| 75 | 75 | return new SapiStreamEmitter();  | 
                                                        
| 76 | 76 | });  | 
                                                        
| 77 | 77 | |
@@ -26,7 +26,7 @@ discard block  | 
                                                    ||
| 26 | 26 | */  | 
                                                        
| 27 | 27 | protected function registerFeedReaderManager(Container $container): FeedServiceProvider  | 
                                                        
| 28 | 28 |      { | 
                                                        
| 29 | -        $container->offsetSet('feed_reader_manager', function () { | 
                                                        |
| 29 | +        $container->offsetSet('feed_reader_manager', function() { | 
                                                        |
| 30 | 30 | return new FeedReaderManager();  | 
                                                        
| 31 | 31 | });  | 
                                                        
| 32 | 32 | |
@@ -40,7 +40,7 @@ discard block  | 
                                                    ||
| 40 | 40 | */  | 
                                                        
| 41 | 41 | protected function registerCommands(Container $container): FeedServiceProvider  | 
                                                        
| 42 | 42 |      { | 
                                                        
| 43 | -        $container->extend('commands', function (array $commands, Container $container) { | 
                                                        |
| 43 | +        $container->extend('commands', function(array $commands, Container $container) { | 
                                                        |
| 44 | 44 |              $commands[] = new RunFeedReaderCommand($container->offsetGet('feed_reader_manager')); | 
                                                        
| 45 | 45 | |
| 46 | 46 | return $commands;  | 
                                                        
@@ -24,7 +24,7 @@  | 
                                                    ||
| 24 | 24 | */  | 
                                                        
| 25 | 25 | protected function registerProcessFactory(Container $container): ProcessSymfonyServiceProvider  | 
                                                        
| 26 | 26 |      { | 
                                                        
| 27 | -        $container->offsetSet('process_factory', function () { | 
                                                        |
| 27 | +        $container->offsetSet('process_factory', function() { | 
                                                        |
| 28 | 28 | return new ProcessFactory();  | 
                                                        
| 29 | 29 | });  | 
                                                        
| 30 | 30 | |
@@ -48,7 +48,7 @@ discard block  | 
                                                    ||
| 48 | 48 |      { | 
                                                        
| 49 | 49 | $self = $this;  | 
                                                        
| 50 | 50 | |
| 51 | -        $container->extend('commands', function (array $commands, Container $container) use ($self) { | 
                                                        |
| 51 | +        $container->extend('commands', function(array $commands, Container $container) use ($self) { | 
                                                        |
| 52 | 52 | $commands[] = new TransferGenerateCommand(  | 
                                                        
| 53 | 53 | $self->createTransferGenerator($container),  | 
                                                        
| 54 | 54 | $self->createTransferCleaner($container),  | 
                                                        
@@ -213,7 +213,7 @@ discard block  | 
                                                    ||
| 213 | 213 | }  | 
                                                        
| 214 | 214 | |
| 215 | 215 |          foreach ($factoryRegistry as $factoryId => $factory) { | 
                                                        
| 216 | -            $container->offsetSet((string)$factoryId, function () use ($factory) { | 
                                                        |
| 216 | +            $container->offsetSet((string) $factoryId, function() use ($factory) { | 
                                                        |
| 217 | 217 | return $factory;  | 
                                                        
| 218 | 218 | });  | 
                                                        
| 219 | 219 | }  | 
                                                        
@@ -24,7 +24,7 @@  | 
                                                    ||
| 24 | 24 | */  | 
                                                        
| 25 | 25 | protected function registerValidatorFactory(Container $container): JsonSchemaOpisServiceProvider  | 
                                                        
| 26 | 26 |      { | 
                                                        
| 27 | -        $container->offsetSet('json_schema_validator_factory', function () { | 
                                                        |
| 27 | +        $container->offsetSet('json_schema_validator_factory', function() { | 
                                                        |
| 28 | 28 | return new ValidatorFactory();  | 
                                                        
| 29 | 29 | });  | 
                                                        
| 30 | 30 | |
@@ -24,7 +24,7 @@  | 
                                                    ||
| 24 | 24 | */  | 
                                                        
| 25 | 25 | protected function registerFinderFactory(Container $container): FinderSymfonyServiceProvider  | 
                                                        
| 26 | 26 |      { | 
                                                        
| 27 | -        $container->offsetSet('finder_factory', function () { | 
                                                        |
| 27 | +        $container->offsetSet('finder_factory', function() { | 
                                                        |
| 28 | 28 | return new FinderFactory();  | 
                                                        
| 29 | 29 | });  | 
                                                        
| 30 | 30 | |