mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[ticket/14177] CS
PHPBB3-14177
This commit is contained in:
@@ -14,13 +14,12 @@
|
||||
namespace phpbb\debug;
|
||||
|
||||
use Symfony\Component\Debug\ErrorHandler;
|
||||
use Symfony\Component\Filesystem\Exception\IOException;
|
||||
|
||||
class error_handler extends ErrorHandler
|
||||
{
|
||||
public function handleError($type, $message, $file, $line, array $context, array $backtrace = null)
|
||||
{
|
||||
if ($type === E_USER_WARNING|| $type === E_USER_NOTICE)
|
||||
if ($type === E_USER_WARNING || $type === E_USER_NOTICE)
|
||||
{
|
||||
$handler = defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler';
|
||||
|
||||
|
Reference in New Issue
Block a user