@@ -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); |
@@ -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 |
@@ -97,7 +97,7 @@ |
||
97 | 97 | try { |
98 | 98 | $result = $this->executeLockablePart($eventName, $listenerIdentifier); |
99 | 99 | } catch (Throwable $e) { |
100 | - $this->logger->error((string)$e); |
|
100 | + $this->logger->error((string) $e); |
|
101 | 101 | } finally { |
102 | 102 | $this->release(); |
103 | 103 | } |