Passed
Pull Request — develop (#92)
by Felipe
06:21
created
src/controllers/UsersController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         $lang = $this->lang;
83 83
         $data = $this->misc->getDatabaseAccessor();
84 84
 
85
-        $renderUseExpires = function ($val) use ($lang) {
85
+        $renderUseExpires = function($val) use ($lang) {
86 86
             return $val == 'infinity' ? $lang['strnever'] : htmlspecialchars($val);
87 87
         };
88 88
 
Please login to merge, or discard this patch.
src/controllers/MaterializedviewpropertiesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
         $lang = $this->lang;
92 92
         $data = $this->misc->getDatabaseAccessor();
93 93
 
94
-        $attPre = function (&$rowdata) use ($data) {
94
+        $attPre = function(&$rowdata) use ($data) {
95 95
             $rowdata->fields['+type'] = $data->formatType($rowdata->fields['type'], $rowdata->fields['atttypmod']);
96 96
         };
97 97
 
Please login to merge, or discard this patch.
src/controllers/CastsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $lang = $this->lang;
46 46
         $data = $this->misc->getDatabaseAccessor();
47 47
 
48
-        $renderCastContext = function ($val) use ($lang) {
48
+        $renderCastContext = function($val) use ($lang) {
49 49
             switch ($val) {
50 50
                 case 'e':return $lang['strno'];
51 51
                 case 'a':return $lang['strinassignment'];
Please login to merge, or discard this patch.
src/controllers/TriggersController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
         $lang = $this->lang;
100 100
         $data = $this->misc->getDatabaseAccessor();
101 101
 
102
-        $tgPre = function (&$rowdata, $actions) use ($data) {
102
+        $tgPre = function(&$rowdata, $actions) use ($data) {
103 103
             // toggle enable/disable trigger per trigger
104 104
             if (!$data->phpBool($rowdata->fields['tgenabled'])) {
105 105
                 unset($actions['disable']);
Please login to merge, or discard this patch.
src/controllers/IndexesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $lang = $this->lang;
83 83
         $data = $this->misc->getDatabaseAccessor();
84 84
 
85
-        $indPre = function (&$rowdata, $actions) use ($data, $lang) {
85
+        $indPre = function(&$rowdata, $actions) use ($data, $lang) {
86 86
             if ($data->phpBool($rowdata->fields['indisprimary'])) {
87 87
                 $rowdata->fields['+constraints'] = $lang['strprimarykey'];
88 88
                 $actions['drop']['disable']      = true;
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 
219 219
         $reqvars = $this->misc->getRequestVars($subject);
220 220
 
221
-        $getIcon = function ($f) {
221
+        $getIcon = function($f) {
222 222
             if ($f['indisprimary'] == 't') {
223 223
                 return 'PrimaryKey';
224 224
             }
Please login to merge, or discard this patch.
src/controllers/ViewpropertiesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
         $lang = $this->lang;
92 92
         $data = $this->misc->getDatabaseAccessor();
93 93
 
94
-        $attPre = function (&$rowdata) use ($data) {
94
+        $attPre = function(&$rowdata) use ($data) {
95 95
             $rowdata->fields['+type'] = $data->formatType($rowdata->fields['type'], $rowdata->fields['atttypmod']);
96 96
         };
97 97
 
Please login to merge, or discard this patch.
src/controllers/ConversionsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 
94 94
         $reqvars = $this->misc->getRequestVars('schema');
95 95
 
96
-        $getIcon = function ($f) {
96
+        $getIcon = function($f) {
97 97
             switch ($f['contype']) {
98 98
                 case 'u':
99 99
                     return 'UniqueConstraint';
Please login to merge, or discard this patch.
src/xhtml/HTMLNavbarController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
             foreach ($alltabs as $tab_id => $tab) {
142 142
                 if (!isset($tab['hide']) || $tab['hide'] !== true) {
143 143
                     $tabs[$tab_id]            = $tab;
144
-                    $tabs[$tab_id]['active']  = $active  = ($tab_id == $activetab) ? ' active' : '';
144
+                    $tabs[$tab_id]['active']  = $active = ($tab_id == $activetab) ? ' active' : '';
145 145
                     $tabs[$tab_id]['tablink'] = str_replace(['&', '.php'], ['&', ''], htmlentities($this->getActionUrl($tab, $_REQUEST, $from)));
146 146
                     if (isset($tab['icon']) && $icon = $this->misc->icon($tab['icon'])) {
147 147
                         $tabs[$tab_id]['iconurl'] = $icon;
Please login to merge, or discard this patch.