Completed
Push — master ( 0ced52...d99b90 )
by Markus
03:30
created
lock-symfony/src/Jellyfish/LockSymfony/LockSymfonyServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     {
29 29
         $self = $this;
30 30
 
31
-        $container->offsetSet('lock_factory', function (Container $container) use ($self) {
31
+        $container->offsetSet('lock_factory', function(Container $container) use ($self) {
32 32
             return new LockFactory($self->createSymfonyLockFactory($container));
33 33
         });
34 34
 
Please login to merge, or discard this patch.
packages/scheduler/src/Jellyfish/Scheduler/SchedulerServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
     {
19 19
         $self = $this;
20 20
 
21
-        $pimple->offsetSet('scheduler', function () use ($self) {
21
+        $pimple->offsetSet('scheduler', function() use ($self) {
22 22
             return $self->createScheduler();
23 23
         });
24 24
 
25
-        $pimple->extend('commands', function (array $commands, Container $container) use ($self) {
25
+        $pimple->extend('commands', function(array $commands, Container $container) use ($self) {
26 26
             $commands[] = $self->createRunSchedulerCommand(
27 27
                 $container->offsetGet('scheduler'),
28 28
                 $container->offsetGet('lock_factory')
Please login to merge, or discard this patch.
src/Jellyfish/ProcessSymfony/ProcessSymfonyServiceProvider.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 createProcessFactory(Container $container): ServiceProviderInterface
26 26
     {
27
-        $container->offsetSet('process_factory', function () {
27
+        $container->offsetSet('process_factory', function() {
28 28
             return new ProcessFactory();
29 29
         });
30 30
 
Please login to merge, or discard this patch.
packages/redis/src/Jellyfish/Redis/RedisServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         $config = $container->offsetGet('config');
29 29
 
30
-        $container->offsetSet('redis_client', function () use ($config) {
30
+        $container->offsetSet('redis_client', function() use ($config) {
31 31
             return new Client([
32 32
                 'scheme' => 'tcp',
33 33
                 'host' => $config->get(RedisConstants::REDIS_HOST, RedisConstants::DEFAULT_REDIS_HOST),
Please login to merge, or discard this patch.
packages/event/src/Jellyfish/Event/EventServiceProvider.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected function createEventFactory(Container $container): ServiceProviderInterface
35 35
     {
36
-        $container->offsetSet('event_factory', function () {
36
+        $container->offsetSet('event_factory', function() {
37 37
             return new EventFactory();
38 38
         });
39 39
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     protected function createEventQueueNameGenerator(Container $container): ServiceProviderInterface
49 49
     {
50
-        $container->offsetSet('event_queue_name_generator', function () {
50
+        $container->offsetSet('event_queue_name_generator', function() {
51 51
             return new EventQueueNameGenerator();
52 52
         });
53 53
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     protected function createEventMapper(Container $container): ServiceProviderInterface
63 63
     {
64
-        $container->offsetSet('event_mapper', function (Container $container) {
64
+        $container->offsetSet('event_mapper', function(Container $container) {
65 65
             return new EventMapper(
66 66
                 $container->offsetGet('event_factory'),
67 67
                 $container->offsetGet('message_factory'),
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     protected function createEventQueueProducer(Container $container): ServiceProviderInterface
81 81
     {
82
-        $container->offsetSet('event_queue_producer', function (Container $container) {
82
+        $container->offsetSet('event_queue_producer', function(Container $container) {
83 83
             return new EventQueueProducer(
84 84
                 $container->offsetGet('event_mapper'),
85 85
                 $container->offsetGet('event_queue_name_generator'),
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     protected function createEventQueueConsumer(Container $container): ServiceProviderInterface
99 99
     {
100
-        $container->offsetSet('event_queue_consumer', function (Container $container) {
100
+        $container->offsetSet('event_queue_consumer', function(Container $container) {
101 101
             return new EventQueueConsumer(
102 102
                 $container->offsetGet('process_factory'),
103 103
                 $container->offsetGet('event_mapper'),
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     protected function createEventDispatcher(Container $container): ServiceProviderInterface
120 120
     {
121
-        $container->offsetSet('event_dispatcher', function (Container $container) {
121
+        $container->offsetSet('event_dispatcher', function(Container $container) {
122 122
             return new EventDispatcher(
123 123
                 $container->offsetGet('event_queue_producer')
124 124
             );
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      */
135 135
     protected function createEventQueueWorker(Container $container): ServiceProviderInterface
136 136
     {
137
-        $container->offsetSet('event_queue_worker', function (Container $container) {
137
+        $container->offsetSet('event_queue_worker', function(Container $container) {
138 138
             return new EventQueueWorker(
139 139
                 $container->offsetGet('event_dispatcher'),
140 140
                 $container->offsetGet('event_queue_consumer')
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      */
152 152
     protected function createCommands(Container $container): ServiceProviderInterface
153 153
     {
154
-        $container->extend('commands', function (array $commands, Container $container) {
154
+        $container->extend('commands', function(array $commands, Container $container) {
155 155
             $commands[] = new EventQueueConsumeCommand(
156 156
                 $container->offsetGet('event_dispatcher'),
157 157
                 $container->offsetGet('event_queue_consumer'),
Please login to merge, or discard this patch.