Passed
Push — 8.x-2.x ( 1a4044...c40811 )
by Zach
14:39 queued 12s
created
src/ConnectionFactory.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Drupal\rabbitmq;
4 4
 
5 5
 use Drupal\Core\Site\Settings;
6
-use PhpAmqpLib\Connection\AMQPStreamConnection;
7 6
 use PhpAmqpLib\Connection\AMQPSSLConnection;
7
+use PhpAmqpLib\Connection\AMQPStreamConnection;
8 8
 
9 9
 /**
10 10
  * RabbitMQ connection factory class.
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
     if (empty($this->connection)) {
68 68
       if (!empty($credentials['ssl'])) {
69 69
         $connection = $this->getSecureConnection();
70
-      }
71
-      else {
70
+      } else {
72 71
         $connection = $this->getStandardConnection();
73 72
       }
74 73
 
Please login to merge, or discard this patch.