mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16955] Clean up debug, event, and extension classes
PHPBB3-16955
This commit is contained in:
@@ -15,8 +15,14 @@ namespace phpbb\debug;
|
||||
|
||||
use Symfony\Component\Debug\ErrorHandler;
|
||||
|
||||
/**
|
||||
* @psalm-suppress InvalidExtendClass
|
||||
*/
|
||||
class error_handler extends ErrorHandler
|
||||
{
|
||||
/**
|
||||
* @psalm-suppress MethodSignatureMismatch
|
||||
*/
|
||||
public function handleError($type, $message, $file, $line)
|
||||
{
|
||||
if ($type === E_USER_WARNING || $type === E_USER_NOTICE)
|
||||
|
Reference in New Issue
Block a user