Passed
Push — master ( f1ca2b...4512a5 )
by Sebastian
04:21
created
src/NumberInfo.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -572,8 +572,7 @@
 block discarded – undo
572 572
             {
573 573
                 $number = null;
574 574
                 $empty = true;
575
-            }
576
-            else
575
+            } else
577 576
             {
578 577
                 $number = (float)$number * 1;
579 578
             }
Please login to merge, or discard this patch.
src/URLInfo/Parser.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -285,8 +285,7 @@
 block discarded – undo
285 285
             if(is_array($val))
286 286
             {
287 287
                 $val = $this->restoreUnicodeChars($val);
288
-            }
289
-            else
288
+            } else
290 289
             {
291 290
                 $val = $this->restoreUnicodeChar($val);
292 291
             }
Please login to merge, or discard this patch.
src/VariableInfo/Renderer/String/Array.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@
 block discarded – undo
22 22
             if(is_array($val))
23 23
             {
24 24
                 $result[$key] = $this->traverseArray($val, ($level+1));
25
-            }
26
-            else
25
+            } else
27 26
             {
28 27
                 $result[$key] = parseVariable($val)->toString();
29 28
             }
Please login to merge, or discard this patch.
src/XMLHelper/DOMErrors.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,7 @@
 block discarded – undo
38 38
             if($error instanceof XMLHelper_DOMErrors_Error)
39 39
             {
40 40
                 $this->errors[] = $error;
41
-            }
42
-            else if($error instanceof \LibXMLError)
41
+            } else if($error instanceof \LibXMLError)
43 42
             {
44 43
                 $this->errors[] = new XMLHelper_DOMErrors_Error($error);
45 44
             }
Please login to merge, or discard this patch.
src/RequestHelper.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -261,8 +261,7 @@
 block discarded – undo
261 261
                 $curlCode,
262 262
                 curl_error($ch).' | Explanation: '.curl_strerror($curlCode)
263 263
             );
264
-        }
265
-        else
264
+        } else
266 265
         {
267 266
             $this->response->setBody((string)$output);
268 267
         }
Please login to merge, or discard this patch.
src/ConvertHelper/TimeConverter.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
             if(abs($unitValue) > 1)
137 137
             {
138 138
                 $item .= $def['plural'];
139
-            }
140
-            else
139
+            } else
141 140
             {
142 141
                 $item .= $def['singular'];
143 142
             }
Please login to merge, or discard this patch.