Passed
Push — develop ( e333c2...b3554d )
by nguereza
02:25
created
src/Pool.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
                 !empty($config['connections'])
79 79
                 && is_array($config['connections'])
80 80
             ) {
81
-                 /** @var array<string, array<string, mixed>> $connections */
81
+                    /** @var array<string, array<string, mixed>> $connections */
82 82
                 $connections = $config['connections'];
83 83
 
84 84
                 foreach ($connections as $name => $connection) {
Please login to merge, or discard this patch.
src/Connection.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -421,12 +421,12 @@
 block discarded – undo
421 421
         $this->createPDO();
422 422
     }
423 423
 
424
-     /**
425
-     * Change the query parameters placeholder with the value
426
-     * @param string $query
427
-     * @param array<int, mixed> $params
428
-     * @return string
429
-     */
424
+        /**
425
+         * Change the query parameters placeholder with the value
426
+         * @param string $query
427
+         * @param array<int, mixed> $params
428
+         * @return string
429
+         */
430 430
     protected function replaceParameters(string $query, array $params): string
431 431
     {
432 432
         $driver = $this->driver;
Please login to merge, or discard this patch.
src/Configuration.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -198,10 +198,10 @@  discard block
 block discarded – undo
198 198
         return $this->appname;
199 199
     }
200 200
 
201
-     /**
202
-     *  Return the host
203
-     * @return string
204
-     */
201
+        /**
202
+         *  Return the host
203
+         * @return string
204
+         */
205 205
     public function getHostname(): string
206 206
     {
207 207
         return $this->hostname;
@@ -399,12 +399,12 @@  discard block
 block discarded – undo
399 399
     public function getDriverClassName(): string
400 400
     {
401 401
         $maps = [
402
-          'mysql'  => MySQL::class,
403
-          'pgsql'  => PostgreSQL::class,
404
-          'sqlsrv' => SQLServer::class,
405
-          'oci'    => Oracle::class,
406
-          'oracle' => Oracle::class,
407
-          'sqlite' => SQLite::class,
402
+            'mysql'  => MySQL::class,
403
+            'pgsql'  => PostgreSQL::class,
404
+            'sqlsrv' => SQLServer::class,
405
+            'oci'    => Oracle::class,
406
+            'oracle' => Oracle::class,
407
+            'sqlite' => SQLite::class,
408 408
         ];
409 409
 
410 410
         return isset($maps[$this->driver])
Please login to merge, or discard this patch.
src/Driver/Oracle.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,8 +248,8 @@
 block discarded – undo
248 248
         $values = $column->get('values');
249 249
 
250 250
         if (!empty($values)) {
251
-           $values = array_map([$this, 'value'], $values);
252
-           $type = 'ENUM(' . implode(',', $values) . ')';
251
+            $values = array_map([$this, 'value'], $values);
252
+            $type = 'ENUM(' . implode(',', $values) . ')';
253 253
         }
254 254
 
255 255
         return $type;
Please login to merge, or discard this patch.
src/Driver/MySQL.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,8 +114,8 @@
 block discarded – undo
114 114
         $values = $column->get('values');
115 115
 
116 116
         if (!empty($values)) {
117
-           $values = array_map([$this, 'value'], $values);
118
-           $type = 'ENUM(' . implode(',', $values) . ')';
117
+            $values = array_map([$this, 'value'], $values);
118
+            $type = 'ENUM(' . implode(',', $values) . ')';
119 119
         }
120 120
 
121 121
         return $type;
Please login to merge, or discard this patch.