Passed
Push — master ( dbf047...1b561f )
by Daniel
02:26
created
src/Jellyfish/SerializerSymfony/SerializerSymfonyServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
         $container->offsetSet(
41 41
             SerializerConstants::CONTAINER_KEY_SERIALIZER,
42
-            static function (Container $container) use ($self) {
42
+            static function(Container $container) use ($self) {
43 43
                 return new Serializer(
44 44
                     $self->createSymfonySerializer($container)
45 45
                 );
Please login to merge, or discard this patch.
cache-symfony/src/Jellyfish/CacheSymfony/CacheSymfonyServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     {
32 32
         $self = $this;
33 33
 
34
-        $container->offsetSet(CacheConstants::CONTAINER_KEY_CACHE, static function (Container $container) use ($self) {
34
+        $container->offsetSet(CacheConstants::CONTAINER_KEY_CACHE, static function(Container $container) use ($self) {
35 35
             return new Cache($self->createRedisAdapter($container));
36 36
         });
37 37
 
Please login to merge, or discard this patch.
packages/queue/src/Jellyfish/Queue/QueueServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     protected function registerMessageFactory(Container $container): QueueServiceProvider
30 30
     {
31
-        $container->offsetSet(QueueConstants::CONTAINER_KEY_MESSAGE_FACTORY, static function () {
31
+        $container->offsetSet(QueueConstants::CONTAINER_KEY_MESSAGE_FACTORY, static function() {
32 32
             return new MessageFactory();
33 33
         });
34 34
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function registerMessageMapper(Container $container): QueueServiceProvider
44 44
     {
45
-        $container->offsetSet(QueueConstants::CONTAINER_KEY_MESSAGE_MAPPER, static function (Container $container) {
45
+        $container->offsetSet(QueueConstants::CONTAINER_KEY_MESSAGE_MAPPER, static function(Container $container) {
46 46
             return new MessageMapper(
47 47
                 $container->offsetGet('serializer')
48 48
             );
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     protected function registerDestinationFactory(Container $container): QueueServiceProvider
55 55
     {
56
-        $container->offsetSet(QueueConstants::CONTAINER_KEY_DESTINATION_FACTORY, static function () {
56
+        $container->offsetSet(QueueConstants::CONTAINER_KEY_DESTINATION_FACTORY, static function() {
57 57
             return new DestinationFactory();
58 58
         });
59 59
 
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
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         $container->offsetSet(
40 40
             QueueRabbitMqConstants::CONTAINER_KEY_CONNECTION,
41
-            static function (Container $container) use ($self) {
41
+            static function(Container $container) use ($self) {
42 42
                 $lazyConnection = $self->createAmqpLazyConnection($container);
43 43
 
44 44
                 return new Connection($lazyConnection);
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     protected function registerAmqpMessageFactory(Container $container): QueueRabbitMqServiceProvider
57 57
     {
58
-        $container->offsetSet(QueueRabbitMqConstants::CONTAINER_KEY_AMQP_MESSAGE_FACTORY, static function () {
58
+        $container->offsetSet(QueueRabbitMqConstants::CONTAINER_KEY_AMQP_MESSAGE_FACTORY, static function() {
59 59
             return new AmqpMessageFactory();
60 60
         });
61 61
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
         $container->offsetSet(
75 75
             QueueConstants::CONTAINER_KEY_QUEUE_CLIENT,
76
-            static function (Container $container) use ($self) {
76
+            static function(Container $container) use ($self) {
77 77
                 return new QueueClient(
78 78
                     $self->createConsumers($container),
79 79
                     $self->createProducers($container)
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
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         $self = $this;
34 34
 
35
-        $container->offsetSet(LogConstants::CONTAINER_KEY_LOGGER, static function (Container $container) use ($self) {
35
+        $container->offsetSet(LogConstants::CONTAINER_KEY_LOGGER, static function(Container $container) use ($self) {
36 36
             $logger = new Logger('jellyfish');
37 37
 
38 38
             $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
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     {
19 19
         $self = $this;
20 20
 
21
-        $pimple->offsetSet(ConfigConstants::CONTAINER_KEY_CONFIG, static function (Container $container) use ($self) {
21
+        $pimple->offsetSet(ConfigConstants::CONTAINER_KEY_CONFIG, static function(Container $container) use ($self) {
22 22
             return $self->createConfig($container);
23 23
         });
24 24
     }
Please login to merge, or discard this patch.
packages/serializer/src/Jellyfish/Serializer/SerializerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         $container->offsetSet(
31 31
             SerializerConstants::CONTAINER_KEY_PROPERTY_NAME_CONVERTER_STRATEGY_PROVIDER,
32
-            static function () {
32
+            static function() {
33 33
                 return new PropertyNameConverterStrategyProvider();
34 34
             }
35 35
         );
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
             EventConstants::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(LogConstants::CONTAINER_KEY_LOGGER);
38 38
 
39 39
                 $defaultEventErrorHandlers[] = new LogEventErrorHandler($logger);
Please login to merge, or discard this patch.
packages/event-cache/src/Jellyfish/EventCache/EventCacheServiceProvider.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
         $container->extend(
36 36
             EventConstants::CONTAINER_KEY_DEFAULT_EVENT_ERROR_HANDLERS,
37
-            static function (array $defaultEventErrorHandlers, Container $container) {
37
+            static function(array $defaultEventErrorHandlers, Container $container) {
38 38
                 $defaultEventErrorHandlers[] = new CacheEventErrorHandler(
39 39
                     $container->offsetGet(CacheConstants::CONTAINER_KEY_CACHE),
40 40
                     $container->offsetGet(SerializerConstants::CONTAINER_KEY_SERIALIZER)
Please login to merge, or discard this patch.