Passed
Push — master ( 7794c5...a89d85 )
by Hesham
22:52
created
src/controllers/LumenerController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function __call($method, $params)
32 32
     {
33 33
         if (strncasecmp($method, "get", 3) === 0) {
34
-            $var = preg_replace_callback('/[A-Z]/', function ($c) {
34
+            $var = preg_replace_callback('/[A-Z]/', function($c) {
35 35
                 return '_'.strtolower($c[0]);
36 36
             }, lcfirst(substr($method, 3)));
37 37
             return $this->$var;
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         return $content;
137 137
     }
138 138
 
139
-    private function _runGetBuffer($files, $allowed_errors=[E_WARNING])
139
+    private function _runGetBuffer($files, $allowed_errors = [E_WARNING])
140 140
     {
141 141
         // Require files
142 142
         ob_implicit_flush(0);
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         }
154 154
         $content = "";
155 155
         while ($level = ob_get_clean()) {
156
-            $content = $level . $content;
156
+            $content = $level.$content;
157 157
         }
158 158
         return $content;
159 159
     }
Please login to merge, or discard this patch.
src/config/lumener.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     "source" => "https://github.com/vrana/adminer/releases/download/v{version}/adminer-{version}.php",
33 33
     // These functions will be replaced by adminer_{name} to avoid conflicts
34 34
     "rename_list" => ['redirect', 'cookie', 'view', 'exit', 'ob_flush',
35
-                       'ob_end_clean'],
35
+                        'ob_end_clean'],
36 36
     // version can be exact (e.g. v4.7.1) if version_type is NOT "url"
37 37
     "version" => "https://api.github.com/repos/vrana/adminer/releases/latest",
38 38
     "version_type" => "url",
Please login to merge, or discard this patch.
src/console/UpdateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
                 (
136 136
                     $response ? "\r\n[{$response->getStatusCode()}]
137 137
                     {$response->getReasonPhrase()} {(string)$response->getBody()}"
138
-                    : "Connection Failed.\r\n" . ShellHelper::$LastError
138
+                    : "Connection Failed.\r\n".ShellHelper::$LastError
139 139
                 )
140 140
             );
141 141
             return;
Please login to merge, or discard this patch.