@@ -22,14 +22,16 @@ |
||
| 22 | 22 | $this->client = new xmlrpc_client('/NOTEXIST.php', $this->args['HTTPSERVER'], 80); |
| 23 | 23 | $this->client->setDebug($this->args['DEBUG']); |
| 24 | 24 | |
| 25 | - if ($this->args['DEBUG'] == 1) |
|
| 26 | - ob_start(); |
|
| 25 | + if ($this->args['DEBUG'] == 1) { |
|
| 26 | + ob_start(); |
|
| 27 | + } |
|
| 27 | 28 | } |
| 28 | 29 | |
| 29 | 30 | protected function tear_down() |
| 30 | 31 | { |
| 31 | - if ($this->args['DEBUG'] != 1) |
|
| 32 | - return; |
|
| 32 | + if ($this->args['DEBUG'] != 1) { |
|
| 33 | + return; |
|
| 34 | + } |
|
| 33 | 35 | $out = ob_get_clean(); |
| 34 | 36 | $status = $this->getStatus(); |
| 35 | 37 | if ($status == PHPUnit_Runner_BaseTestRunner::STATUS_ERROR |
@@ -100,14 +100,16 @@ |
||
| 100 | 100 | |
| 101 | 101 | $this->coverageScriptUrl = 'http://' . $this->args['HTTPSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['HTTPURI'] ); |
| 102 | 102 | |
| 103 | - if ($this->args['DEBUG'] == 1) |
|
| 104 | - ob_start(); |
|
| 103 | + if ($this->args['DEBUG'] == 1) { |
|
| 104 | + ob_start(); |
|
| 105 | + } |
|
| 105 | 106 | } |
| 106 | 107 | |
| 107 | 108 | protected function tear_down() |
| 108 | 109 | { |
| 109 | - if ($this->args['DEBUG'] != 1) |
|
| 110 | - return; |
|
| 110 | + if ($this->args['DEBUG'] != 1) { |
|
| 111 | + return; |
|
| 112 | + } |
|
| 111 | 113 | $out = ob_get_clean(); |
| 112 | 114 | $status = $this->getStatus(); |
| 113 | 115 | if ($status == PHPUnit_Runner_BaseTestRunner::STATUS_ERROR |