Passed
Push — main ( 524208...e0031e )
by Thierry
01:52
created
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.
src/Driver.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,11 +91,9 @@
 block discarded – undo
91 91
     {
92 92
         if (extension_loaded("pgsql")) {
93 93
             $connection = new Db\PgSql\Connection($this, $this->util, $this->trans, 'PgSQL');
94
-        }
95
-        elseif (extension_loaded("pdo_pgsql")) {
94
+        } elseif (extension_loaded("pdo_pgsql")) {
96 95
             $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_PgSQL');
97
-        }
98
-        else {
96
+        } else {
99 97
             throw new AuthException($this->trans->lang('No package installed to connect to a PostgreSQL server.'));
100 98
         }
101 99
 
Please login to merge, or discard this patch.