| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | 1 | public function validate(ResponseInterface $response, RequestInterface $request): void |
|
| 18 | { |
||
| 19 | 1 | $this->logger->debug(sprintf( |
|
| 20 | 1 | 'Start testing Response: [%d] %s', |
|
| 21 | 1 | $response->getStatusCode(), |
|
| 22 | 1 | $response->getReasonPhrase() |
|
| 23 | 1 | )); |
|
| 24 | |||
| 25 | 1 | $this->decorated->validate($response, $request); |
|
| 26 | |||
| 27 | 1 | $this->logger->debug(sprintf( |
|
| 28 | 1 | 'Finish testing Response: [%d] %s', |
|
| 29 | 1 | $response->getStatusCode(), |
|
| 30 | 1 | $response->getReasonPhrase() |
|
| 31 | 1 | )); |
|
| 34 |