(NFC) Apply upcoming civicrm/coder policies (batch 1)
authorTim Otten <totten@civicrm.org>
Fri, 5 Apr 2019 21:04:17 +0000 (14:04 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 5 Apr 2019 21:04:17 +0000 (14:04 -0700)
commit0d48f1cc2cefd21e794aa0c2750f328eebff80ba
tree05dfc400c307c761abc8f0023cd5cc4023b02ebf
parentcf9ccf98dd6af3c4251df206fbf60b2a508b3c49
(NFC) Apply upcoming civicrm/coder policies (batch 1)

Method:

* Checkout latest merged branch of civicrm/coder (`8.x-2.x-civi`)
* Run this command to autoclean a batch of 100 files
 `PG=1 SIZE=100 ; find Civi/ CRM/ api/ bin/ extern/ tests/ -name '*.php' | grep -v /examples/ | grep -v /DAO/ | sort | head -n $(( $PG  * $SIZE )) | tail -n $SIZE | xargs phpcbf-civi`
* Go through the diff. For anything that looks wonky, open in an editor and find a better solution

Note: The automated checker makes good points about awkward indentation, but the automated cleanup often makes it
worse.  So that's why I have to open it up.
28 files changed:
CRM/ACL/Form/ACL.php
CRM/ACL/Form/ACLBasic.php
CRM/ACL/Page/ACL.php
CRM/Activity/ActionMapping.php
CRM/Activity/BAO/Activity.php
CRM/Activity/Form/Activity.php
CRM/Activity/Form/ActivityView.php
CRM/Activity/Form/Task/FileOnCase.php
CRM/Activity/Import/Form/MapField.php
CRM/Activity/Import/Parser.php
CRM/Activity/Tokens.php
CRM/Admin/Form.php
CRM/Admin/Form/CMSUser.php
CRM/Admin/Form/Extensions.php
CRM/Admin/Form/Generic.php
CRM/Admin/Form/Job.php
CRM/Admin/Form/Mapping.php
CRM/Admin/Form/MessageTemplates.php
CRM/Admin/Form/Options.php
CRM/Admin/Form/PaymentProcessor.php
CRM/Admin/Form/PdfFormats.php
CRM/Admin/Form/Persistent.php
CRM/Admin/Form/Preferences.php
CRM/Admin/Form/RelationshipType.php
CRM/Admin/Form/Setting.php
CRM/Admin/Form/Setting/UF.php
CRM/Admin/Form/WordReplacements.php
CRM/Admin/Page/AJAX.php