| Conditions | 4 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | protected function tear_down() |
||
| 34 | { |
||
| 35 | if ($this->args['DEBUG'] > 0) { |
||
| 36 | return; |
||
| 37 | } |
||
| 38 | |||
| 39 | // reset the logger to the default |
||
| 40 | \PhpXmlRpc\PhpXmlRpc::setLogger(\PhpXmlRpc\Helper\Logger::instance()); |
||
| 41 | |||
| 42 | $status = $this->getStatus(); |
||
| 43 | if ($status == BaseTestRunner::STATUS_ERROR |
||
| 44 | || $status == BaseTestRunner::STATUS_FAILURE) { |
||
| 45 | echo $this->buffer; |
||
| 46 | } |
||
| 66 |