INFRA-132 - Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines
authorTim Otten <totten@civicrm.org>
Tue, 20 Jan 2015 03:19:00 +0000 (19:19 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 20 Jan 2015 03:19:00 +0000 (19:19 -0800)
CRM/Contact/BAO/Group.php
CRM/Contact/Form/Contact.php
CRM/Contact/Form/Inline/Email.php
CRM/Contact/Form/Search/Advanced.php
CRM/Contact/Form/Task/Label.php
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Core/BAO/Phone.php
CRM/Member/Form/MembershipType.php
tests/phpunit/CRM/Core/Payment/BaseIPNTest.php

index 25549003ff6889fae3f4050615f312b1e4bdb898..333e201d096bc61eaeb7b5d55dc85382ebfd47b9 100644 (file)
@@ -1224,7 +1224,6 @@ WHERE {$whereClause}";
 
     $clauses[] = self::getPermissionClause();
 
-
     return implode(' AND ', $clauses);
   }
 
index 44b677a99d907409e83952b0946f3790a91be8e7..cb7122d0a4dc7305d41789de17313677bbc97ad4 100644 (file)
@@ -433,7 +433,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
     //set address block defaults
     CRM_Contact_Form_Edit_Address::setDefaultValues($defaults, $this);
 
-
     if (!empty($defaults['image_URL'])) {
       list($imageWidth, $imageHeight) = getimagesize(CRM_Utils_String::unstupifyUrl($defaults['image_URL']));
       list($imageThumbWidth, $imageThumbHeight) = CRM_Contact_BAO_Contact::getThumbSize($imageWidth, $imageHeight);
@@ -1180,7 +1179,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
 
         $errors['_qf_default'] = $duplicateContactsLinks;
 
-
         // let smarty know that there are duplicates
         $template = CRM_Core_Smarty::singleton();
         $template->assign('isDuplicate', 1);
@@ -1401,7 +1399,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
         $userId = $contactId;
       }
 
-
       // get deceased status id
       $allStatus = CRM_Member_PseudoConstant::membershipStatus();
       $deceasedStatusId = array_search('Deceased', $allStatus);
@@ -1440,7 +1437,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
           'max_related' => $dao->max_related,
         );
 
-
         CRM_Member_BAO_MembershipLog::add($membershipLog, CRM_Core_DAO::$_nullArray);
 
         //create activity when membership status is changed
index 4f381cedeb91c1d7e250f04f2b418e2aae77d944..98c3a2a17a73ae04327acaf2b7fc54cea75ebf44 100644 (file)
@@ -119,7 +119,6 @@ class CRM_Contact_Form_Inline_Email extends CRM_Contact_Form_Inline {
         }
       }
 
-
       if (empty($hasPrimary) && !empty($hasData)) {
         $errors["email[1][is_primary]"] = ts('One email should be marked as primary.');
       }
index 63c393f29e5cf23a57836705b6f380bbc2fc2633..de9472fcc31fdd4be89d4d274d4f74fe8bad3a21 100644 (file)
@@ -271,7 +271,6 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
       $this->_formValues['group'] = array($this->_groupID => 1);
     }
 
-
     //search for civicase
     if (is_array($this->_formValues)) {
       $allCases = FALSE;
index 00cd4bc996b76bbe8da2fc51bec8cc305ec28d80..d7b9ba06728339809e1577bdaf3c56acbabd7090 100644 (file)
@@ -63,7 +63,6 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
 
     $this->add('select', 'label_name', ts('Select Label'), array('' => ts('- select label -')) + $label, TRUE);
 
-
     // add select for Location Type
     $this->addElement('select', 'location_type_id', ts('Select Location'),
       array(
index 78711ba826575bc801ea276291544042abdb82d7..c5a8048902660f28d8779e832aadbe23bdded360 100644 (file)
@@ -1416,7 +1416,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
             'actual_amount' => $scheduledAmount,
           );
 
-
           CRM_Pledge_BAO_PledgePayment::add($pledgePaymentParams);
         }
 
@@ -1505,7 +1504,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
       CRM_Core_BAO_Note::add($noteParams, array());
     }
 
-
     if (isset($params['related_contact'])) {
       $contactID = $params['related_contact'];
     }
index 635626366916b35612ede13c37ed865a996bf868..32ea5c9be1870a28ec6a5965946e6050de673a8b 100644 (file)
@@ -142,7 +142,6 @@ LEFT JOIN civicrm_location_type ON ( civicrm_phone.location_type_id = civicrm_lo
 WHERE     civicrm_contact.id = %1 $cond
 ORDER BY civicrm_phone.is_primary DESC,  phone_id ASC ";
 
-
     $params = array(
       1 => array(
         $id,
index c922a909b46d38d907e721178fb8872e778d89d5..ef83468912c5733bb8be6c3ce1c67d5815d79acc 100644 (file)
@@ -83,7 +83,6 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig {
       }
     }
 
-
     //setting default fixed_period_start_day & fixed_period_rollover_day
     $periods = array('fixed_period_start_day', 'fixed_period_rollover_day');
     foreach ($periods as $per) {
index d98a4283f357ad828b10c982e741d5b423a80aaa..84fc854150a34bab983d338249f96e01d30ae32e 100644 (file)
@@ -291,7 +291,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
     $this->assertArrayNotHasKey('pledge_payment', $this->objects);
     $this->assertEquals('Could not find payment processor for contribution record: 1', $result['error_message']);
 
-
     $this->ids['pledge_payment'][0] = 999;
     $result = $this->IPN->loadObjects($this->input, $this->ids, $this->objects, TRUE, $this->_processorId, array('return_error' => 1));
     $this->assertArrayHasKey('error_message', $result);
@@ -438,7 +437,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
    */
   public function _setUpContributionObjects($contributionPage = FALSE) {
 
-
     $contribution = new CRM_Contribute_BAO_Contribution();
     $contribution->id = $this->_contributionId;
     $contribution->find(TRUE);