(NFC) Apply upcoming civicrm/coder policies (batch 2)
authorTim Otten <totten@civicrm.org>
Fri, 5 Apr 2019 21:27:21 +0000 (14:27 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 5 Apr 2019 21:27:21 +0000 (14:27 -0700)
commit5d4fcf5450aed1c1b8b3fef49efdb56a75dec7c9
treed7483ff36eb046d1bcf3e0026cd61642314d8c73
parent0d48f1cc2cefd21e794aa0c2750f328eebff80ba
(NFC) Apply upcoming civicrm/coder policies (batch 2)

Method:

* Checkout latest merged branch of civicrm/coder (`8.x-2.x-civi`)
* Run this command to autoclean a batch of 100 files
  `PG=2 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.
31 files changed:
CRM/Admin/Page/CKEditorConfig.php
CRM/Admin/Page/Extensions.php
CRM/Admin/Page/ExtensionsUpgrade.php
CRM/Admin/Page/MessageTemplates.php
CRM/Admin/Page/PaymentProcessor.php
CRM/Badge/Form/Layout.php
CRM/Batch/Form/Entry.php
CRM/Campaign/BAO/Campaign.php
CRM/Campaign/BAO/Query.php
CRM/Campaign/BAO/Survey.php
CRM/Campaign/Form/Campaign.php
CRM/Campaign/Form/Petition/Signature.php
CRM/Campaign/Form/Search.php
CRM/Campaign/Form/Search/Campaign.php
CRM/Campaign/Form/Survey/Delete.php
CRM/Campaign/Form/Survey/Questions.php
CRM/Campaign/Form/Survey/Results.php
CRM/Campaign/Form/Task.php
CRM/Campaign/Form/Task/Interview.php
CRM/Campaign/Form/Task/Print.php
CRM/Campaign/Form/Task/Release.php
CRM/Campaign/Form/Task/Result.php
CRM/Campaign/Page/AJAX.php
CRM/Campaign/Page/Vote.php
CRM/Case/BAO/Case.php
CRM/Case/BAO/CaseType.php
CRM/Case/Form/Activity/ChangeCaseStatus.php
CRM/Case/Form/Activity/OpenCase.php
CRM/Case/Form/Case.php
CRM/Case/Form/CaseView.php
CRM/Case/Form/CustomData.php