From 29541621ca12821c3d2191de4905391ab4142d10 Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 19 Nov 2016 14:30:54 +1300 Subject: [PATCH] Whitespace --- CRM/Contribute/Form/Contribution.php | 2 +- .../phpunit/CRM/Event/Form/Registration/ConfirmTest.php | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CRM/Contribute/Form/Contribution.php b/CRM/Contribute/Form/Contribution.php index e90b054fef..31667ac21e 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -1445,7 +1445,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP * @throws \Exception */ protected function submit($submittedValues, $action, $pledgePaymentID) { - $softParams = $softIDs = array(); + $softIDs = array(); $pId = $contribution = $isRelatedId = FALSE; $this->_params = $submittedValues; $this->beginPostProcess(); diff --git a/tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php b/tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php index bd6cf5b2df..82f9910b8e 100644 --- a/tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php +++ b/tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php @@ -50,10 +50,9 @@ class CRM_Event_Form_Registration_ConfirmTest extends CiviUnitTestCase { 'scriptFee' => '', 'scriptArray' => '', 'priceSetId' => '6', - 'price_7' => - array ( - 13 => 1, - ), + 'price_7' => array( + 13 => 1, + ), 'payment_processor_id' => '1', 'bypass_payment' => '', 'MAX_FILE_SIZE' => '33554432', @@ -73,7 +72,7 @@ class CRM_Event_Form_Registration_ConfirmTest extends CiviUnitTestCase { 'button' => '_qf_Register_upload', 'billing_state_province-5' => 'AP', 'billing_country-5' => 'US', - ) + ), ), )); $this->callAPISuccessGetSingle('Participant', array()); -- 2.25.1