removed some whitespace and added missing semi colon's

[Improvement/Trival] removed some whitespace and added missing semi colon's
PHPBB3-11801