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/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.
a/vendor/phpunit/php-text-template/src/Template.php 1 patch
Braces   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,13 +60,9 @@
 block discarded – undo
60 60
 
61 61
         if (file_exists($file)) {
62 62
             $this->template = file_get_contents($file);
63
-        }
64
-
65
-        else if (file_exists($distFile)) {
63
+        } else if (file_exists($distFile)) {
66 64
             $this->template = file_get_contents($distFile);
67
-        }
68
-
69
-        else {
65
+        } else {
70 66
             throw new InvalidArgumentException(
71 67
               'Template file could not be loaded.'
72 68
             );
Please login to merge, or discard this patch.
a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,9 @@  discard block
 block discarded – undo
40 40
             $c = strcspn($css, ";'\"", $i);
41 41
             $accum .= substr($css, $i, $c);
42 42
             $i += $c;
43
-            if ($i == $len) break;
43
+            if ($i == $len) {
44
+                break;
45
+            }
44 46
             $d = $css[$i];
45 47
             if ($quoted) {
46 48
                 $accum .= $d;
@@ -57,7 +59,9 @@  discard block
 block discarded – undo
57 59
                 }
58 60
             }
59 61
         }
60
-        if ($accum != "") $declarations[] = $accum;
62
+        if ($accum != "") {
63
+            $declarations[] = $accum;
64
+        }
61 65
 
62 66
         $propvalues = array();
63 67
         $new_declarations = '';
Please login to merge, or discard this patch.
a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php 1 patch
Braces   +12 added lines, -4 removed lines patch added patch discarded remove patch
@@ -128,19 +128,25 @@  discard block
 block discarded – undo
128 128
                     break;
129 129
                 }
130 130
             };
131
-            if ($go) continue;
131
+            if ($go) {
132
+                continue;
133
+            }
132 134
             list($token, $d) = $node->toTokenPair();
133 135
             // base case
134 136
             if ($excludes_enabled && isset($excludes[$node->name])) {
135 137
                 $node->dead = true;
136
-                if ($e) $e->send(E_ERROR, 'Strategy_FixNesting: Node excluded');
138
+                if ($e) {
139
+                    $e->send(E_ERROR, 'Strategy_FixNesting: Node excluded');
140
+                }
137 141
             } else {
138 142
                 // XXX I suppose it would be slightly more efficient to
139 143
                 // avoid the allocation here and have children
140 144
                 // strategies handle it
141 145
                 $children = array();
142 146
                 foreach ($node->children as $child) {
143
-                    if (!$child->dead) $children[] = $child;
147
+                    if (!$child->dead) {
148
+                        $children[] = $child;
149
+                    }
144 150
                 }
145 151
                 $result = $def->child->validateChildren($children, $config, $context);
146 152
                 if ($result === true) {
@@ -148,7 +154,9 @@  discard block
 block discarded – undo
148 154
                     $node->children = $children;
149 155
                 } elseif ($result === false) {
150 156
                     $node->dead = true;
151
-                    if ($e) $e->send(E_ERROR, 'Strategy_FixNesting: Node removed');
157
+                    if ($e) {
158
+                        $e->send(E_ERROR, 'Strategy_FixNesting: Node removed');
159
+                    }
152 160
                 } else {
153 161
                     $node->children = $result;
154 162
                     if ($e) {
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/MakeWellFormed.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,9 @@
 block discarded – undo
162 162
                 $rewind_offset = $this->injectors[$i]->getRewindOffset();
163 163
                 if (is_int($rewind_offset)) {
164 164
                     for ($j = 0; $j < $rewind_offset; $j++) {
165
-                        if (empty($zipper->front)) break;
165
+                        if (empty($zipper->front)) {
166
+                            break;
167
+                        }
166 168
                         $token = $zipper->prev($token);
167 169
                         // indicate that other injectors should not process this token,
168 170
                         // but we need to reprocess it.  See Note [Injector skips]
Please login to merge, or discard this patch.