@@ -32,7 +32,12 @@ |
||
32 | 32 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> |
33 | 33 | <head> |
34 | 34 | <link rel="icon" type="image/vnd.microsoft.icon" href="favicon.ico"> |
35 | - <title><?php if (defined('DEFAULT_WSTYPE') && DEFAULT_WSTYPE == 1) echo 'JSONRPC'; else echo 'XMLRPC'; ?> Debugger</title> |
|
35 | + <title><?php if (defined('DEFAULT_WSTYPE') && DEFAULT_WSTYPE == 1) { |
|
36 | + echo 'JSONRPC'; |
|
37 | +} else { |
|
38 | + echo 'XMLRPC'; |
|
39 | +} |
|
40 | +?> Debugger</title> |
|
36 | 41 | <meta name="robots" content="index,nofollow"/> |
37 | 42 | <script type="text/javascript" language="Javascript"> |
38 | 43 | if (window.name != 'frmcontroller') |
@@ -17,7 +17,12 @@ discard block |
||
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 |
||
366 | 371 | echo "<code>OUT: " . 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(); |
@@ -12,7 +12,12 @@ |
||
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" |
@@ -109,14 +109,16 @@ |
||
109 | 109 | |
110 | 110 | $this->coverageScriptUrl = 'http://' . $this->args['HTTPSERVER'] . '/' . str_replace('/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['HTTPURI']); |
111 | 111 | |
112 | - if ($this->args['DEBUG'] == 1) |
|
113 | - ob_start(); |
|
112 | + if ($this->args['DEBUG'] == 1) { |
|
113 | + ob_start(); |
|
114 | + } |
|
114 | 115 | } |
115 | 116 | |
116 | 117 | protected function tear_down() |
117 | 118 | { |
118 | - if ($this->args['DEBUG'] != 1) |
|
119 | - return; |
|
119 | + if ($this->args['DEBUG'] != 1) { |
|
120 | + return; |
|
121 | + } |
|
120 | 122 | $out = ob_get_clean(); |
121 | 123 | $status = $this->getStatus(); |
122 | 124 | if ($status == BaseTestRunner::STATUS_ERROR |