Passed
Pull Request — master (#4)
by Nicolas
03:41
created
src/Clients/Decorators/PrefixedExchangesClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         $exchangeParts = [];
37 37
         
38
-        if(! empty($this->exchangesPrefix))
38
+        if( ! empty($this->exchangesPrefix))
39 39
         {
40 40
             $exchangeParts[] = trim($this->exchangesPrefix);
41 41
         }
Please login to merge, or discard this patch.
src/Clients/Pecl.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     private function ensureIsConnected()
34 34
     {
35
-        if(! $this->channel instanceof \AMQPChannel)
35
+        if( ! $this->channel instanceof \AMQPChannel)
36 36
         {
37 37
             $configuration = new PrefixedConfiguration($this->configuration, 'amqp/broker');
38 38
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         {
62 62
             $ex = $this->getExchange($exchangeName);
63 63
         }
64
-        catch (\Exception $e)
64
+        catch(\Exception $e)
65 65
         {
66 66
             $this->logMessage($exchangeName, $message);
67 67
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
                 $message->packAttributes()
95 95
             );
96 96
         }
97
-        catch (\Exception $e)
97
+        catch(\Exception $e)
98 98
         {
99 99
             $this->logMessage($ex->getName(), $message);
100 100
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
         $ex = new \AMQPExchange($this->channel);
112 112
 
113
-        if(!empty($exchangeName))
113
+        if( ! empty($exchangeName))
114 114
         {
115 115
             $ex->setName($exchangeName);
116 116
             $ex->setType($type);
Please login to merge, or discard this patch.