| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function __construct($host, $port) |
||
| 19 | { |
||
| 20 | |||
| 21 | parent::__construct($host, $port); |
||
| 22 | |||
| 23 | curl_setopt($this->curlHandle, CURLOPT_SSLVERSION, 0); |
||
| 24 | curl_setopt($this->curlHandle, CURLOPT_SSL_VERIFYPEER, false); |
||
| 25 | curl_setopt($this->curlHandle, CURLOPT_SSL_VERIFYHOST, 0); |
||
| 26 | |||
| 27 | } |
||
| 28 | } |