Passed
Push — master ( 5d63c2...ca0b51 )
by Gaetano
10:02
created
debugger/action.php 1 patch
Braces   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,12 @@  discard block
 block discarded – undo
17 17
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
18 18
 <head>
19 19
     <link rel="icon" type="image/vnd.microsoft.icon" href="favicon.ico">
20
-    <title><?php if (defined('DEFAULT_WSTYPE') && DEFAULT_WSTYPE == 1) echo 'JSONRPC'; else echo 'XMLRPC'; ?> Debugger</title>
20
+    <title><?php if (defined('DEFAULT_WSTYPE') && DEFAULT_WSTYPE == 1) {
21
+    echo 'JSONRPC';
22
+} else {
23
+    echo 'XMLRPC';
24
+}
25
+?> Debugger</title>
21 26
     <meta name="robots" content="index,nofollow"/>
22 27
     <style type="text/css">
23 28
         <!--
@@ -366,7 +371,9 @@  discard block
 block discarded – undo
366 371
                                 echo "<code>OUT:&nbsp;" . htmlspecialchars($ret->scalarval(), ENT_COMPAT, \PhpXmlRpc\PhpXmlRpc::$xmlrpc_internalencoding) . "<br />IN: (";
367 372
                                 if ($x->count() > 1) {
368 373
                                     foreach($x as $k => $y) {
369
-                                        if ($k == 0) continue;
374
+                                        if ($k == 0) {
375
+                                            continue;
376
+                                        }
370 377
                                         echo htmlspecialchars($y->scalarval(), ENT_COMPAT, \PhpXmlRpc\PhpXmlRpc::$xmlrpc_internalencoding);
371 378
                                         if ($wstype != 1) {
372 379
                                             $type = $y->scalarval();
Please login to merge, or discard this patch.
debugger/index.php 1 patch
Braces   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,12 @@
 block discarded – undo
12 12
 <html lang="en">
13 13
 <head>
14 14
     <link rel="icon" type="image/vnd.microsoft.icon" href="favicon.ico">
15
-    <title><?php if (defined('DEFAULT_WSTYPE') && DEFAULT_WSTYPE == 1) echo 'JSONRPC'; else echo 'XMLRPC'; ?> Debugger</title>
15
+    <title><?php if (defined('DEFAULT_WSTYPE') && DEFAULT_WSTYPE == 1) {
16
+    echo 'JSONRPC';
17
+} else {
18
+    echo 'XMLRPC';
19
+}
20
+?> Debugger</title>
16 21
 </head>
17 22
 <frameset rows="360,*">
18 23
     <frame name="frmcontroller" src="controller.php<?php echo htmlspecialchars($query); ?>" marginwidth="0"
Please login to merge, or discard this patch.
src/Helper/Charset.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,8 +174,7 @@
 block discarded – undo
174 174
                         } else {
175 175
                             $escapedData .= $ch;
176 176
                         }
177
-                    }
178
-                    else if ($ii < 128) {
177
+                    } else if ($ii < 128) {
179 178
                         /// @todo shall we replace this with a (supposedly) faster str_replace?
180 179
                         switch ($ii) {
181 180
                             case 34:
Please login to merge, or discard this patch.