Test Setup Failed
Branch master (ac5a19)
by Edward
02:08
created
config/commons.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,11 +24,11 @@  discard block
 block discarded – undo
24 24
 error_reporting(-1); // Report all type of errors
25 25
 //error_reporting(E_ALL ^ E_DEPRECATED);  // Report no deprecated errors
26 26
 if (constant("ANAX_DEVELOPMENT")) {
27
-    ini_set("display_errors", 1);  // Display all errors
27
+    ini_set("display_errors", 1); // Display all errors
28 28
 } elseif (constant("ANAX_PRODUCTION")) {
29
-    ini_set("display_errors", 0);  // Display no errors
30
-    ini_set("log_errors", 1);      // Log errors to file error_log
31
-    ini_set("error_log", ANAX_INSTALL_PATH . "/log/error_log");
29
+    ini_set("display_errors", 0); // Display no errors
30
+    ini_set("log_errors", 1); // Log errors to file error_log
31
+    ini_set("error_log", ANAX_INSTALL_PATH."/log/error_log");
32 32
 }
33 33
 
34 34
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 /**
37 37
  * Default exception handler.
38 38
  */
39
-set_exception_handler(function ($e) {
39
+set_exception_handler(function($e) {
40 40
     echo "<p>Anax: Uncaught exception:</p><p>Line "
41 41
         . $e->getLine()
42 42
         . " in file "
Please login to merge, or discard this patch.
config/cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 return [
6 6
     // Use for styling the menu
7 7
     //"basePath" => ANAX_APP_PATH . "/cache",
8
-    "basePath" => ANAX_INSTALL_PATH . "/cache/anax",
8
+    "basePath" => ANAX_INSTALL_PATH."/cache/anax",
9 9
 
10 10
     // Default time to live until item expires
11 11
     "timeToLive" => 7 * 24 * 60 * 60,
Please login to merge, or discard this patch.
config/di/textfilter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
6 6
     "services" => [
7 7
         "textfilter" => [
8 8
             "shared" => true,
9
-            "callback" => function () {
9
+            "callback" => function() {
10 10
                 $filter = new \Anax\TextFilter\TextFilter();
11
-                if (is_dir(ANAX_INSTALL_PATH . "/content")) {
11
+                if (is_dir(ANAX_INSTALL_PATH."/content")) {
12 12
                     $filter->setFilterConfig("frontmatter", [
13
-                        "include_base" => ANAX_INSTALL_PATH . "/content"
13
+                        "include_base" => ANAX_INSTALL_PATH."/content"
14 14
                     ]);
15 15
                 }
16 16
                 return $filter;
Please login to merge, or discard this patch.
config/di/router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     "services" => [
7 7
         "router" => [
8 8
             "shared" => true,
9
-            "callback" => function () {
9
+            "callback" => function() {
10 10
                 $router = new \Anax\Route\Router();
11 11
                 $router->setDI($this);
12 12
 
Please login to merge, or discard this patch.
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.
config/di/content.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
         "content" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $content = new \Anax\Content\FileBasedContent();
13 13
                 $content->setDI($this);
14 14
 
Please login to merge, or discard this patch.
config/di/view.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
         "view" => [
8 8
             "active" => false,
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $view = new \Anax\View\ViewCollection();
12 12
                 $view->setDI($this);
13 13
 
Please login to merge, or discard this patch.
config/di/url.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     "services" => [
7 7
         "url" => [
8 8
             "shared" => true,
9
-            "callback" => function () {
9
+            "callback" => function() {
10 10
                 $url = new \Anax\Url\Url();
11 11
                 $request = $this->get("request");
12 12
                 $url->setSiteUrl($request->getSiteUrl());
Please login to merge, or discard this patch.
config/di/requester.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
         "requester" => [
10 10
             "shared" => true,
11 11
             //"callback" => "\Anax\Response\Response",
12
-            "callback" => function () {
12
+            "callback" => function() {
13 13
                 $obj = new \Edward\Requester\Requester();
14 14
 
15 15
                 $obj->setDI($this);
Please login to merge, or discard this patch.