Passed
Push — main ( 8bc2d7...eb62dd )
by Thierry
07:06 queued 05:14
created
src/Driver.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -92,11 +92,9 @@
 block discarded – undo
92 92
         $connection = null;
93 93
         if (extension_loaded("pgsql")) {
94 94
             $connection = new Db\PgSql\Connection($this, $this->util, $this->trans, 'PgSQL');
95
-        }
96
-        elseif (extension_loaded("pdo_pgsql")) {
95
+        } elseif (extension_loaded("pdo_pgsql")) {
97 96
             $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_PgSQL');
98
-        }
99
-        else {
97
+        } else {
100 98
             throw new AuthException($this->trans->lang('No package installed to connect to a PostgreSQL server.'));
101 99
         }
102 100
 
Please login to merge, or discard this patch.
src/Db/Pdo/Connection.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
     public $timeout;
18 18
 
19 19
     /**
20
-    * @inheritDoc
21
-    */
20
+     * @inheritDoc
21
+     */
22 22
     public function open(string $database, string $schema = '')
23 23
     {
24 24
         $server = str_replace(":", "' port='", addcslashes($this->driver->options('server'), "'\\"));
Please login to merge, or discard this patch.