[ticket/11854] Migrate all old php4 constructor

PHPBB3-11854