Test Failed
Push — master ( 60d8a3...107a21 )
by Daniel
02:59
created
app/core/Router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 
80 80
         /* its a class */
81 81
         list($class, $method) = explode("@", $handler, 2);
82
-        $class = $this->namespace . $class;
82
+        $class = $this->namespace.$class;
83 83
         return $this->handle([new $class, $method], $parameters);        
84 84
     }
85 85
 
Please login to merge, or discard this patch.
app/core/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 */
80 80
 
81 81
 $router = new Router(
82
-    FastRoute\simpleDispatcher(function (FastRoute\RouteCollector $route) {
82
+    FastRoute\simpleDispatcher(function(FastRoute\RouteCollector $route) {
83 83
         require __DIR__.'/../routes.php';
84 84
     })
85 85
 );
Please login to merge, or discard this patch.
app/core/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
      */
14 14
     public static function get(string $file)
15 15
     {
16
-        return require __DIR__.'/../config/' . $file . '.php';
16
+        return require __DIR__.'/../config/'.$file.'.php';
17 17
     }
18 18
 }
Please login to merge, or discard this patch.
app/core/Database.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@
 block discarded – undo
46 46
     {
47 47
         switch ($config['connection']) {
48 48
             case 'mysql':
49
-                return 'mysql:host=' . $config['mysql']['host'] . ';dbname=' . $config['mysql']['database'];
49
+                return 'mysql:host='.$config['mysql']['host'].';dbname='.$config['mysql']['database'];
50 50
             case 'sqlite':
51
-                return 'sqlite:' . __DIR__ . '/database/' . $config['sqlite']['database'] . '.sqlite';
51
+                return 'sqlite:'.__DIR__.'/database/'.$config['sqlite']['database'].'.sqlite';
52 52
             default:
53 53
                 throw new Exception('Connection type not supported');
54 54
         }
Please login to merge, or discard this patch.
app/core/Redirect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     public static function createRedirect($location)
35 35
     {
36
-        header('location:' . $location);
36
+        header('location:'.$location);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.