[ticket/11872] Automated validation of templates

PHPBB3-11872