Test Failed
Push — master ( 4527f5...6e7815 )
by Ylva
21:41 queued 04:42
created
a/vendor/anax/view/view/default/profile-phpbb.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,12 +14,15 @@
 block discarded – undo
14 14
                 <i class="icon fa fa-sign-in"></i>
15 15
             </a>
16 16
         </span>
17
-    <?php else : ?>
17
+    <?php else {
18
+    : ?>
18 19
 <!--
19 20
         <span class="logout"><a href="/forum/ucp.php?mode=logout">Logout</a></span>
20 21
 
21 22
         <span class="ucp"><a href="/forum/ucp.php"><i class="fa fa-user fa-2x"></i></a></span>
22 23
 -->
23 24
         <span class="gravatar"><a href="/forum/ucp.php"><img src="<?= $gravatarImage ?>" alt=""></a></span>
24
-    <?php endif; ?>
25
+    <?php endif;
26
+}
27
+?>
25 28
 </span>
Please login to merge, or discard this patch.
a/vendor/anax/view/view/default/block.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 //var_dump(get_defined_vars());
14 14
 
15 15
 // Prepare title
16
-$title = isset($title) && !empty($title)? $title : null;
16
+$title = isset($title) && !empty($title) ? $title : null;
17 17
 $header = isset($header) ? $header : $title;
18 18
 
19 19
 // Prepare content into text
Please login to merge, or discard this patch.
a/vendor/anax/view/view/default2/http_status_code.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$title   = isset($title)   ? $title   : "Title not set";
3
+$title   = isset($title) ? $title : "Title not set";
4 4
 $message = isset($message) ? $message : "Message not set";
5 5
 
6 6
 
Please login to merge, or discard this patch.
a/vendor/anax/view/view/anax/v2/dev/session.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
 <pre><?= var_dump($session) ?></pre>
22 22
 
23 23
 <p>
24
-    <a href="<?= url($mount."session/increment") ?>">Add to session and increment<a> |
25
-    <a href="<?= url($mount."session/destroy") ?>">Destroy session<a>
24
+    <a href="<?= url($mount . "session/increment") ?>">Add to session and increment<a> |
25
+    <a href="<?= url($mount . "session/destroy") ?>">Destroy session<a>
26 26
 </p>
Please login to merge, or discard this patch.
a/vendor/anax/view/view/anax/v2/dev/session_increment.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.
a/vendor/anax/view/view/anax/v2/dev/index.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
 <p>Here is a set of utilities to use when learning, developing, testing and debugging Anax.</p>
17 17
 
18 18
 <ul>
19
-    <li><a href="<?= url($mount."di") ?>">DI (show loaded services in $di)</a></li>
20
-    <li><a href="<?= url($mount."request") ?>">Request (show details on current request)</a></li>
21
-    <li><a href="<?= url($mount."router") ?>">Router (show loaded routes)</a></li>
22
-    <li><a href="<?= url($mount."session") ?>">Session (show session data)</a></li>
23
-    <li><a href="<?= url($mount."view") ?>">View (debug and inspect views)</a></li>
19
+    <li><a href="<?= url($mount . "di") ?>">DI (show loaded services in $di)</a></li>
20
+    <li><a href="<?= url($mount . "request") ?>">Request (show details on current request)</a></li>
21
+    <li><a href="<?= url($mount . "router") ?>">Router (show loaded routes)</a></li>
22
+    <li><a href="<?= url($mount . "session") ?>">Session (show session data)</a></li>
23
+    <li><a href="<?= url($mount . "view") ?>">View (debug and inspect views)</a></li>
24 24
 </ul>
Please login to merge, or discard this patch.
a/vendor/anax/view/view/anax/v2/blog-toc-next-prev-page/default.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,9 +37,12 @@
 block discarded – undo
37 37
     <div class="next">
38 38
         <?php if ($nextPageUrl) : ?>
39 39
         <a href="<?= url($nextPageUrl) ?>"><?= $nextStr ?></a>
40
-        <?php else : ?>
40
+        <?php else {
41
+    : ?>
41 42
         &nbsp;
42
-        <?php endif; ?>
43
+        <?php endif;
44
+}
45
+?>
43 46
     </div>
44 47
 
45 48
     <div class="center">
Please login to merge, or discard this patch.
a/vendor/anax/view/view/anax/v2/navbar/responsive_submenus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 $navbar->setDI($di);
14 14
 $html = $navbar->createMenuWithSubMenus($navbarConfig);
15 15
 
16
-$classes = "rm-navbar-max rm-navbar rm-max rm-swipe-right " . ( $class ?? null);
16
+$classes = "rm-navbar-max rm-navbar rm-max rm-swipe-right " . ($class ?? null);
17 17
 
18 18
 
19 19
 ?><!-- menu wrapper -->
Please login to merge, or discard this patch.
a/vendor/anax/view/view/anax/v2/navbar/navbar_submenus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 $navbar->setDI($di);
14 14
 $html = $navbar->createMenuWithSubMenus($navbarConfig);
15 15
 
16
-$classes = "rm-navbar " . ( $class ?? null);
16
+$classes = "rm-navbar " . ($class ?? null);
17 17
 
18 18
 
19 19
 
Please login to merge, or discard this patch.