bkdotcom/PHPDebugConsole

View on GitHub
src/ErrorHandler/ErrorHandler.php

Summary

Maintainability
A
3 hrs
Test Coverage

File ErrorHandler.php has 275 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

/**
 * @package   bdk\ErrorHandler
 * @author    Brad Kent <bkfake-github@yahoo.com>
Severity: Minor
Found in src/ErrorHandler/ErrorHandler.php - About 2 hrs to fix

    Method errorFactory has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        protected function errorFactory(self $handler, $errType, $errMsg, $file, $line, $vars = array())
    Severity: Minor
    Found in src/ErrorHandler/ErrorHandler.php - About 45 mins to fix

      Method handleError has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Wontfix

          public function handleError($errType, $errMsg, $file, $line, $vars = array())
      Severity: Minor
      Found in src/ErrorHandler/ErrorHandler.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status