Passed
Push — master ( 095fed...63a80c )
by Cody
05:44 queued 02:11
created
docker/application/configure-db.php 1 patch
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -26,14 +26,14 @@
 block discarded – undo
26 26
     $config['DB_PORT'] = env('DB_PORT');
27 27
     if (empty($config['DB_TYPE'])) {
28 28
         switch ($config['DB_PORT']) {
29
-            case 3306:
30
-                $config['DB_TYPE'] = 'mysql';
31
-                break;
32
-            case 5432:
33
-                $config['DB_TYPE'] = 'pgsql';
34
-                break;
35
-            default:
36
-                error('Database on non-standard port ' . $config['DB_PORT'] . ' and env DB_TYPE not present');
29
+        case 3306:
30
+            $config['DB_TYPE'] = 'mysql';
31
+            break;
32
+        case 5432:
33
+            $config['DB_TYPE'] = 'pgsql';
34
+            break;
35
+        default:
36
+            error('Database on non-standard port ' . $config['DB_PORT'] . ' and env DB_TYPE not present');
37 37
         }
38 38
     }
39 39
 }
Please login to merge, or discard this patch.