Passed
Push — master ( 356dbd...84a0a9 )
by Klas
01:58
created
config/di/session.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
         "session" => [
9 9
             "active" => defined("ANAX_WITH_SESSION") && ANAX_WITH_SESSION, // true|false
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $session = new \Anax\Session\Session();
13 13
 
14 14
                 // Load the configuration files
Please login to merge, or discard this patch.
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.
config/di/page.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
         "page" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $page = new \Anax\Page\Page();
13 13
                 $page->setDI($this);
14 14
 
Please login to merge, or discard this patch.
config/di/response.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
         "response" => [
10 10
             "shared" => true,
11 11
             //"callback" => "\Anax\Response\Response",
12
-            "callback" => function () {
12
+            "callback" => function() {
13 13
                 $obj = new \Anax\Response\ResponseUtility();
14 14
                 $obj->setDI($this);
15 15
                 return $obj;
Please login to merge, or discard this patch.
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.
config/di/db.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
         "db" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $db = new \Anax\Database\Database();
12 12
 
13 13
                 // Load the configuration files
Please login to merge, or discard this patch.
config/page.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -42,14 +42,14 @@  discard block
 block discarded – undo
42 42
             ],
43 43
         ],
44 44
         [
45
-          "region" => "header-col-1",
46
-             "template" => "anax/v2/header/site_logo_text",
47
-             "data" => [
48
-                 "homeLink"      => "",
49
-                 "siteLogoText"  => "",
50
-                 "siteLogoTextIcon" => "image/Grammatikgrottan-logga.png",
51
-                 "siteLogoTextIconAlt" => "logga",
52
-             ],
45
+            "region" => "header-col-1",
46
+                "template" => "anax/v2/header/site_logo_text",
47
+                "data" => [
48
+                    "homeLink"      => "",
49
+                    "siteLogoText"  => "",
50
+                    "siteLogoTextIcon" => "image/Grammatikgrottan-logga.png",
51
+                    "siteLogoTextIconAlt" => "logga",
52
+                ],
53 53
         ],
54 54
         [
55 55
             "region" => "header-col-2",
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
                     //      "contentRoute" => "block/footer-col-3",
87 87
                     // ],
88 88
                     [
89
-                         "template" => "anax/v2/footer3/footer3",
90
-                         //"contentRoute" => "block/footer-col-2",
89
+                            "template" => "anax/v2/footer3/footer3",
90
+                            //"contentRoute" => "block/footer-col-2",
91 91
                     ],
92 92
                 ]
93 93
             ],
Please login to merge, or discard this patch.
view/anax/v2/side-bars/senaste-fragor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 <h4 class="cooloverskrift">Senaste frågor</h4>
16 16
 <?php
17 17
 foreach ($res as $row) {
18
-    if ($row->type =="fraga") { ?>
18
+    if ($row->type == "fraga") { ?>
19 19
     <a class="sidolank" href='<?=url("inlagg/enskiltinlagg")?>/<?=$row->slug?>?sortsv=rankning&sortko=published'>
20 20
         <p>
21 21
             <b><?=$row->title?></b>
Please login to merge, or discard this patch.
view/anax/v2/footer3/footer3.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Anax\View;
3 3
 
4
-if (null==($this->di->session->get("anvandarnamn"))) { ?>
4
+if (null == ($this->di->session->get("anvandarnamn"))) { ?>
5 5
         <p>Du är inte inloggad</p>
6 6
 
7 7
 
Please login to merge, or discard this patch.