Test Failed
Push — 1.0.0-dev ( cfbcc0...52e7b8 )
by nguereza
03:00
created
core/libraries/FormValidation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -425,10 +425,10 @@  discard block
 block discarded – undo
425 425
          * @return object the current instance
426 426
          */
427 427
         protected function filterValidationData() {
428
-            foreach ($this->data as $key => $value ) {
428
+            foreach ($this->data as $key => $value) {
429 429
                 if (is_string($value)) {
430 430
                    $this->data[$key] = trim($value);
431
-                } else if(is_array($value)) {
431
+                } else if (is_array($value)) {
432 432
                     $this->data[$key] = array_map('trim', $value);
433 433
                 }
434 434
             }
@@ -1037,7 +1037,7 @@  discard block
 block discarded – undo
1037 1037
                 if (call_user_func_array($paramValue, array($value)) === false) {
1038 1038
                     $this->setFieldErrorWithRequiredCheck($field, $value, $rule, $paramValue);
1039 1039
                 }
1040
-            } else{
1040
+            } else {
1041 1041
                 $this->forceError = true;
1042 1042
                 show_error('The callback validation function/method "' . $paramValue . '" does not exist');
1043 1043
             }
Please login to merge, or discard this patch.