Passed
Push — main ( ee4a7c...158bd9 )
by Thierry
02:19
created
src/Db/Facades/CommandFacade.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,8 +198,7 @@
 block discarded – undo
198 198
             try {
199 199
                 \ini_set('memory_limit', max($this->admin->iniBytes('memory_limit'),
200 200
                     2 * strlen($queries) + \memory_get_usage() + 8e6));
201
-            }
202
-            catch(\Exception $e) {
201
+            } catch(\Exception $e) {
203 202
                 // Do nothing if the option is not modified.
204 203
             }
205 204
         }
Please login to merge, or discard this patch.
src/Db/Facades/ExportFacade.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -619,8 +619,7 @@
 block discarded – undo
619 619
         foreach (array_unique(array_merge($databases['list'], $databases['data'])) as $database) {
620 620
             try {
621 621
                 $this->dumpDatabase($database);
622
-            }
623
-            catch (Exception $e) {
622
+            } catch (Exception $e) {
624 623
                 return $e->getMessage();
625 624
             }
626 625
         }
Please login to merge, or discard this patch.
src/Admin/Admin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,8 +147,7 @@
 block discarded – undo
147 147
         }
148 148
         if ($this->isMail($value)) {
149 149
             return '<a href="' . $this->utils->str->html("mailto:$value") . '">' . $value . '</a>';
150
-        }
151
-        elseif ($this->isUrl($value)) {
150
+        } elseif ($this->isUrl($value)) {
152 151
             // IE 11 and all modern browsers hide referrer
153 152
             return '<a href="' . $this->utils->str->html($value) . '"' . $this->blankTarget() . '>' . $value . '</a>';
154 153
         }
Please login to merge, or discard this patch.