[ticket/11981] Fix code sniffer complaints

Ticket: http://tracker.phpbb.com/browse/PHPBB3-11981

PHPBB3-11981