Passed
Push — 1.0.0-dev ( e83bbe...49e148 )
by nguereza
02:46
created
core/libraries/Browser.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -364,7 +364,7 @@
 block discarded – undo
364 364
             if (stristr($this->_agent, 'FacebookExternalHit')) {
365 365
                 $this->setRobot(true);
366 366
                 $this->setFacebook(true);
367
-            }  else if (stristr($this->_agent, 'FBIOS')) {
367
+            } else if (stristr($this->_agent, 'FBIOS')) {
368 368
                 $this->setFacebook(true);
369 369
             }
370 370
         }
Please login to merge, or discard this patch.
core/classes/Loader.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -316,8 +316,7 @@
 block discarded – undo
316 316
             $searchDir = null;
317 317
             if ($type == 'function') {
318 318
                $searchDir = array(FUNCTIONS_PATH, CORE_FUNCTIONS_PATH);
319
-            }
320
-            else if ($type == 'language') {
319
+            } else if ($type == 'language') {
321 320
                 $searchDir = array(APP_LANG_PATH, CORE_LANG_PATH);
322 321
                 $file = $appLang . DS . $file;
323 322
             }
Please login to merge, or discard this patch.
core/libraries/FormValidation.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -501,8 +501,7 @@
 block discarded – undo
501 501
                 $method = $this->getRuleValidationMethod($realRuleName);
502 502
                 if (method_exists($this, $method)) {
503 503
                        call_user_func_array(array($this, $method), array($field, $realRuleName, $paramValue));
504
-                }
505
-                else{
504
+                } else{
506 505
                     $this->forceError = true;
507 506
                     show_error('Invalid validaton rule "' . $realRuleName . '"');
508 507
                 }
Please login to merge, or discard this patch.