From 68ae09dbda6981fb450952b4c1ecc6b2a0c9b556 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 7 Mar 2018 17:51:59 -0800 Subject: [PATCH] AllCoreTables.data.php - Don't pass through PHP_Beautifier. Update layout. --- CRM/Core/CodeGen/Reflection.php | 2 +- CRM/Core/DAO/AllCoreTables.data.php | 53 +++++++++++++++-------------- xml/templates/listAll.tpl | 2 +- 3 files changed, 30 insertions(+), 27 deletions(-) diff --git a/CRM/Core/CodeGen/Reflection.php b/CRM/Core/CodeGen/Reflection.php index ab713e2cf7..515c5b8928 100644 --- a/CRM/Core/CodeGen/Reflection.php +++ b/CRM/Core/CodeGen/Reflection.php @@ -20,7 +20,7 @@ class CRM_Core_CodeGen_Reflection extends CRM_Core_CodeGen_BaseTask { */ public function run() { echo "Generating table list\n"; - $template = new CRM_Core_CodeGen_Util_Template('php'); + $template = new CRM_Core_CodeGen_Util_Template('php', ['beautifier' => FALSE]); $template->assign('tables', $this->tables); $template->assign('genCodeChecksum', 'IGNORE'); $template->run('listAll.tpl', $this->getAbsFileName()); diff --git a/CRM/Core/DAO/AllCoreTables.data.php b/CRM/Core/DAO/AllCoreTables.data.php index aa195e1f3d..865e2aeec3 100644 --- a/CRM/Core/DAO/AllCoreTables.data.php +++ b/CRM/Core/DAO/AllCoreTables.data.php @@ -1,30 +1,33 @@ [ 'name' => 'AddressFormat', @@ -786,4 +789,4 @@ return [ 'class' => 'CRM_Price_DAO_LineItem', 'table' => 'civicrm_line_item', ], -]; +]; \ No newline at end of file diff --git a/xml/templates/listAll.tpl b/xml/templates/listAll.tpl index 32d6313ec2..729efdea1a 100644 --- a/xml/templates/listAll.tpl +++ b/xml/templates/listAll.tpl @@ -24,7 +24,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ // (GenCodeChecksum:{$genCodeChecksum}) -- 2.25.1