phpcs - Fix error, "Visibility must be declared on method"
[civicrm-core.git] / tests / phpunit / WebTest / Import / ContactSubtypeTest.php
index 2e378ad639376fe7aa95dde7c274a294b08e9551..464482d17ad0c34df798c060902e34c146ec0691 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 */
 
 require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_Import_ContactSubtypeTest
+ */
 class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
 
   protected function setUp() {
@@ -34,7 +38,7 @@ class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
   /*
    *  Test contact import for Individuals Subtype.
    */
-  function testIndividualSubtypeImport() {
+  public function testIndividualSubtypeImport() {
     $this->webtestLogin();
 
     // Get sample import data.
@@ -116,7 +120,7 @@ class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
   /*
    *  Test contact import for Organization Subtype.
    */
-  function testOrganizationSubtypeImport() {
+  public function testOrganizationSubtypeImport() {
     $this->webtestLogin();
 
     // Get sample import data.
@@ -192,7 +196,7 @@ class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
   /*
    *  Test contact import for Household Subtype.
    */
-  function testHouseholdSubtypeImport() {
+  public function testHouseholdSubtypeImport() {
     $this->webtestLogin();
 
     // Create Household Subtype
@@ -271,7 +275,10 @@ class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
   /*
    *  Helper function to create Household Subtype.
    */
-  function _createHouseholdSubtype() {
+  /**
+   * @return string
+   */
+  public function _createHouseholdSubtype() {
 
     // Visit to create contact subtype
     $this->openCiviPage("admin/options/subtype", "action=add&reset=1");
@@ -288,7 +295,10 @@ class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
   /*
    *  Helper function to provide data for contact import for Individuals Subtype.
    */
-  function _individualSubtypeCSVData() {
+  /**
+   * @return array
+   */
+  public function _individualSubtypeCSVData() {
     $headers = array(
       'first_name' => 'First Name',
       'middle_name' => 'Middle Name',
@@ -333,7 +343,10 @@ class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
   /*
    *  Helper function to provide data for contact import for Organizations Subtype.
    */
-  function _organizationSubtypeCSVData() {
+  /**
+   * @return array
+   */
+  public function _organizationSubtypeCSVData() {
     $headers = array(
       'organization_name' => 'Organization Name',
       'email' => 'Email',
@@ -372,7 +385,10 @@ class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
   /*
    *  Helper function to provide data for contact import for Household Subtype.
    */
-  function _householdSubtypeCSVData() {
+  /**
+   * @return array
+   */
+  public function _householdSubtypeCSVData() {
     $headers = array(
       'household_name' => 'Household Name',
       'email' => 'Email',