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

https://tracker.phpbb.com/browse/PHPBB3-12721
the file is already in the ignore list.