Test Failed
Push — master ( 4527f5...6e7815 )
by Ylva
21:41 queued 04:42
created
a/vendor/anax/anax-lite/config/router/600_development.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
         [
12 12
             "info" => "Development and debugging information.",
13 13
             "path" => "",
14
-            "handler" => function ($di) {
14
+            "handler" => function($di) {
15 15
                 echo <<<EOD
16 16
 <h1>Anax development utilities</h1>
17 17
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         [
31 31
             "info" => "DI (show loaded services in \$di).",
32 32
             "path" => "di",
33
-            "handler" => function ($di) {
33
+            "handler" => function($di) {
34 34
                 $services       = $di->getServices();
35 35
                 $activeServices = $di->getActiveServices();
36 36
                 $items = "";
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         [
57 57
             "info" => "Request (show details on current request)",
58 58
             "path" => "request",
59
-            "handler" => function ($di) {
59
+            "handler" => function($di) {
60 60
                 $request = $di->get("request");
61 61
                 $routeParts = "[ " . implode(", ", $request->getRouteParts()) . " ]";
62 62
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         [
107 107
             "info" => "Router (show loaded routes)",
108 108
             "path" => "router",
109
-            "handler" => function ($di) {
109
+            "handler" => function($di) {
110 110
                 $router = $di->get("router");
111 111
 
112 112
                 $routes = "";
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         [
154 154
             "info" => "Session (show session data).",
155 155
             "path" => "session",
156
-            "handler" => function ($di) {
156
+            "handler" => function($di) {
157 157
                 $mount = "session/";
158 158
                 $session = $di->get("session");
159 159
                 $data = print_r($session->__debugInfo(), 1);
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
         [
177 177
             "info" => "Add +1 to session.",
178 178
             "path" => "session/increment",
179
-            "handler" => function ($di) {
179
+            "handler" => function($di) {
180 180
                 echo "<h1>Session increment</h1>\n";
181 181
                 $session = $di->get("session");
182 182
                 $number = $session->get("number", 0);
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         [
189 189
             "info" => "Destroy the session.",
190 190
             "path" => "session/destroy",
191
-            "handler" => function ($di) {
191
+            "handler" => function($di) {
192 192
                 echo "<h1>Session destroy</h1>\n";
193 193
                 $session = $di->get("session");
194 194
                 var_dump($session);
Please login to merge, or discard this patch.
a/vendor/anax/anax-lite/test/Route/DiServiceRoutes600Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     {
102 102
         $router = $this->di->get("router");
103 103
 
104
-        $router->addInternalRoute("500", function () {
104
+        $router->addInternalRoute("500", function() {
105 105
             return "500";
106 106
         });
107 107
 
Please login to merge, or discard this patch.
a/vendor/anax/configure/config/di/configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     "services" => [
9 9
         "configuration" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $config = new \Anax\Configure\Configuration();
13 13
                 $dirs = require ANAX_INSTALL_PATH . "/config/configuration.php";
14 14
                 $config->setBaseDirectories($dirs);
Please login to merge, or discard this patch.
a/vendor/anax/request/config/di/request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "request" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $obj = new \Anax\Request\Request();
12 12
                 $obj->init();
13 13
                 return $obj;
Please login to merge, or discard this patch.
a/vendor/anax/request/test/config/di/request_fail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "request" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $obj = new \Anax\Request\Request();
12 12
                 $obj->init_NO();
13 13
                 return $obj;
Please login to merge, or discard this patch.
a/vendor/anax/request/test/Request/RequestReadmeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             "services" => [
65 65
                 "request" => [
66 66
                     "shared" => true,
67
-                    "callback" => function () {
67
+                    "callback" => function() {
68 68
                         $obj = new \Anax\Request\Request();
69 69
                         $obj->init();
70 70
                         return $obj;
Please login to merge, or discard this patch.
a/vendor/anax/request/src/Request/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
         $server = $this->getServer("SERVER_NAME")
285 285
             ?: $this->getServer("HTTP_HOST");
286 286
 
287
-        $port  = ($port === "80")
287
+        $port = ($port === "80")
288 288
             ? ""
289 289
             : (($port == 443 && $https)
290 290
                 ? ""
Please login to merge, or discard this patch.
a/vendor/anax/cache/config/di/cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     "services" => [
9 9
         "cache" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $cache = new \Anax\Cache\FileCache();
13 13
 
14 14
                 // Load the configuration files
Please login to merge, or discard this patch.
a/vendor/anax/cache/config/cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,5 +8,5 @@
 block discarded – undo
8 8
     "basePath" => ANAX_INSTALL_PATH . "/cache/anax",
9 9
 
10 10
     // Default time to live until item expires
11
-    "timeToLive" => 7 * 24 * 60 * 60,
11
+    "timeToLive" => 7*24*60*60,
12 12
 ];
Please login to merge, or discard this patch.