[ticket/11493] add checks for Notice and Warning

PHPBB3-11493