Passed
Push — main ( 3c706c...efa972 )
by Thierry
07:51 queued 05:53
created
src/Driver.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,8 +85,7 @@
 block discarded – undo
85 85
         $connection = null;
86 86
         if (extension_loaded("pdo_sqlite")) {
87 87
             $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_SQLite');
88
-        }
89
-        else {
88
+        } else {
90 89
             throw new AuthException($this->trans->lang('No package installed to open a Sqlite database.'));
91 90
         }
92 91
 
Please login to merge, or discard this patch.
src/Db/Sqlite/Connection.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
     public function quote(string $string)
57 57
     {
58 58
         return ($this->util->isUtf8($string) ?
59
-            "'" . $this->client->escapeString($string) . "'" :
60
-            "x'" . reset(unpack('H*', $string)) . "'");
59
+            "'" . $this->client->escapeString($string) . "'" : "x'" . reset(unpack('H*', $string)) . "'");
61 60
     }
62 61
 
63 62
     public function multiQuery(string $query)
Please login to merge, or discard this patch.