Completed
Push — devel ( adbcf9...17c44c )
by Alex
03:43 queued 01:44
created
src/Transport/TransportFeature.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
         $this->enableByDefault();
22 22
         $this->registerDefault(
23
-            function (Settings $settings) {
23
+            function(Settings $settings) {
24 24
                 /** @var TransportInfrastructure $transportInfrastructure */
25 25
                 $transportInfrastructure = $settings->get(TransportInfrastructure::class);
26 26
                 $settings->setDefault(
Please login to merge, or discard this patch.
src/Transport/ReceivingFeature.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $this->enableByDefault();
21 21
         $this->dependsOn(TransportFeature::class);
22 22
         $this->registerPrerequisite(
23
-            function (Settings $settings) {
23
+            function(Settings $settings) {
24 24
                 return !$settings->tryGet(KnownSettingsEnum::SEND_ONLY);
25 25
             },
26 26
             "Endpoint is configured as send only."
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $builder->defineSingleton(QueueCreatorInterface::class, $receiveInfrastructure->getQueueCreatorFactory());
51 51
 
52 52
         $this->registerInstallTask(
53
-            function () use ($builder, $settings) {
53
+            function() use ($builder, $settings) {
54 54
                 return new QueueCreatorFeatureInstallTask($builder->build(QueueCreatorInterface::class), $settings);
55 55
             }
56 56
         );
Please login to merge, or discard this patch.
src/Transport/RabbitMq/RabbitMqMessagePusher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     {
67 67
         $this->brokerModel->consume(
68 68
             $this->pushSettings->getInputQueue(),
69
-            function (\AMQPEnvelope $envelope, \AMQPQueue $queue) {
69
+            function(\AMQPEnvelope $envelope, \AMQPQueue $queue) {
70 70
                 return $this->messageProcessor->process(
71 71
                     $envelope,
72 72
                     $queue,
Please login to merge, or discard this patch.
src/Transport/RabbitMq/Config/RabbitMqTransportInfrastructure.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     public function configureSendInfrastructure()
64 64
     {
65 65
         return new TransportSendInfrastructure(
66
-            function () {
66
+            function() {
67 67
                 return new RabbitMqMessageDispatcher(
68 68
                     $this->routingTopology, $this->brokerModel, new MessageConverter()
69 69
                 );
@@ -77,13 +77,13 @@  discard block
 block discarded – undo
77 77
     public function configureReceiveInfrastructure()
78 78
     {
79 79
         return new TransportReceiveInfrastructure(
80
-            function () {
80
+            function() {
81 81
                 return new RabbitMqMessagePusher(
82 82
                     $this->brokerModel,
83 83
                     new MessageProcessor($this->brokerModel, $this->routingTopology, new MessageConverter())
84 84
                 );
85 85
             },
86
-            function () {
86
+            function() {
87 87
                 return new RabbitMqQueueCreator(
88 88
                     $this->brokerModel,
89 89
                     $this->routingTopology,
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     public function configureSubscriptionInfrastructure()
100 100
     {
101 101
         return new TransportSubscriptionInfrastructure(
102
-            function () {
102
+            function() {
103 103
                 return new RabbitMqSubscriptionManager(
104 104
                     $this->brokerModel,
105 105
                     $this->routingTopology,
Please login to merge, or discard this patch.
src/Persistence/InMemory/InMemoryPersistenceDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     {
31 31
         $this->supports(
32 32
             StorageType::OUTBOX(),
33
-            function (Settings $s) {
33
+            function(Settings $s) {
34 34
                 FeatureSettingsExtensions::enableFeatureByDefault(
35 35
                     InMemoryOutboxPersistenceFeature::class,
36 36
                     $s
Please login to merge, or discard this patch.
src/Persistence/InMemory/Outbox/InMemoryOutboxPersistenceFeature.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         if ($outboxEnabled) {
39 39
             $builder->defineSingleton(
40 40
                 OutboxStorageInterface::class,
41
-                function () use ($builder, $settings) {
41
+                function() use ($builder, $settings) {
42 42
                     return new InMemoryOutboxStorage();
43 43
                 }
44 44
             );
Please login to merge, or discard this patch.
src/Correlation/MessageCorrelationFeature.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $pipelineModifications->registerStep(
38 38
             'AttachCorrelationIdPipelineStep',
39 39
             AttachCorrelationIdPipelineStep::class,
40
-            function () {
40
+            function() {
41 41
                 return new AttachCorrelationIdPipelineStep();
42 42
             }
43 43
         );
Please login to merge, or discard this patch.
src/Outbox/OutboxFeature.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     {
27 27
         $this->enableByDefault();
28 28
         $this->registerPrerequisite(
29
-            function (Settings $settings) {
29
+            function(Settings $settings) {
30 30
                 return !$settings->tryGet(KnownSettingsEnum::SEND_ONLY);
31 31
             },
32 32
             "Endpoint is configured as send only."
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         $pipelineModifications->registerStep(
56 56
             'OutboxConnector',
57 57
             OutboxConnector::class,
58
-            function () use ($builder) {
58
+            function() use ($builder) {
59 59
                 /** @var PipelineFactory $pipelineFactory */
60 60
                 $pipelineFactory = $builder->build(PipelineFactory::class);
61 61
                 return new OutboxConnector(
Please login to merge, or discard this patch.
src/ErrorHandling/ErrorLastResort/ErrorLastResortFeature.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     {
27 27
         $this->enableByDefault();
28 28
         $this->registerPrerequisite(
29
-            function (Settings $settings) {
29
+            function(Settings $settings) {
30 30
                 return !$settings->tryGet(KnownSettingsEnum::SEND_ONLY);
31 31
             },
32 32
             "Send only endpoints can't be used to forward received messages to the error queue as the endpoint requires receive capabilities."
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
         $builder->defineSingleton(
58 58
             ExceptionToHeadersConverter::class,
59
-            function () use ($builder) {
59
+            function() use ($builder) {
60 60
                 return new ExceptionToHeadersConverter(
61 61
                     $builder->build(ClockInterface::class),
62 62
                     $builder->build(DateTimeConverter::class)
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $registration = $pipelineModifications->registerStep(
68 68
             'MoveErrorsToErrorQueuePipelineStep',
69 69
             MoveErrorsToErrorQueuePipelineStep::class,
70
-            function () use ($errorQueue, $localAddress, $builder) {
70
+            function() use ($errorQueue, $localAddress, $builder) {
71 71
                 /** @var PipelineFactory $pipelineFactory */
72 72
                 $pipelineFactory = $builder->build(PipelineFactory::class);
73 73
                 return new MoveErrorsToErrorQueuePipelineStep(
Please login to merge, or discard this patch.