From 065e13ac2eb2a940b216e699e559acc0f0ac4387 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 16 Nov 2023 17:30:16 -0800 Subject: [PATCH] GenCode - When generating 'setup/res/languages.php', it should be pass linter --- CRM/Core/CodeGen/I18n.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CRM/Core/CodeGen/I18n.php b/CRM/Core/CodeGen/I18n.php index 4fbe3a31f1..91cb6e1176 100644 --- a/CRM/Core/CodeGen/I18n.php +++ b/CRM/Core/CodeGen/I18n.php @@ -21,7 +21,11 @@ class CRM_Core_CodeGen_I18n extends CRM_Core_CodeGen_BaseTask { } // @todo Somewhere in 2024 or beyond, deprecate the old installer file_put_contents('../install/langs.php', "assign('langs', var_export($langs, TRUE)); + $tpl->run('languages_setup.tpl', '../setup/res/languages.php'); } public function generateSchemaStructure(): void { -- 2.25.1