Passed
Push — main ( 80f8c6...ae395e )
by Thierry
02:42
created
src/Db/Facades/CommandFacade.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * @param array $types
50 50
      *
51 51
      * @return array
52
-    */
52
+     */
53 53
     protected function values(array $row, array $blobs, array $types): array
54 54
     {
55 55
         $values = [];
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * @param int $limit
77 77
      *
78 78
      * @return string
79
-    */
79
+     */
80 80
     private function message($statement, int $limit): string
81 81
     {
82 82
         $numRows = $statement->rowCount();
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      * @param int $limit
99 99
      *
100 100
      * @return array
101
-    */
101
+     */
102 102
     protected function select($statement, int $limit = 0): array
103 103
     {
104 104
         // No resultset
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,8 +208,7 @@
 block discarded – undo
208 208
             try {
209 209
                 ini_set('memory_limit', max($this->admin->iniBytes('memory_limit'),
210 210
                     2 * strlen($queries) + memory_get_usage() + 8e6));
211
-            }
212
-            catch(\Exception $e) {
211
+            } catch(\Exception $e) {
213 212
                 // Do nothing if the option is not modified.
214 213
             }
215 214
         }
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
@@ -145,8 +145,7 @@
 block discarded – undo
145 145
         }
146 146
         if ($this->isMail($value)) {
147 147
             return '<a href="' . $this->utils->html("mailto:$value") . '">' . $value . '</a>';
148
-        }
149
-        elseif ($this->isUrl($value)) {
148
+        } elseif ($this->isUrl($value)) {
150 149
             // IE 11 and all modern browsers hide referrer
151 150
             return '<a href="' . $this->utils->html($value) . '"' . $this->blankTarget() . '>' . $value . '</a>';
152 151
         }
Please login to merge, or discard this patch.