• totten's avatar
    (NFC) SchemaStructure.php - Fix up mismatch between stored+generated code · 3eb2aab1
    totten authored
    Overview
    --------
    
    The class `CRM_Core_I18n_SchemaStructure` is autogenerated via GenCode, and it is also commited to git.
    The two forms don't match because of the recent code-style cleanup.
    
    Before
    ------
    
    After running GenCode, there appears to be uncommitted changes in `CRM_Core_I18n_SchemaStructure`.
    The changes indicate a reversion in code-style (e.g. `null` vs `NULL`; some whitespace).
    
    After
    -----
    
    GenCode produces output which matches the recent cleanup.
    
    Comments
    --------
    
    Fixing `null` / `NULL` was easy. However, the whitespace mismatch was more subtle -- because the
    `PHP_Beautifier` was messing it up. To resolve, I disabled `PHP_Beautifier` for this file, and fixed
    the underlying templates to generate well-formed code.
    
    The output of the process matches the existing code; therefore, the change
    have no functional impact (NFC).  You can see this by running `setup.sh` and
    checking the `git status`.
    3eb2aab1
Name
Last commit
Last update
..
message_templates Loading commit data...
access.tpl Loading commit data...
case_sample.tpl Loading commit data...
civicrm_acl.tpl Loading commit data...
civicrm_country.tpl Loading commit data...
civicrm_currency.tpl Loading commit data...
civicrm_data.tpl Loading commit data...
civicrm_msg_template.tpl Loading commit data...
civicrm_navigation.tpl Loading commit data...
civicrm_sample.tpl Loading commit data...
civicrm_state_province.tpl Loading commit data...
civicrm_version.tpl Loading commit data...
civicrm_version_sql.tpl Loading commit data...
dao.tpl Loading commit data...
drop.tpl Loading commit data...
joomla.tpl Loading commit data...
languages.tpl Loading commit data...
listAll.tpl Loading commit data...
schema.tpl Loading commit data...
schema_structure.tpl Loading commit data...