Completed
Push — devel ( adbcf9...17c44c )
by Alex
03:43 queued 01:44
created
src/Routing/AutoSubscription/AutoSubscribeFeature.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     {
17 17
         $this->enableByDefault();
18 18
         $this->registerPrerequisite(
19
-            function (Settings $settings) {
19
+            function(Settings $settings) {
20 20
                 return !$settings->tryGet(KnownSettingsEnum::SEND_ONLY);
21 21
             },
22 22
             "Send only endpoints can't autosubscribe."
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function setup(Settings $settings, BuilderInterface $builder, PipelineModifications $pipelineModifications)
32 32
     {
33 33
         $this->registerStartupTask(
34
-            function (BuilderInterface $builder) {
34
+            function(BuilderInterface $builder) {
35 35
                 /** @var MessageHandlerRegistry $handlerRegistry */
36 36
                 $handlerRegistry = $builder->build(MessageHandlerRegistry::class);
37 37
                 return new SubscriptionApplierStartupTask($handlerRegistry->getEventFqcns());
Please login to merge, or discard this patch.
src/Routing/RoutingFeature.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
         $builder->defineSingleton(
49 49
             UnicastRouterInterface::class,
50
-            function () use ($localAddress, $builder, $settings) {
50
+            function() use ($localAddress, $builder, $settings) {
51 51
                 return new UnicastRouter(
52 52
                     $localAddress,
53 53
                     $builder->build(UnicastRoutingTable::class),
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $pipelineModifications->registerStep(
60 60
             'UnicastSendRoutingConnector',
61 61
             UnicastSendRoutingConnector::class,
62
-            function () use ($builder) {
62
+            function() use ($builder) {
63 63
                 return new UnicastSendRoutingConnector(
64 64
                     $builder->build(UnicastRouterInterface::class),
65 65
                     $builder->build(OutgoingContextFactory::class)
@@ -69,14 +69,14 @@  discard block
 block discarded – undo
69 69
         $pipelineModifications->registerStep(
70 70
             'UnicastReplyRoutingConnector',
71 71
             UnicastReplyRoutingConnector::class,
72
-            function () use ($builder) {
72
+            function() use ($builder) {
73 73
                 return new UnicastReplyRoutingConnector($builder->build(OutgoingContextFactory::class));
74 74
             }
75 75
         );
76 76
         $pipelineModifications->registerStep(
77 77
             'MulticastPublishRoutingConnector',
78 78
             MulticastPublishRoutingConnector::class,
79
-            function () use ($builder) {
79
+            function() use ($builder) {
80 80
                 return new MulticastPublishRoutingConnector($builder->build(OutgoingContextFactory::class));
81 81
             }
82 82
         );
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             $pipelineModifications->registerStep(
87 87
                 'AttachReplyToAddressPipelineStep',
88 88
                 AttachReplyToAddressPipelineStep::class,
89
-                function () use ($localAddress) {
89
+                function() use ($localAddress) {
90 90
                     return new AttachReplyToAddressPipelineStep($localAddress);
91 91
                 }
92 92
             );
@@ -102,14 +102,14 @@  discard block
 block discarded – undo
102 102
             $pipelineModifications->registerStep(
103 103
                 'SubscribeTerminator',
104 104
                 SubscribeTerminator::class,
105
-                function () use ($builder) {
105
+                function() use ($builder) {
106 106
                     return new SubscribeTerminator($builder->build(SubscriptionManagerInterface::class));
107 107
                 }
108 108
             );
109 109
             $pipelineModifications->registerStep(
110 110
                 'UnsubscribeTerminator',
111 111
                 UnsubscribeTerminator::class,
112
-                function () use ($builder) {
112
+                function() use ($builder) {
113 113
                     return new UnsubscribeTerminator($builder->build(SubscriptionManagerInterface::class));
114 114
                 }
115 115
             );
Please login to merge, or discard this patch.
src/Pipeline/IncomingPipelineFeature.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $pipelineModifications->registerStep(
40 40
             'LoadHandlersConnector',
41 41
             LoadHandlersConnector::class,
42
-            function () use ($builder) {
42
+            function() use ($builder) {
43 43
                 return new LoadHandlersConnector(
44 44
                     $builder->build(MessageHandlerRegistry::class),
45 45
                     $builder->build(IncomingContextFactory::class)
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $pipelineModifications->registerStep(
50 50
             'InvokeHandlerTerminator',
51 51
             InvokeHandlerTerminator::class,
52
-            function () use ($builder) {
52
+            function() use ($builder) {
53 53
                 return new InvokeHandlerTerminator();
54 54
             }
55 55
         );
Please login to merge, or discard this patch.
src/Pipeline/Pipeline.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,14 +40,14 @@
 block discarded – undo
40 40
         if ($step instanceof StageConnectorInterface) {
41 41
             $step->invoke(
42 42
                 $context,
43
-                function ($newContext) use ($currentIndex) {
43
+                function($newContext) use ($currentIndex) {
44 44
                     $this->invokeNext($newContext, $currentIndex + 1);
45 45
                 }
46 46
             );
47 47
         } else {
48 48
             $step->invoke(
49 49
                 $context,
50
-                function () use ($context, $currentIndex) {
50
+                function() use ($context, $currentIndex) {
51 51
                     $this->invokeNext($context, $currentIndex + 1);
52 52
                 }
53 53
             );
Please login to merge, or discard this patch.
src/Pipeline/OutgoingPipelineFeature.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $pipelineModifications->registerStep(
44 44
             'OutgoingPhysicalToDispatchConnector',
45 45
             OutgoingPhysicalToDispatchConnector::class,
46
-            function () use ($builder) {
46
+            function() use ($builder) {
47 47
                 return new OutgoingPhysicalToDispatchConnector(
48 48
                     $builder->build(OutgoingContextFactory::class),
49 49
                     $builder->build(DateTimeConverter::class),
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $pipelineModifications->registerStep(
55 55
             'ImmediateDispatchTerminator',
56 56
             ImmediateDispatchTerminator::class,
57
-            function () use ($builder) {
57
+            function() use ($builder) {
58 58
                 return new ImmediateDispatchTerminator($builder->build(MessageDispatcherInterface::class));
59 59
             }
60 60
         );
Please login to merge, or discard this patch.
src/Serialization/SerializationFeature.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         $builder->defineSingleton(MessageSerializerInterface::class, $serializerFactory);
43 43
         $builder->defineSingleton(
44 44
             MessageDeserializerResolver::class,
45
-            function () use ($builder) {
45
+            function() use ($builder) {
46 46
                 $serializer = $builder->build(MessageSerializerInterface::class);
47 47
                 return new MessageDeserializerResolver([$serializer], get_class($serializer));
48 48
             }
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         $pipelineModifications->registerStep(
53 53
             'DeserializeLogicalMessageConnector',
54 54
             DeserializeLogicalMessageConnector::class,
55
-            function () use ($builder) {
55
+            function() use ($builder) {
56 56
                 return new DeserializeLogicalMessageConnector(
57 57
                     $builder->build(MessageDeserializerResolver::class),
58 58
                     $builder->build(IncomingLogicalMessageFactory::class),
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $pipelineModifications->registerStep(
64 64
             'SerializeMessageConnector',
65 65
             SerializeMessageConnector::class,
66
-            function () use ($builder) {
66
+            function() use ($builder) {
67 67
                 return new SerializeMessageConnector(
68 68
                     $builder->build(MessageSerializerInterface::class),
69 69
                     $builder->build(OutgoingContextFactory::class)
Please login to merge, or discard this patch.
src/MessageMutation/IncomingMessageMutationFeature.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         $pipelineModifications->registerStep(
38 38
             'IncomingLogicalMessageMutation',
39 39
             IncomingLogicalMessageMutationPipelineStep::class,
40
-            function () use ($builder) {
40
+            function() use ($builder) {
41 41
                 return new IncomingLogicalMessageMutationPipelineStep(
42 42
                     $builder->build(MessageMutatorRegistry::class),
43 43
                     $builder->build(IncomingLogicalMessageFactory::class)
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $pipelineModifications->registerStep(
49 49
             'IncomingPhysicalMessageMutation',
50 50
             IncomingPhysicalMessageMutationPipelineStep::class,
51
-            function () use ($builder) {
51
+            function() use ($builder) {
52 52
                 return new IncomingPhysicalMessageMutationPipelineStep($builder->build(MessageMutatorRegistry::class));
53 53
             }
54 54
         );
Please login to merge, or discard this patch.
src/MessageMutation/OutgoingMessageMutationFeature.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $pipelineModifications->registerStep(
37 37
             'OutgoingLogicalMessageMutation',
38 38
             OutgoingLogicalMessageMutationPipelineStep::class,
39
-            function () use ($builder) {
39
+            function() use ($builder) {
40 40
                 return new OutgoingLogicalMessageMutationPipelineStep($builder->build(MessageMutatorRegistry::class));
41 41
             }
42 42
         );
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $pipelineModifications->registerStep(
45 45
             'OutgoingPhysicalMessageMutation',
46 46
             OutgoingPhysicalMessageMutationPipelineStep::class,
47
-            function () use ($builder) {
47
+            function() use ($builder) {
48 48
                 return new OutgoingPhysicalMessageMutationPipelineStep($builder->build(MessageMutatorRegistry::class));
49 49
             }
50 50
         );
Please login to merge, or discard this patch.
src/ObjectBuilder/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 
219 219
         $factory = $this->values[$id];
220 220
 
221
-        $extended = function ($c) use ($callable, $factory) {
221
+        $extended = function($c) use ($callable, $factory) {
222 222
             return $callable($factory($c), $c);
223 223
         };
224 224
 
Please login to merge, or discard this patch.