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

https://tracker.phpbb.com/browse/PHPBB3-12721
"Constructors MUST be called __construct() instead of after the class."