config = $config; parent::__construct( $config ); } /** * Helper for throwing an ErrorException. * * @since 1.1.0 * @since 1.2.0 Using $errfile and remove line number increament * * @param int $errno Error type * @param string $errstr Message * @param string $errfile Filename * @param int $errline Line number * * @return void */ public function handleError( $errno, $errstr, $errfile, $errline ) { $this->config->getOutput()->exception = new ErrorException( $errstr, 0, $errno, $errfile, $errline ); } }