• 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
..
Util Loading commit data...
BaseTask.php Loading commit data...
Config.php Loading commit data...
DAO.php Loading commit data...
I18n.php Loading commit data...
ITask.php Loading commit data...
Main.php Loading commit data...
Reflection.php Loading commit data...
Schema.php Loading commit data...
Specification.php Loading commit data...
Test.php Loading commit data...