| Conditions | 4 |
| Paths | 4 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function testSendRequest($method, $uri, array $headers, $body) |
||
| 23 | { |
||
| 24 | if (defined('HHVM_VERSION')) { |
||
| 25 | static::markTestSkipped('This test can not run under HHVM'); |
||
| 26 | } |
||
| 27 | if (null !== $body && in_array($method, ['GET', 'HEAD', 'TRACE'], true)) { |
||
| 28 | static::markTestSkipped('cURL can not send body using '.$method); |
||
| 29 | } |
||
| 30 | parent::testSendRequest($method, $uri, $headers, $body); |
||
| 31 | } |
||
| 46 |