Completed
Branch master (c6635f)
by Nicolas
04:19
created
src/Workers/ProcessorInterfaceAdapter.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
         try
38 38
         {
39 39
             $processResult = $this->workerContext->getWorker()->process($message);
40
-        }
41
-        catch(\Exception $exception)
40
+        } catch(\Exception $exception)
42 41
         {
43 42
             $this->onWorkerProcessed();
44 43
 
Please login to merge, or discard this patch.
src/Commands/Worker/ListAll.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
         {
43 43
             $comment = sprintf('List of worker with following pattern: %s', $workerNamePattern);
44 44
             $services = $this->workerProvider->listWithRegexFilter($workerNamePattern);
45
-        }
46
-        else
45
+        } else
47 46
         {
48 47
             $comment = 'List of all workers';
49 48
             $services = $this->workerProvider->listAll();
Please login to merge, or discard this patch.
src/Clients/Pecl.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
         try
61 61
         {
62 62
             $ex = $this->getExchange($exchangeName);
63
-        }
64
-        catch (\Exception $e)
63
+        } catch (\Exception $e)
65 64
         {
66 65
             $this->logMessage($exchangeName, $message);
67 66
 
@@ -93,8 +92,7 @@  discard block
 block discarded – undo
93 92
                 $message->getFlags(),
94 93
                 $message->packAttributes()
95 94
             );
96
-        }
97
-        catch (\Exception $e)
95
+        } catch (\Exception $e)
98 96
         {
99 97
             $this->logMessage($ex->getName(), $message);
100 98
 
Please login to merge, or discard this patch.