src/SecureConnector.php
Method connect
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function connect($uri)
{
if (!function_exists('stream_socket_enable_crypto')) {
return Promise\reject(new \BadMethodCallException('Encryption not supported on your platform (HHVM < 3.8?)'));
}