bkdotcom/PHPDebugConsole

View on GitHub
src/Debug/Collector/MySqli.php

Summary

Maintainability
A
2 hrs
Test Coverage
B
85%

File MySqli.php has 280 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

/**
 * This file is part of PHPDebugConsole
 *
Severity: Minor
Found in src/Debug/Collector/MySqli.php - About 2 hrs to fix

    Method __construct has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

        public function __construct($host = null, $username = null, $passwd = null, $dbname = null, $port = null, $socket = null, Debug $debug = null)
    Severity: Major
    Found in src/Debug/Collector/MySqli.php - About 50 mins to fix

      Method real_connect has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Wontfix

          public function real_connect($host = null, $username = null, $passwd = null, $dbname = null, $port = null, $socket = null, $flags = null)
      Severity: Major
      Found in src/Debug/Collector/MySqli.php - About 50 mins to fix

        There are no issues that match your filters.

        Category
        Status