[ticket/10772] Use forum specific style for trigger_error

PHPBB3-10772
[ticket/10772] Functional tests for forum style

PHPBB3-10772
[ticket/10772] Remove unnecessary comment

PHPBB3-10772