Completed
Push — master ( 10853a...bfb363 )
by Daniel
04:02 queued 18s
created
Transport/Rpc/RpcServerBuilder.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
     public function buildQueue($queueName, QueueServiceInterface $queueService, QueueBagInterface $queueBag)
32 32
     {
33
-        if (! $queueBag instanceof RpcQueueBag) {
33
+        if (!$queueBag instanceof RpcQueueBag) {
34 34
             throw new \Exception('Unsupported QueueBag');
35 35
         }
36 36
         $queue = new Queue($this->getConnectionManager(), $queueBag, $this->connectionName);
Please login to merge, or discard this patch.
Transport/Worker/WorkerBuilder.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
     public function buildQueue($queueName, QueueServiceInterface $queueService, QueueBagInterface $queueBag)
32 32
     {
33
-        if (! $queueBag instanceof WorkerQueueBag) {
33
+        if (!$queueBag instanceof WorkerQueueBag) {
34 34
             throw new \Exception('Unsupported QueueBag');
35 35
         }
36 36
         $queue = new Queue($this->getConnectionManager(), $queueBag, $this->connectionName);
Please login to merge, or discard this patch.
Queue/Queue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -143,17 +143,17 @@
 block discarded – undo
143 143
         do {
144 144
             try {
145 145
                 $failed = false;
146
-                fwrite($this->logOutput, 'start forceReconnect() - trying connect...' . PHP_EOL);
146
+                fwrite($this->logOutput, 'start forceReconnect() - trying connect...'.PHP_EOL);
147 147
                 $this->connection = $this->getConnectionManager()->getConnection($this->connectionName);
148 148
                 $this->channel = $this->getConnection()->channel();
149 149
                 $this->createQueue();
150 150
             } catch (\Exception $e) {
151 151
                 $failed = true;
152 152
                 sleep(3);
153
-                fwrite($this->logOutput, 'failed forceReconnect() - ' . $e->getMessage() . PHP_EOL);
153
+                fwrite($this->logOutput, 'failed forceReconnect() - '.$e->getMessage().PHP_EOL);
154 154
             }
155 155
         } while ($failed);
156
-        fwrite($this->logOutput, 'forceReconnect() - connected!' . PHP_EOL);
156
+        fwrite($this->logOutput, 'forceReconnect() - connected!'.PHP_EOL);
157 157
 
158 158
         return $this->channel;
159 159
     }
Please login to merge, or discard this patch.