[ticket/12721] Improve the code sniffer: simple rules

https://tracker.phpbb.com/browse/PHPBB3-12721
When referencing arrays there MUST NOT be any whitespace around the opening bracket or before the closing bracket.