Test Failed
Push — master ( 9d3a5c...c5f273 )
by Sebastian
08:26
created
src/JSHelper.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,8 +153,7 @@
 block discarded – undo
153 153
             if($hash === true) 
154 154
             { 
155 155
                 $hash = 'true'; 
156
-            } 
157
-            else if($hash === false) 
156
+            } else if($hash === false) 
158 157
             { 
159 158
                 $hash = 'false'; 
160 159
             }
Please login to merge, or discard this patch.
src/ImageHelper/ImageTrimmer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,8 +148,7 @@
 block discarded – undo
148 148
             );
149 149
 
150 150
             imagecolortransparent($im2, $bg2);
151
-        }
152
-        else
151
+        } else
153 152
         {
154 153
             $bg2 = imagecolorallocate(
155 154
                 $im2,
Please login to merge, or discard this patch.
src/AttributeCollection.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -137,8 +137,7 @@  discard block
 block discarded – undo
137 137
             if(in_array($name, $this->empty, true)) {
138 138
                 $this->empty = array_remove_values($this->empty, array($name));
139 139
             }
140
-        }
141
-        else
140
+        } else
142 141
         {
143 142
             unset($this->attributes[$name]);
144 143
 
@@ -249,8 +248,7 @@  discard block
 block discarded – undo
249 248
         if($keep === true)
250 249
         {
251 250
             $this->keepEmpty[$name] = true;
252
-        }
253
-        else if(isset($this->keepEmpty[$name]))
251
+        } else if(isset($this->keepEmpty[$name]))
254 252
         {
255 253
             unset($this->keepEmpty[$name]);
256 254
         }
Please login to merge, or discard this patch.
src/RGBAColor/FormatsConverter.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -330,12 +330,10 @@
 block discarded – undo
330 330
         if ($R === $minRGB)
331 331
         {
332 332
             $h = 3 - (($G - $B) / $chroma);
333
-        }
334
-        elseif ($B === $minRGB)
333
+        } elseif ($B === $minRGB)
335 334
         {
336 335
             $h = 1 - (($R - $G) / $chroma);
337
-        }
338
-        else
336
+        } else
339 337
         { // $G == $minRGB
340 338
             $h = 5 - (($B - $R) / $chroma);
341 339
         }
Please login to merge, or discard this patch.