src/ErrorHandler.php
File ErrorHandler.php
has 277 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* @package bdk\ErrorHandler
* @author Brad Kent <bkfake-github@yahoo.com>
Method errorFactory
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function errorFactory(self $handler, $errType, $errMsg, $file, $line, $vars = array())
Method handleError
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function handleError($errType, $errMsg, $file, $line, $vars = array())
Avoid too many return
statements within this method. Open
Open
return null;