reactphp/socket-client

View on GitHub
src/DnsConnector.php

Summary

Maintainability
A
1 hr
Test Coverage

Method connect has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function connect($uri)
    {
        if (strpos($uri, '://') === false) {
            $parts = parse_url('tcp://' . $uri);
            unset($parts['scheme']);
Severity: Minor
Found in src/DnsConnector.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status