fix PHPCS errors in template-tags