public function errorHandler($errno, $errstr, $errfile, $errline)
{
$doNotCallDefaultErrorHandler = true;
$errorReporting = $this->adapter->error_reporting();
if ($errorReporting !== 0 && $errorReporting & $errno) {
list($file, $line) = $this->getBacktrace();
$this->score->addError($file ?: ($errfile ?: $this->path), $this->class, $this->currentMethod, $line ?: $errline, $errno, trim($errstr), $errfile, $errline);
$doNotCallDefaultErrorHandler = !($errno & E_RECOVERABLE_ERROR);
}
return $doNotCallDefaultErrorHandler;
}