INFRA-132 - tests/ - PHPStorm cleanup
[civicrm-core.git] / tests / phpunit / CRM / Contact / BAO / ContactType / RelationshipTest.php
index f3841f8da9e48151307c861aafc31d3dfdbcf11e..de1c994975fd5c34362163ba2ab44eb57a4b635a 100644 (file)
@@ -92,7 +92,6 @@ DELETE FROM civicrm_contact_type
   /**
    * Methods create relationshipType with valid data
    * success expected
-   *
    */
   public function testRelationshipTypeAddIndiviParent() {
     //check Individual to Parent RelationshipType
@@ -152,7 +151,6 @@ DELETE FROM civicrm_contact_type
 
   /**
    * Methods create relationshipe within same contact type with invalid Relationships
-   *
    */
   public function testRelationshipCreateInvalidWithinSameType() {
     //check for Individual to Parent
@@ -164,8 +162,8 @@ DELETE FROM civicrm_contact_type
       'contact_sub_type_b' => $this->parent,
     );
     $relTypeIds = array();
-    $relType    = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
-    $params     = array(
+    $relType = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
+    $params = array(
       'relationship_type_id' => $relType->id . '_a_b',
       'contact_check' => array($this->indivi_student => 1),
     );
@@ -180,7 +178,6 @@ DELETE FROM civicrm_contact_type
 
   /**
    * Methods create relationshipe within diff contact type with invalid Relationships
-   *
    */
   public function testRelCreateInvalidWithinDiffTypeSpocorIndivi() {
     //check for Sponcer to Individual
@@ -192,8 +189,8 @@ DELETE FROM civicrm_contact_type
       'contact_type_b' => 'Individual',
     );
     $relTypeIds = array();
-    $relType    = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
-    $params     = array(
+    $relType = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
+    $params = array(
       'relationship_type_id' => $relType->id . '_a_b',
       'contact_check' => array($this->individual => 1),
     );
@@ -217,8 +214,8 @@ DELETE FROM civicrm_contact_type
       'contact_sub_type_b' => 'Sponser',
     );
     $relTypeIds = array();
-    $relType    = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
-    $params     = array(
+    $relType = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
+    $params = array(
       'relationship_type_id' => $relType->id . '_a_b',
       'contact_check' => array($this->individual => 1),
     );
@@ -234,7 +231,6 @@ DELETE FROM civicrm_contact_type
   /**
    * Methods create relationshipe within same contact type with valid data
    * success expected
-   *
    */
   public function testRelationshipCreateWithinSameType() {
     //check for Individual to Parent
@@ -246,8 +242,8 @@ DELETE FROM civicrm_contact_type
       'contact_sub_type_b' => $this->parent,
     );
     $relTypeIds = array();
-    $relType    = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
-    $params     = array(
+    $relType = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
+    $params = array(
       'relationship_type_id' => $relType->id . '_a_b',
       'is_active' => 1,
       'contact_check' => array($this->indivi_parent => $this->indivi_parent),
@@ -263,7 +259,6 @@ DELETE FROM civicrm_contact_type
   /**
    * Methods create relationshipe within different contact type with valid data
    * success expected
-   *
    */
   public function testRelCreateWithinDiffTypeSponsorIndivi() {
     //check for Sponcer to Individual
@@ -275,8 +270,8 @@ DELETE FROM civicrm_contact_type
       'contact_type_b' => 'Individual',
     );
     $relTypeIds = array();
-    $relType    = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
-    $params     = array(
+    $relType = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
+    $params = array(
       'relationship_type_id' => $relType->id . '_a_b',
       'is_active' => 1,
       'contact_check' => array($this->indivi_student => 1),
@@ -300,8 +295,8 @@ DELETE FROM civicrm_contact_type
       'contact_sub_type_b' => $this->sponsor,
     );
     $relTypeIds = array();
-    $relType    = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
-    $params     = array(
+    $relType = CRM_Contact_BAO_RelationshipType::add($relTypeParams, $relTypeIds);
+    $params = array(
       'relationship_type_id' => $relType->id . '_a_b',
       'is_active' => 1,
       'contact_check' => array($this->organization_sponsor => 1),