reactphp/socket-client

View on GitHub
src/SecureConnector.php

Summary

Maintainability
A
1 hr
Test Coverage

Method connect has 26 lines of code (exceeds 25 allowed). Consider refactoring.
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?)'));
        }
Severity: Minor
Found in src/SecureConnector.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status