Test Failed
Push — develop ( e3cad6...cfcb44 )
by nguereza
05:53
created
core/libraries/Browser.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@
 block discarded – undo
318 318
             if (stristr($this->agent, 'FacebookExternalHit')) {
319 319
                 $this->isRobot = true;
320 320
                 $this->isFacebook = true;
321
-            }  else if (stristr($this->agent, 'FBIOS')) {
321
+            } else if (stristr($this->agent, 'FBIOS')) {
322 322
                 $this->isFacebook = true;
323 323
             }
324 324
         }
Please login to merge, or discard this patch.
core/classes/Router.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -522,8 +522,7 @@
 block discarded – undo
522 522
             if(is_array($callback) && count($callback) > 0){
523 523
                 if(array_key_exists($this->requestMethod, $callback)){
524 524
                     $callback = $callback[$this->requestMethod];
525
-                }
526
-                else{
525
+                } else{
527 526
                     //Wrong request method
528 527
                     $this->logger->warning('The request method [' . $this->requestMethod . '] is not allowed');
529 528
                     $this->routeMethodMatch = false;
Please login to merge, or discard this patch.