Passed
Push — master ( 2416bc...c76436 )
by Hesham
13:00 queued 01:26
created
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.
src/controllers/LumenerController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     public function __call($method, $params)
35 35
     {
36 36
         if (strncasecmp($method, "get", 3) === 0) {
37
-            $var = preg_replace_callback('/[A-Z]/', function ($c) {
37
+            $var = preg_replace_callback('/[A-Z]/', function($c) {
38 38
                 return '_'.strtolower($c[0]);
39 39
             }, lcfirst(substr($method, 3)));
40 40
             return $this->$var;
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         }
158 158
     }
159 159
 
160
-    private function _runGetBuffer($files, $allowed_errors=[E_WARNING])
160
+    private function _runGetBuffer($files, $allowed_errors = [E_WARNING])
161 161
     {
162 162
         // Prepare for unhandled errors
163 163
         $this->_setupErrorHandling();
@@ -178,14 +178,14 @@  discard block
 block discarded – undo
178 178
         $this->_stopErrorHandling();
179 179
         $content = "";
180 180
         while ($level = ob_get_clean()) {
181
-            $content = $level . $content;
181
+            $content = $level.$content;
182 182
         }
183 183
         return $content;
184 184
     }
185 185
 
186 186
     private function _setupErrorHandling()
187 187
     {
188
-        set_error_handler(function ($err_severity, $err_msg, $err_file, $err_line) {
188
+        set_error_handler(function($err_severity, $err_msg, $err_file, $err_line) {
189 189
             // Check if suppressed with the @-operator
190 190
             if (0 === error_reporting()) {
191 191
                 return false;
Please login to merge, or discard this patch.