Passed
Branch master (053207)
by frey
03:43
created
src/Queue/Driver/Subscription.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             foreach ($subscription_meta->bindindKey as $tag) {
47 47
                 $key          = 'bindindKey.' . $n;
48 48
                 $params[$key] = $tag;
49
-                $n            += 1;
49
+                $n += 1;
50 50
             }
51 51
         }
52 52
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             foreach ($subscription_meta->FilterTag as $tag) {
56 56
                 $key          = 'filterTag.' . $n;
57 57
                 $params[$key] = $tag;
58
-                $n            += 1;
58
+                $n += 1;
59 59
             }
60 60
         }
61 61
         $this->cmq_client->create_subscription($params);
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             foreach ($subscription_meta->bindindKey as $tag) {
172 172
                 $key          = 'bindindKey.' . $n;
173 173
                 $params[$key] = $tag;
174
-                $n            += 1;
174
+                $n += 1;
175 175
             }
176 176
         }
177 177
 
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
             foreach ($subscription_meta->FilterTag as $tag) {
181 181
                 $key          = 'filterTag.' . $n;
182 182
                 $params[$key] = $tag;
183
-                $n            += 1;
183
+                $n += 1;
184 184
             }
185 185
         }
186 186
 
Please login to merge, or discard this patch.
src/Queue/Driver/Topic.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -245,8 +245,8 @@
 block discarded – undo
245 245
         }
246 246
 
247 247
         return array("totalCoult"       => $resp['totalCount'],
248
-                     "subscriptionList" => $resp['subscriptionList'],
249
-                     "next_offset"      => $next_offset);
248
+                        "subscriptionList" => $resp['subscriptionList'],
249
+                        "next_offset"      => $next_offset);
250 250
     }
251 251
 }
252 252
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             foreach ($vTagList as $tag) {
148 148
                 $key          = 'msgTag.' . $n;
149 149
                 $params[$key] = $tag;
150
-                $n            += 1;
150
+                $n += 1;
151 151
             }
152 152
         }
153 153
         $msgId = $this->cmq_client->publish_message($params);
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
             foreach ($vtagList as $tag) {
200 200
                 $key          = 'msgTag.' . $n;
201 201
                 $params[$key] = $tag;
202
-                $n            += 1;
202
+                $n += 1;
203 203
             }
204 204
         }
205 205
 
Please login to merge, or discard this patch.
src/Queue/Driver/Account.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         }
131 131
 
132 132
         return array("totalCount" => $ret_pkg['totalCount'],
133
-                     "queueList"  => $ret_pkg['queueList'], "next_offset" => $next_offset);
133
+                        "queueList"  => $ret_pkg['queueList'], "next_offset" => $next_offset);
134 134
     }
135 135
 
136 136
 
@@ -173,8 +173,8 @@  discard block
 block discarded – undo
173 173
         }
174 174
 
175 175
         return array("totalCoult"  => $resp['totalCount'],
176
-                     "topicList"   => $resp['topicList'],
177
-                     "next_offset" => $next_offset);
176
+                        "topicList"   => $resp['topicList'],
177
+                        "next_offset" => $next_offset);
178 178
     }
179 179
 
180 180
 
Please login to merge, or discard this patch.
src/Queue/Connectors/CMQConnector.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
         $topic = new Account(array_get($config, 'options.topic.host'), $config['secret_id'], $config['secret_key']);
36 36
 
37
-        $this->dispatcher->listen(WorkerStopping::class, function () {
37
+        $this->dispatcher->listen(WorkerStopping::class, function() {
38 38
             //
39 39
         });
40 40
 
Please login to merge, or discard this patch.
src/LaravelQueueCMQServiceProvider.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
         /** @var QueueManager $queue */
31 31
         $queue = $this->app['queue'];
32 32
 
33
-        $queue->addConnector('cmq', function () {
33
+        $queue->addConnector('cmq', function() {
34 34
             return new CMQConnector($this->app['events']);
35 35
         });
36 36
     }
Please login to merge, or discard this patch.