Test Failed
Push — master ( 1d5c2b...4527f5 )
by Ylva
07:27 queued 10s
created
view/ip/validate.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,10 @@
 block discarded – undo
33 33
 
34 34
     <?php if ($domainName) : ?>
35 35
         <p><b>Domännamn: </b> <?= $domainName ?> </p>
36
-    <?php else : ?>
36
+    <?php else {
37
+    : ?>
37 38
         <p><b>Domännamn: </b> inget domännamn funnet </p>
38
-    <?php endif; ?>
39
+    <?php endif;
40
+}
41
+?>
39 42
 <?php endif; ?>
Please login to merge, or discard this patch.
a/view/ip/validate.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,10 @@
 block discarded – undo
33 33
 
34 34
     <?php if ($domainName) : ?>
35 35
         <p><b>Domännamn: </b> <?= $domainName ?> </p>
36
-    <?php else : ?>
36
+    <?php else {
37
+    : ?>
37 38
         <p><b>Domännamn: </b> inget domännamn funnet </p>
38
-    <?php endif; ?>
39
+    <?php endif;
40
+}
41
+?>
39 42
 <?php endif; ?>
Please login to merge, or discard this patch.
a/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.
a/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.
a/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ExactValueToken.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,8 @@
 block discarded – undo
60 60
                 $comparator->assertEquals($argument, $this->value);
61 61
                 return 10;
62 62
             } catch (ComparisonFailure $failure) {
63
-            	return false;
64
-			}
63
+                return false;
64
+            }
65 65
         }
66 66
 
67 67
         // If either one is an object it should be castable to a string
Please login to merge, or discard this patch.
a/vendor/phpspec/prophecy/src/Prophecy/Call/CallCenter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     }
163 163
 
164 164
     private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName,
165
-                                                   array $arguments)
165
+                                                    array $arguments)
166 166
     {
167 167
         $classname = get_class($prophecy->reveal());
168 168
         $indentationLength = 8; // looks good
Please login to merge, or discard this patch.
a/vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -79,8 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
             if ($reflectionType instanceof ReflectionNamedType) {
81 81
                 $types = [$reflectionType];
82
-            }
83
-            elseif ($reflectionType instanceof ReflectionUnionType) {
82
+            } elseif ($reflectionType instanceof ReflectionUnionType) {
84 83
                 $types = $reflectionType->getTypes();
85 84
             }
86 85
 
@@ -96,8 +95,7 @@  discard block
 block discarded – undo
96 95
                     // null is lowest priority
97 96
                     if ($type2 == 'null') {
98 97
                         return -1;
99
-                    }
100
-                    elseif ($type1 == 'null') {
98
+                    } elseif ($type1 == 'null') {
101 99
                         return 1;
102 100
                     }
103 101
 
@@ -108,8 +106,7 @@  discard block
 block discarded – undo
108 106
 
109 107
                     if($isObject($type1) && !$isObject($type2)) {
110 108
                         return -1;
111
-                    }
112
-                    elseif(!$isObject($type1) && $isObject($type2))
109
+                    } elseif(!$isObject($type1) && $isObject($type2))
113 110
                     {
114 111
                         return 1;
115 112
                     }
Please login to merge, or discard this patch.
a/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassMirror.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -215,8 +215,7 @@
 block discarded – undo
215 215
         if ($type instanceof ReflectionNamedType) {
216 216
             $types = [$type->getName()];
217 217
 
218
-        }
219
-        elseif ($type instanceof ReflectionUnionType) {
218
+        } elseif ($type instanceof ReflectionUnionType) {
220 219
             $types = $type->getTypes();
221 220
         }
222 221
 
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/MethodNode.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,8 +136,7 @@
 block discarded – undo
136 136
     {
137 137
         if ($bool) {
138 138
             $this->returnTypeNode = new ReturnTypeNode('null', ...$this->returnTypeNode->getTypes());
139
-        }
140
-        else {
139
+        } else {
141 140
             $this->returnTypeNode = new ReturnTypeNode(...$this->returnTypeNode->getNonNullTypes());
142 141
         }
143 142
     }
Please login to merge, or discard this patch.