Passed
Push — 1.0.0-dev ( 46666d...4e6922 )
by nguereza
02:47
created
core/classes/database/DatabaseQueryRunner.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
                 //by default count() return 1 if the parameter is not an array
171 171
                 //object or object implements Countable.
172 172
                 if (is_array($result) || is_object($result) || $result instanceof Countable) {
173
-                     $numRows = count($result);  
173
+                        $numRows = count($result);  
174 174
                 }
175 175
             } else {
176 176
                 $numRows = $this->pdoStatment->rowCount(); 
Please login to merge, or discard this patch.
core/libraries/FormValidation.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -359,13 +359,13 @@  discard block
 block discarded – undo
359 359
         public function setMessage() {
360 360
             $numArgs = func_num_args();
361 361
             if ($numArgs == 2) {
362
-               foreach ($this->post(null) as $key => $val) {
362
+                foreach ($this->post(null) as $key => $val) {
363 363
                     $this->_errorMsgOverrides[$key][func_get_arg(0)] = func_get_arg(1);
364 364
                 }
365 365
                 return true;
366 366
             } else if ($numArgs == 3) {
367 367
                 $this->_errorMsgOverrides[func_get_arg(1)][func_get_arg(0)] = func_get_arg(2);
368
-                 return true;
368
+                    return true;
369 369
             }
370 370
             return false;
371 371
         }
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
                 $returnValue = $this->data[$key];
406 406
                 if ($trim) {
407 407
                     if (is_array($this->data[$key])) {
408
-                       $returnValue = array_map('trim', $this->data[$key]);
408
+                        $returnValue = array_map('trim', $this->data[$key]);
409 409
                     } else {
410 410
                         $returnValue = trim($this->data[$key]);
411 411
                     }
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
                 if (!empty($regexRule[0])) {
477 477
                     $ruleSets[] = $regexRule[0];
478 478
                 }
479
-                 $ruleStringRegex = explode('|', $ruleStringTemp);
479
+                    $ruleStringRegex = explode('|', $ruleStringTemp);
480 480
                 foreach ($ruleStringRegex as $rule) {
481 481
                     $rule = trim($rule);
482 482
                     if ($rule) {
Please login to merge, or discard this patch.
core/libraries/Form.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                 $attributes['accept-charset'] = get_config('charset', 'UTF-8');
46 46
             }
47 47
             if (!empty($enctype)) {
48
-                 $attributes['enctype'] = $enctype;
48
+                    $attributes['enctype'] = $enctype;
49 49
             }
50 50
             $str .= attributes_to_string($attributes);
51 51
             $str .= '>';
Please login to merge, or discard this patch.