Churakovmike/laravel-clickhouse

View on GitHub

Showing 2 of 2 total issues

Connection has 29 functions (exceeds 20 allowed). Consider refactoring.
Open

class Connection extends \Illuminate\Database\Connection implements ConnectionResolverInterface
{
    private HttpClient $client;

    public function __construct(array $config)
Severity: Minor
Found in src/Database/Connection.php - About 3 hrs to fix

    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            string $host = self::DEFAULT_HOST,
            int $port = self::DEFAULT_PORT,
            string $username = self::DEFAULT_USERNAME,
            string $password = self::DEFAULT_PASSWORD,
            array $options = []
    Severity: Minor
    Found in src/Database/Client/HttpClient.php - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language