Completed
Push — master ( 2ef464...a5d107 )
by Daniel
18s queued 11s
created
src/Jellyfish/JsonSchemaOpis/JsonSchemaOpisServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
finder-symfony/src/Jellyfish/FinderSymfony/FinderSymfonyServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
packages/event/src/Jellyfish/Event/Command/EventQueueConsumeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
packages/event-log/src/Jellyfish/EventLog/EventLogServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
         $container->extend(
35 35
             EventServiceProvider::CONTAINER_KEY_DEFAULT_EVENT_ERROR_HANDLERS,
36
-            static function (array $defaultEventErrorHandlers, Container $container) {
36
+            static function(array $defaultEventErrorHandlers, Container $container) {
37 37
                 $logger = $container->offsetGet(LogServiceProvider::CONTAINER_KEY_LOGGER);
38 38
 
39 39
                 $defaultEventErrorHandlers[] = new LogEventErrorHandler($logger);
Please login to merge, or discard this patch.
packages/event/src/Jellyfish/Event/EventQueueWorker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         while (true) {
46 46
             foreach ($listeners as $eventName => $listenersPerEvent) {
47 47
                 foreach ($listenersPerEvent as $listenerIdentifier => $listener) {
48
-                    $this->eventQueueConsumer->dequeueAsProcess((string)$eventName, $listenerIdentifier);
48
+                    $this->eventQueueConsumer->dequeueAsProcess((string) $eventName, $listenerIdentifier);
49 49
                     usleep(static::DELAY_INTERVAL);
50 50
                 }
51 51
             }
Please login to merge, or discard this patch.
packages/event/src/Jellyfish/Event/EventServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      */
145 145
     protected function registerEventFactory(Container $container): EventServiceProvider
146 146
     {
147
-        $container->offsetSet(static::CONTAINER_KEY_EVENT_FACTORY, static function () {
147
+        $container->offsetSet(static::CONTAINER_KEY_EVENT_FACTORY, static function() {
148 148
             return new EventFactory();
149 149
         });
150 150
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
         $container->offsetSet(
164 164
             static::CONTAINER_KEY_EVENT_DISPATCHER,
165
-            static function (Container $container) use ($self) {
165
+            static function(Container $container) use ($self) {
166 166
                 return new EventDispatcher(
167 167
                     new EventListenerProvider(),
168 168
                     $self->createEventQueueProducer($container)
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     {
183 183
         $self = $this;
184 184
 
185
-        $container->extend('commands', static function (array $commands, Container $container) use ($self) {
185
+        $container->extend('commands', static function(array $commands, Container $container) use ($self) {
186 186
             $commands[] = new EventQueueConsumeCommand(
187 187
                 $container->offsetGet('event_dispatcher')->getEventListenerProvider(),
188 188
                 $self->createEventQueueConsumer($container),
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      */
208 208
     protected function registerDefaultEventErrorHandlers(Container $container): EventServiceProvider
209 209
     {
210
-        $container->offsetSet(static::CONTAINER_KEY_DEFAULT_EVENT_ERROR_HANDLERS, static function () {
210
+        $container->offsetSet(static::CONTAINER_KEY_DEFAULT_EVENT_ERROR_HANDLERS, static function() {
211 211
             return [];
212 212
         });
213 213
 
Please login to merge, or discard this patch.
packages/log/src/Jellyfish/Log/LogServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         $self = $this;
36 36
 
37
-        $container->offsetSet(static::CONTAINER_KEY_LOGGER, static function (Container $container) use ($self) {
37
+        $container->offsetSet(static::CONTAINER_KEY_LOGGER, static function(Container $container) use ($self) {
38 38
             $logger = new Logger('jellyfish');
39 39
 
40 40
             $logger->pushHandler($self->createStreamHandler($container));
Please login to merge, or discard this patch.
packages/config/src/Jellyfish/Config/ConfigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         $self = $this;
22 22
 
23
-        $pimple->offsetSet(static::CONTAINER_KEY_CONFIG, static function (Container $container) use ($self) {
23
+        $pimple->offsetSet(static::CONTAINER_KEY_CONFIG, static function(Container $container) use ($self) {
24 24
             return $self->createConfig($container);
25 25
         });
26 26
     }
Please login to merge, or discard this patch.
src/Jellyfish/QueueRabbitMq/QueueRabbitMqServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
         $container->offsetSet(
42 42
             static::CONTAINER_KEY_CONNECTION,
43
-            static function (Container $container) use ($self) {
43
+            static function(Container $container) use ($self) {
44 44
                 $lazyConnection = $self->createAmqpLazyConnection($container);
45 45
 
46 46
                 return new Connection($lazyConnection);
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     protected function registerAmqpMessageFactory(Container $container): QueueRabbitMqServiceProvider
59 59
     {
60
-        $container->offsetSet(static::CONTAINER_KEY_AMQP_MESSAGE_FACTORY, static function () {
60
+        $container->offsetSet(static::CONTAINER_KEY_AMQP_MESSAGE_FACTORY, static function() {
61 61
             return new AmqpMessageFactory();
62 62
         });
63 63
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
         $container->offsetSet(
77 77
             QueueServiceProvider::CONTAINER_KEY_QUEUE_CLIENT,
78
-            static function (Container $container) use ($self) {
78
+            static function(Container $container) use ($self) {
79 79
                 return new QueueClient(
80 80
                     $self->createConsumers($container),
81 81
                     $self->createProducers($container)
Please login to merge, or discard this patch.