Test Setup Failed
Branch master (62dca1)
by Deel
04:58
created
view/anax/v2/layout/dbwebb_se.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
 $sidebarLeft  = regionHasContent("sidebar-left");
212 212
 $sidebarRight = regionHasContent("sidebar-right");
213 213
 $class = "";
214
-$class .= $sidebarLeft  ? "has-sidebar-left "  : "";
214
+$class .= $sidebarLeft ? "has-sidebar-left " : "";
215 215
 $class .= $sidebarRight ? "has-sidebar-right " : "";
216 216
 $class .= empty($class) ? "" : "has-sidebar";
217 217
 ?>
Please login to merge, or discard this patch.
view/anax/v2/block/default.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 }
22 22
 
23 23
 // Prepare title
24
-$title = isset($title) && !empty($title)? $title : null;
24
+$title = isset($title) && !empty($title) ? $title : null;
25 25
 $header = isset($header) ? $header : $title;
26 26
 
27 27
 // Prepare content into text
Please login to merge, or discard this patch.
src/Controller/DevelopmentController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
      * @param array $args as a variadic to catch all arguments.
22 22
      *
23 23
      * @throws Anax\Route\Exception\NotFoundException when route is not found.
24
-
25 24
      * @return object as the response.
26 25
      *
27 26
      * @SuppressWarnings(PHPMD.UnusedFormalParameter)
Please login to merge, or discard this patch.
src/Controller/ErrorHandlerController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
      * @param string $message with details.
23 23
      *
24 24
      * @throws Anax\Route\Exception\NotFoundException
25
-
26 25
      * @return object as the response.
27 26
      */
28 27
     public function catchAll(...$args) : object
Please login to merge, or discard this patch.
src/Ip/JipController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     {
57 57
         $ipv = $this->di->request->getGet("ip");
58 58
 
59
-        $valid = (filter_var($ipv, FILTER_VALIDATE_IP)) ? "true" :  "false";
59
+        $valid = (filter_var($ipv, FILTER_VALIDATE_IP)) ? "true" : "false";
60 60
 
61 61
         $host = gethostbyaddr($ipv);
62 62
 
Please login to merge, or discard this patch.
src/Ip/IpController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $check = new IPChecker();
60 60
 
61 61
         if ($doVerify) {
62
-             $result = $check->checkIpv($address);
62
+                $result = $check->checkIpv($address);
63 63
 
64 64
             $session->set("res", $result);
65 65
             $session->set("ip", $address);
Please login to merge, or discard this patch.
src/Navigation/Navbar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         // Create the ul li menu from the array, use an anonomous recursive
86 86
         // function that returns an array of values.
87
-        $createMenu = function (
87
+        $createMenu = function(
88 88
             $items,
89 89
             $ulId = null,
90 90
             $ulClass = null
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                 }
129 129
 
130 130
                 // Is there a class set for this item, then use it
131
-                $class = isset($item["class"]) && ! is_null($item["class"])
131
+                $class = isset($item["class"]) && !is_null($item["class"])
132 132
                     ? $item["class"]
133 133
                     : null;
134 134
 
Please login to merge, or discard this patch.
view/anax/v2/dev/session_destroy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,5 +25,5 @@
 block discarded – undo
25 25
 <pre><?= var_dump($session) ?></pre>
26 26
 
27 27
 <p>
28
-    <a href="<?= url($mount."session") ?>">Back to session<a>
28
+    <a href="<?= url($mount . "session") ?>">Back to session<a>
29 29
 </p>
Please login to merge, or discard this patch.
src/Ip/GeojsonController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     {
57 57
         $ipv = $this->di->request->getGet("ip");
58 58
 
59
-        $valid = (filter_var($ipv, FILTER_VALIDATE_IP)) ? "true" :  "false";
59
+        $valid = (filter_var($ipv, FILTER_VALIDATE_IP)) ? "true" : "false";
60 60
 
61 61
         $host = gethostbyaddr($ipv);
62 62
 
Please login to merge, or discard this patch.