| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 136 | private static function requestLine(RequestInterface $request) |
|
| 24 | { |
||
| 25 | 136 | $method = $request->getMethod(); |
|
| 26 | 136 | $target = self::fixTarget(trim($request->getRequestTarget())); |
|
| 27 | 136 | $protocol = 'HTTP/'.$request->getProtocolVersion(); |
|
| 28 | |||
| 29 | 136 | return "$method $target $protocol".self::CRLF; |
|
| 30 | } |
||
| 31 | |||
| 67 |