Passed
Push — master ( d2520f...3f8ec2 )
by Michael
02:50
created
include/functions0.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -149,11 +149,11 @@
 block discarded – undo
149 149
         $cat_color = $catList->getVar('cat_color');
150 150
         $checked   = in_array($cat_id, $cat) ? 'checked' : '';
151 151
         $cat       = ''
152
-                     . "<div style='float:left; margin-left:5px;'>"
153
-                     . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
154
-                     . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
155
-                     . " {$name}"
156
-                     . '</div>';
152
+                        . "<div style='float:left; margin-left:5px;'>"
153
+                        . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
154
+                        . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
155
+                        . " {$name}"
156
+                        . '</div>';
157 157
 
158 158
         $t[] = $cat;
159 159
     }
Please login to merge, or discard this patch.
class/Utility.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -151,11 +151,11 @@
 block discarded – undo
151 151
             $cat_color = $catList->getVar('cat_color');
152 152
             $checked   = in_array($cat_id, $cat) ? 'checked' : '';
153 153
             $cat       = ''
154
-                         . "<div style='float:left; margin-left:5px;'>"
155
-                         . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
156
-                         . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
157
-                         . " {$name}"
158
-                         . '</div>';
154
+                            . "<div style='float:left; margin-left:5px;'>"
155
+                            . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
156
+                            . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
157
+                            . " {$name}"
158
+                            . '</div>';
159 159
 
160 160
             $t[] = $cat;
161 161
         }
Please login to merge, or discard this patch.
blocks/minical.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     // Flag current day
167 167
     $selectedDays = [
168 168
         new Calendar_Day(date('Y', xoops_getUserTimestamp(time(), $timeHandler->getUserTimeZone($GLOBALS['xoopsUser']))), date('n', xoops_getUserTimestamp(time(), $timeHandler->getUserTimeZone($GLOBALS['xoopsUser']))),
169
-                         date('j', xoops_getUserTimestamp(time(), $timeHandler->getUserTimeZone($GLOBALS['xoopsUser'])))),
169
+                            date('j', xoops_getUserTimestamp(time(), $timeHandler->getUserTimeZone($GLOBALS['xoopsUser'])))),
170 170
     ];
171 171
 
172 172
     // Build calendar object
Please login to merge, or discard this patch.
class/ExtcalPersistableObjectHandler.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     public function convertResultSet($result, $idAsKey = false, $asObject = true)
163 163
     {
164 164
         $ret = [];
165
-       while (false !== ($myrow = $this->db->fetchArray($result))) {
165
+        while (false !== ($myrow = $this->db->fetchArray($result))) {
166 166
             $obj = $this->create(false);
167 167
             $obj->assignVars($myrow);
168 168
             if (!$idAsKey) {
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         }
234 234
 
235 235
         $myts = \MyTextSanitizer::getInstance();
236
-       while (false !== ($myrow = $this->db->fetchArray($result))) {
236
+        while (false !== ($myrow = $this->db->fetchArray($result))) {
237 237
             //identifiers should be textboxes, so sanitize them like that
238 238
             $ret[$myrow[$this->keyName]] = empty($this->identifierName) ? 1 : $myts->htmlSpecialChars($myrow[$this->identifierName]);
239 239
         }
Please login to merge, or discard this patch.