INFRA-132 add full stop after comments
authorEileen McNaughton <eileen@fuzion.co.nz>
Wed, 4 Feb 2015 00:02:05 +0000 (13:02 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Wed, 4 Feb 2015 00:02:05 +0000 (13:02 +1300)
214 files changed:
CRM/Admin/Form.php
CRM/Admin/Form/CMSUser.php
CRM/Admin/Form/ContactType.php
CRM/Admin/Form/Extensions.php
CRM/Admin/Form/Job.php
CRM/Admin/Form/LabelFormats.php
CRM/Admin/Form/LocationType.php
CRM/Admin/Form/MailSettings.php
CRM/Admin/Form/Mapping.php
CRM/Admin/Form/MessageTemplates.php
CRM/Admin/Form/Navigation.php
CRM/Admin/Form/OptionGroup.php
CRM/Admin/Form/Options.php
CRM/Admin/Form/PaymentProcessor.php
CRM/Admin/Form/PaymentProcessorType.php
CRM/Admin/Form/PdfFormats.php
CRM/Admin/Form/Preferences.php
CRM/Admin/Form/Preferences/Address.php
CRM/Admin/Form/Preferences/Contribute.php
CRM/Admin/Form/Preferences/Display.php
CRM/Admin/Form/Preferences/Member.php
CRM/Admin/Form/PreferencesDate.php
CRM/Admin/Form/RelationshipType.php
CRM/Admin/Form/ScheduleReminders.php
CRM/Admin/Form/Setting/Component.php
CRM/Admin/Form/Setting/Date.php
CRM/Admin/Form/Setting/Debugging.php
CRM/Admin/Form/Setting/Localization.php
CRM/Admin/Form/Setting/Mail.php
CRM/Admin/Form/Setting/Mapping.php
CRM/Admin/Form/Setting/Miscellaneous.php
CRM/Admin/Form/Setting/Path.php
CRM/Admin/Form/Setting/Search.php
CRM/Admin/Form/Setting/Smtp.php
CRM/Admin/Form/Setting/UF.php
CRM/Admin/Form/Setting/UpdateConfigBackend.php
CRM/Admin/Form/Setting/Url.php
CRM/Admin/Form/Tag.php
CRM/Admin/Form/WordReplacements.php
CRM/Admin/Page/AJAX.php
CRM/Admin/Page/ContactType.php
CRM/Admin/Page/EventTemplate.php
CRM/Admin/Page/Extensions.php
CRM/Admin/Page/ExtensionsUpgrade.php
CRM/Admin/Page/Job.php
CRM/Admin/Page/JobLog.php
CRM/Admin/Page/LabelFormats.php
CRM/Admin/Page/LocationType.php
CRM/Admin/Page/MailSettings.php
CRM/Admin/Page/Mapping.php
CRM/Admin/Page/MessageTemplates.php
CRM/Admin/Page/Navigation.php
CRM/Admin/Page/Options.php
CRM/Admin/Page/PaymentProcessor.php
CRM/Admin/Page/PaymentProcessorType.php
CRM/Admin/Page/PdfFormats.php
CRM/Admin/Page/Persistent.php
CRM/Admin/Page/PreferencesDate.php
CRM/Admin/Page/RelationshipType.php
CRM/Admin/Page/ScheduleReminders.php
CRM/Admin/Page/Tag.php
CRM/Badge/BAO/Badge.php
CRM/Badge/BAO/Layout.php
CRM/Badge/Form/Layout.php
CRM/Badge/Page/Layout.php
CRM/Batch/BAO/Batch.php
CRM/Batch/Form/Batch.php
CRM/Batch/Form/Entry.php
CRM/Batch/Page/AJAX.php
CRM/Batch/Page/Batch.php
CRM/Core/Action.php
CRM/Core/BAO/ActionSchedule.php
CRM/Core/BAO/Address.php
CRM/Event/Form/Task/Badge.php
CRM/Event/Form/Task/Batch.php
CRM/Event/Form/Task/Delete.php
CRM/PCP/BAO/PCP.php
tests/extensions/test.extension.manager.paymenttest/main.php
tests/extensions/test.extension.manager.searchtest/main.php
tests/phpunit/AllTests.php
tests/phpunit/CRM/Activity/AllTests.php
tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php
tests/phpunit/CRM/Activity/BAO/ActivityTest.php
tests/phpunit/CRM/AllTests.php
tests/phpunit/CRM/Batch/Form/EntryTest.php
tests/phpunit/CRM/Case/AllTests.php
tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php
tests/phpunit/CRM/Case/BAO/CaseTypeTest.php
tests/phpunit/CRM/Contact/AllTests.php
tests/phpunit/CRM/Contact/BAO/ContactTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php
tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php
tests/phpunit/CRM/Contact/BAO/GroupTest.php
tests/phpunit/CRM/Contact/BAO/QueryTest.php
tests/phpunit/CRM/Contribute/AllTests.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/CRM/Core/AllTests.php
tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php
tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php
tests/phpunit/CRM/Core/CommunityMessagesTest.php
tests/phpunit/CRM/Core/ManagedEntitiesTest.php
tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php
tests/phpunit/CRM/Core/Payment/BaseIPNTest.php
tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php
tests/phpunit/CRM/Core/RegionTest.php
tests/phpunit/CRM/Core/TransactionTest.php
tests/phpunit/CRM/Event/AllTests.php
tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php
tests/phpunit/CRM/Extension/AllTests.php
tests/phpunit/CRM/Extension/Manager/AllTests.php
tests/phpunit/CRM/Extension/Manager/ModuleTest.php
tests/phpunit/CRM/Extension/Manager/PaymentTest.php
tests/phpunit/CRM/Extension/Manager/ReportTest.php
tests/phpunit/CRM/Extension/Manager/SearchTest.php
tests/phpunit/CRM/Extension/ManagerTest.php
tests/phpunit/CRM/Group/Page/AjaxTest.php
tests/phpunit/CRM/Mailing/BAO/SpoolTest.php
tests/phpunit/CRM/Member/AllTests.php
tests/phpunit/CRM/Member/BAO/MembershipTest.php
tests/phpunit/CRM/Member/Form/AllTests.php
tests/phpunit/CRM/Member/Form/MembershipTest.php
tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php
tests/phpunit/CRM/PCP/BAO/PCPTest.php
tests/phpunit/CRM/Pledge/AllTests.php
tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php
tests/phpunit/CRM/Pledge/BAO/PledgeTest.php
tests/phpunit/CRM/Queue/AllTests.php
tests/phpunit/CRM/Queue/Queue/AllTests.php
tests/phpunit/CRM/Queue/Queue/SqlTest.php
tests/phpunit/CRM/Queue/QueueTest.php
tests/phpunit/CRM/UF/Page/ProfileEditorTest.php
tests/phpunit/CRM/Utils/Cache/AllTests.php
tests/phpunit/CRM/Utils/Cache/SqlGroupTest.php
tests/phpunit/CRM/Utils/GlobalStackTest.php
tests/phpunit/Civi/AllTests.php
tests/phpunit/CiviTest/CiviDBAssert.php
tests/phpunit/CiviTest/CiviMailUtils.php
tests/phpunit/CiviTest/CiviSeleniumTestCase.php
tests/phpunit/CiviTest/CiviTestSuite.php
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/CiviTest/Contact.php
tests/phpunit/CiviTest/ContributionPage.php
tests/phpunit/CiviTest/Custom.php
tests/phpunit/CiviTest/Event.php
tests/phpunit/CiviTest/Membership.php
tests/phpunit/CiviTest/Participant.php
tests/phpunit/HelloTest.php
tests/phpunit/Utils.php
tests/phpunit/WebTest/Admin/MoveCustomDataTest.php
tests/phpunit/WebTest/AllTests.php
tests/phpunit/WebTest/Contact/AdvancedSearchTest.php
tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php
tests/phpunit/WebTest/Contact/InlineFieldsEditTest.php
tests/phpunit/WebTest/Contact/MergeContactsTest.php
tests/phpunit/WebTest/Contact/SearchBuilderTest.php
tests/phpunit/WebTest/Contribute/OfflineContributionTest.php
tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php
tests/phpunit/WebTest/Import/AddressParsingTest.php
tests/phpunit/WebTest/Import/DuplicateMatchingTest.php
tests/phpunit/WebTest/Import/MatchExternalIdTest.php
tests/phpunit/WebTest/Import/MultipleRelationshipTest.php
tests/phpunit/WebTest/Import/ParticipantTest.php
tests/phpunit/WebTest/Release/ReleaseTestCase.php
tests/phpunit/WebTest/Utils/RestTest.php
tests/phpunit/api/v3/ACLPermissionTest.php
tests/phpunit/api/v3/ActivityTest.php
tests/phpunit/api/v3/AddressTest.php
tests/phpunit/api/v3/AllTests.php
tests/phpunit/api/v3/CRM11793Test.php
tests/phpunit/api/v3/ConstantTest.php
tests/phpunit/api/v3/ContactTest.php
tests/phpunit/api/v3/ContactTypeTest.php
tests/phpunit/api/v3/ContributionPageTest.php
tests/phpunit/api/v3/ContributionSoftTest.php
tests/phpunit/api/v3/ContributionTest.php
tests/phpunit/api/v3/CustomFieldTest.php
tests/phpunit/api/v3/CustomGroupTest.php
tests/phpunit/api/v3/CustomValueContactTypeTest.php
tests/phpunit/api/v3/DashboardContactTest.php
tests/phpunit/api/v3/DashboardTest.php
tests/phpunit/api/v3/EventTest.php
tests/phpunit/api/v3/GrantTest.php
tests/phpunit/api/v3/GroupContactTest.php
tests/phpunit/api/v3/GroupOrganizationTest.php
tests/phpunit/api/v3/JobProcessMailingTest.php
tests/phpunit/api/v3/MailSettingsTest.php
tests/phpunit/api/v3/MembershipStatusTest.php
tests/phpunit/api/v3/MembershipTest.php
tests/phpunit/api/v3/MessageTemplateTest.php
tests/phpunit/api/v3/OptionGroupTest.php
tests/phpunit/api/v3/OptionValueTest.php
tests/phpunit/api/v3/ParticipantPaymentTest.php
tests/phpunit/api/v3/ParticipantTest.php
tests/phpunit/api/v3/PaymentProcessorTest.php
tests/phpunit/api/v3/PaymentProcessorTypeTest.php
tests/phpunit/api/v3/PledgePaymentTest.php
tests/phpunit/api/v3/PledgeTest.php
tests/phpunit/api/v3/ProfileTest.php
tests/phpunit/api/v3/RelationshipTest.php
tests/phpunit/api/v3/RelationshipTypeTest.php
tests/phpunit/api/v3/SettingTest.php
tests/phpunit/api/v3/SurveyTest.php
tests/phpunit/api/v3/SyntaxConformanceTest.php
tests/phpunit/api/v3/SystemTest.php
tests/phpunit/api/v3/TagTest.php
tests/phpunit/api/v3/TaxContributionPageTest.php
tests/phpunit/api/v3/UFFieldTest.php
tests/phpunit/api/v3/UFGroupTest.php
tests/phpunit/api/v3/UFJoinTest.php
tests/phpunit/api/v3/UFMatchTest.php
tests/phpunit/api/v3/UtilsTest.php
tests/phpunit/api/v3/WebsiteTest.php

index 3b7f16564cda4e7e4a2deb72fe3493b55f6fa0b0..516b24f3c11c8be4ded342ad489edf5d28324a92 100644 (file)
@@ -46,21 +46,21 @@ class CRM_Admin_Form extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * The default values for form fields
+   * The default values for form fields.
    *
    * @var int
    */
   protected $_values;
 
   /**
-   * The name of the BAO object for this form
+   * The name of the BAO object for this form.
    *
    * @var string
    */
   protected $_BAOName;
 
   /**
-   * Basic setup
+   * Basic setup.
    */
   public function preProcess() {
     $this->_id = $this->get('id');
@@ -105,7 +105,7 @@ class CRM_Admin_Form extends CRM_Core_Form {
   }
 
   /**
-   * Add standard buttons
+   * Add standard buttons.
    *
    * @return void
    */
index 98221f9f320c40baea21b2d436a22734fef08de8..7ba9c3f33861fab1d84524354377e65094979337 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_CMSUser extends CRM_Core_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -61,7 +61,7 @@ class CRM_Admin_Form_CMSUser extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index baf71f1136915524b8e508b95d9d456104db411d..cce0770293d70cbe2b81bf54c87b160b5a40e1fa 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_ContactType extends CRM_Admin_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -82,7 +82,7 @@ class CRM_Admin_Form_ContactType extends CRM_Admin_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -117,7 +117,7 @@ class CRM_Admin_Form_ContactType extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 1d55aeb9ac3da5bc6b261164739452476682b5a5..1d4e11d262c88a96ebcdb0fe5dadf9fca1dbcc5b 100644 (file)
@@ -95,7 +95,7 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -148,7 +148,7 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -167,7 +167,7 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index f0ae436e2525b8093331dd2b42403edba990f359..5e13f1b548e3674ca048047fc7062bcdff7ec3b0 100644 (file)
@@ -62,7 +62,7 @@ class CRM_Admin_Form_Job extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @param bool $check
    *
@@ -171,7 +171,7 @@ class CRM_Admin_Form_Job extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index a0645235b422bb9f0036c93bb1009c17db4e3635..469c3d09a254a099a1947961ddeb303a48d3cbca 100644 (file)
@@ -41,7 +41,7 @@
 class CRM_Admin_Form_LabelFormats extends CRM_Admin_Form {
 
   /**
-   * Label Format ID
+   * Label Format ID.
    */
   protected $_id = NULL;
 
@@ -61,7 +61,7 @@ class CRM_Admin_Form_LabelFormats extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -179,7 +179,7 @@ class CRM_Admin_Form_LabelFormats extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 9388183a45ac4de7be88c6a7e43b65a482075760..c9747436385760dc062d0de9d3f87d538a27ff8d 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_LocationType extends CRM_Admin_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -82,7 +82,7 @@ class CRM_Admin_Form_LocationType extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index b9f43ab40918df7ceeac07337caa7f5142489061..cf4ac162fe2cc2b97b1e30fb00e0086c12e76e5a 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_MailSettings extends CRM_Admin_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -92,7 +92,7 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form {
   }
 
   /**
-   * Add local and global form rules
+   * Add local and global form rules.
    *
    *
    * @return void
@@ -102,7 +102,7 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -121,7 +121,7 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index ce3a2ffffc24705f4bb5722f780164b325a60d29..15e3b1576e4127da0fa1e96e43f9cf13103758e4 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_Mapping extends CRM_Admin_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -91,7 +91,7 @@ class CRM_Admin_Form_Mapping extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index f9f07549a016b14f2aa5ea49595370447114fa57..b85b1483dc82c880027e2a8f1dabcb0d4ac6e54b 100644 (file)
@@ -109,7 +109,7 @@ class CRM_Admin_Form_MessageTemplates extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -201,7 +201,7 @@ class CRM_Admin_Form_MessageTemplates extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 9daada8947024789f7d3b1ad09ece9eb875e104c..15c1fdd169aaa348b8ba1cbd09eb19cb5875af9d 100644 (file)
 class CRM_Admin_Form_Navigation extends CRM_Admin_Form {
 
   /**
-   * The parent id of the navigation menu
+   * The parent id of the navigation menu.
    */
   protected $_currentParentID = NULL;
 
   /**
-   * Default values
+   * Default values.
    */
   protected $_defaults = array();
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -142,7 +142,7 @@ class CRM_Admin_Form_Navigation extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 2b789e2792d327bce5fac8baa8eebe120a2161cd..4d7433e7cc079630061d7a16e721018fd7a736e8 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_OptionGroup extends CRM_Admin_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -101,7 +101,7 @@ class CRM_Admin_Form_OptionGroup extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 95dc103b7ffcbee0d05cb193d503d3eb19c3c01e..555c55971ec25965070077dec688590813667f93 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_Options extends CRM_Admin_Form {
 
   /**
-   * The option group name
+   * The option group name.
    *
    * @var array
    */
@@ -144,7 +144,7 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -331,7 +331,7 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -385,7 +385,7 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index eda41c979c795d152ccdc6f814450da83fac0799..133b9e569c7eb9cf2d0aaf0eaa525d27b483ba77 100644 (file)
@@ -162,7 +162,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @param bool $check
    *
@@ -337,7 +337,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return Void
@@ -365,7 +365,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
   }
 
   /**
-   * Save a payment processor
+   * Save a payment processor.
    *
    * @param $values
    * @param int $domainID
index 0f77aebd9813ca4d8e46ad43e6710041d4d44c86..a671c4242fd7fe8e969fdbb1e84e9b0adcffcadc 100644 (file)
@@ -146,7 +146,7 @@ class CRM_Admin_Form_PaymentProcessorType extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @param bool $check
    *
@@ -205,7 +205,7 @@ class CRM_Admin_Form_PaymentProcessorType extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 2c15f18caddcaee5b83c8620586c9ba9f8f7f131..7626bc3207bab2605781c27f7467d8af197f8f01 100644 (file)
 class CRM_Admin_Form_PdfFormats extends CRM_Admin_Form {
 
   /**
-   * PDF Page Format ID
+   * PDF Page Format ID.
    */
   protected $_id = NULL;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -109,7 +109,7 @@ class CRM_Admin_Form_PdfFormats extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index fcc2de5ba835b86c0eb03e51b73d69ac2efb7ded..2da915f66a186c7021d12aa815f93509430aa89b 100644 (file)
@@ -139,7 +139,7 @@ class CRM_Admin_Form_Preferences extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -234,7 +234,7 @@ class CRM_Admin_Form_Preferences extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
@@ -251,7 +251,7 @@ class CRM_Admin_Form_Preferences extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 39f4c2d37a5132ce9895aa70f973dfbdd59679c4..c09419bfc0e2a47bccac050c364244a6e92eabfe 100644 (file)
@@ -135,7 +135,7 @@ class CRM_Admin_Form_Preferences_Address extends CRM_Admin_Form_Preferences {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -179,7 +179,7 @@ class CRM_Admin_Form_Preferences_Address extends CRM_Admin_Form_Preferences {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 2f6e0a486f0f786504b0618253d87170c6a9e775..66f3892359953ab54949aef8a1b751158fe4cf03 100644 (file)
@@ -6,7 +6,7 @@
  */
 class CRM_Admin_Form_Preferences_Contribute extends CRM_Admin_Form_Preferences {
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
@@ -84,7 +84,7 @@ class CRM_Admin_Form_Preferences_Contribute extends CRM_Admin_Form_Preferences {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -106,7 +106,7 @@ class CRM_Admin_Form_Preferences_Contribute extends CRM_Admin_Form_Preferences {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 7edef9655f57a93a99aa3b579d4a836ddb403354..989302977b7c36f81387abf1441ab5203e8503ba 100644 (file)
@@ -140,7 +140,7 @@ class CRM_Admin_Form_Preferences_Display extends CRM_Admin_Form_Preferences {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -203,7 +203,7 @@ class CRM_Admin_Form_Preferences_Display extends CRM_Admin_Form_Preferences {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 42eba7f811b6feb3fe85b850777fc58abc2aca79..e48997d602388e0d600598c56927425089248661 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Admin_Form_Preferences_Member extends CRM_Admin_Form_Preferences {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 2c2f05ddb94e46f7690cd2843383b53d4ea81798..f3f56eb0ee905deb602bcec449f7fa5a63c68cdb 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -88,7 +88,7 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
@@ -108,7 +108,7 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 3aaf217d6ceb1cf30c43d27d276904a11940b612..2cac00adec77b20a2611caaeeb2f3e4eda4b42f1 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_RelationshipType extends CRM_Admin_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -131,7 +131,7 @@ class CRM_Admin_Form_RelationshipType extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index c37b020ab798529670be3766e4b698705bf21c5f..0cba27518f24de0bd7d62c0e8a632d41bb722c0b 100644 (file)
 class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form {
 
   /**
-   * Scheduled Reminder ID
+   * Scheduled Reminder ID.
    */
   protected $_id = NULL;
 
   public $_freqUnits;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -262,7 +262,7 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -374,7 +374,7 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 1b71abb04e5197dba8b38304b438d0a1ba3d611a..1f1b011f5ca676d0a6cf56b164231ce63b67cc18 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Admin_Form_Setting_Component extends CRM_Admin_Form_Setting {
   protected $_components;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -65,7 +65,7 @@ class CRM_Admin_Form_Setting_Component extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
index 10a0b35b05cd73358b2beb81e59aa985a791fc74..3140a4e8bbc4790fe62236a8644cf7663aaee3c6 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_Setting_Date extends CRM_Admin_Form_Setting {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 166761b3ffa3ad33685987363c2f771c05140564..b9ef8b43772085a618d8b203f0015e2327414a95 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Admin_Form_Setting_Debugging extends CRM_Admin_Form_Setting {
   );
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index ea75cd3d1b8d80e54a2ab706e736bf24f90b61d8..c5932e35b4c9736d4184cfcb03eb7103d305d867 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Admin_Form_Setting_Localization extends CRM_Admin_Form_Setting {
   protected $_currencySymbols;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 0e1532f131eefc4c677050325920161bf3cec4d8..7d1a87660f7dd7e8367437075f1c6f16430edef9 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Admin_Form_Setting_Mail extends CRM_Admin_Form_Setting {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 8b4591dc93d3fbfcfe6fb0a8b59dab9f8c11b12b..2727e9edabf629b7de37e58e523b9feed5a4bca4 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_Setting_Mapping extends CRM_Admin_Form_Setting {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -58,7 +58,7 @@ class CRM_Admin_Form_Setting_Mapping extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
index 513bc5a650372dc80f7cd1b8aa22df7096ca2da5..1891d21f83de37210ddc2daa7b92a87f985f6f5f 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting {
   public $_uploadMaxSize;
 
   /**
-   * Basic setup
+   * Basic setup.
    */
   public function preProcess() {
     $config = CRM_Core_Config::singleton();
@@ -66,7 +66,7 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -116,7 +116,7 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
index c19af371a9485fc08abd1f7258e5f8bfdb61763a..b5c62266faa73cebcdbc8a6a314f142a59b3b5bb 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Form_Setting_Path extends CRM_Admin_Form_Setting {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 4c401173170462f5b8df61cf9bbb725bbe4d8a7e..60cc580b2f3c2ac7a94bc44376d1fcadbd4f4cd8 100644 (file)
@@ -45,7 +45,7 @@ class CRM_Admin_Form_Setting_Search extends CRM_Admin_Form_Setting {
   );
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 3343a950394bd290027b8d1216d3c2ef66fdd887..9655de1bd58d273b07f4bf46298ac5bf8ee33f57 100644 (file)
@@ -41,7 +41,7 @@ class CRM_Admin_Form_Setting_Smtp extends CRM_Admin_Form_Setting {
   protected $_testButtonName;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -74,7 +74,7 @@ class CRM_Admin_Form_Setting_Smtp extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
@@ -203,7 +203,7 @@ class CRM_Admin_Form_Setting_Smtp extends CRM_Admin_Form_Setting {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $fields
    *   Posted values of the form.
index 1e99f62cbe5681977c29dbadc945014fc4f8c872..6c18f9b35faab06e074c2c47731a5a2e6c49387d 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Admin_Form_Setting_UF extends CRM_Admin_Form_Setting {
   protected $_uf = NULL;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index 765214b7dc860e0f54ebb1cb6a8eb6881d2cee14..fcc68aae7dce0c29b049ab518d21f311c86008c5 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Admin_Form_Setting_UpdateConfigBackend extends CRM_Admin_Form_Setting
   protected $_oldSiteName;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index eb1b1df52c24cb3aaf4b92aa029937c8d7dfc9a3..81b0e5548cc915c2f677313ae219bdd1bb40b278 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Admin_Form_Setting_Url extends CRM_Admin_Form_Setting {
   );
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
index e1c9a276be5f47fda98de0762e8781ad6df4484e..0859b03cca8254228732045d9f9f816449ccfa85 100644 (file)
@@ -41,7 +41,7 @@ class CRM_Admin_Form_Tag extends CRM_Admin_Form {
   protected $_isTagSet;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -129,7 +129,7 @@ class CRM_Admin_Form_Tag extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index d33f3e846a6665f465d858c839707479387efa34..5b5ffba0f0fe0882505e9fc59ccd5d00560121e8 100644 (file)
@@ -106,7 +106,7 @@ class CRM_Admin_Form_WordReplacements extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -169,7 +169,7 @@ class CRM_Admin_Form_WordReplacements extends CRM_Core_Form {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   Posted values of the form.
@@ -204,7 +204,7 @@ class CRM_Admin_Form_WordReplacements extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 38a6fa76d2eb8fd7fc2e5c9453c29afc6aa199f4..3528dbeb2c0ef6143587138659dbdb7dd0de4236 100644 (file)
@@ -54,7 +54,7 @@ class CRM_Admin_Page_AJAX {
   }
 
   /**
-   * Return menu tree as json data for editing
+   * Return menu tree as json data for editing.
    */
   public static function getNavigationList() {
     echo CRM_Core_BAO_Navigation::buildNavigation(TRUE, FALSE);
@@ -69,7 +69,7 @@ class CRM_Admin_Page_AJAX {
   }
 
   /**
-   * Build status message while
+   * Build status message while.
    * enabling/ disabling various objects
    */
   public static function getStatusMsg() {
index 496dd1a202c2e861840a49f32bdcb14e21e1c1f6..c3fc4d761e078d1145b669d8a50d56f0f5721adf 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -58,7 +58,7 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -132,7 +132,7 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -142,7 +142,7 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 572254637f3885998843736af2e44aef3c23dfab..c73427db8dc0d8c8815ce8a0e14c43e1c47c2787 100644 (file)
 class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -141,7 +141,7 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -151,7 +151,7 @@ class CRM_Admin_Page_EventTemplate extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 2246b0f1297a0a62ae07fa875ee45584a77a5b62..a82aac350f171bb15d405b2b599c12eb6c7192bf 100644 (file)
@@ -40,7 +40,7 @@
 class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -61,7 +61,7 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -71,7 +71,7 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -126,7 +126,7 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all options
+   * Browse all options.
    *
    *
    * @return void
@@ -241,7 +241,7 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -251,7 +251,7 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
@@ -273,7 +273,7 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get userContext params
+   * Get userContext params.
    *
    * @param int $mode
    *   Mode that we are in.
index 59f91f76def5f87eb3327e3fa31397f3a45f17d8..1c7d0d861c41fb5d7a07e5c5340fdaee46e47d10 100644 (file)
@@ -25,7 +25,7 @@ class CRM_Admin_Page_ExtensionsUpgrade extends CRM_Core_Page {
   }
 
   /**
-   * Handle the final step of the queue
+   * Handle the final step of the queue.
    *
    * @param \CRM_Queue_TaskContext $ctx
    */
index fad5705d08c65fb7287825e24f9e965db916372f..e5adc48e11f7c09ab9ffc7d2451fedb2f5bf6e86 100644 (file)
 class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -189,7 +189,7 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -199,7 +199,7 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 50795acb71c66eed6c29b3d24b8129448bb76a93..c138315781f95f081e15ad63a1ef50fd0fc5f6e5 100644 (file)
 class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -132,7 +132,7 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -142,7 +142,7 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 8ce4ddfefacec352d0b44e5ba7588bed07daae83..a9d2733e320e958defd3481774d7805fd988d066 100644 (file)
@@ -42,14 +42,14 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -59,7 +59,7 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -93,7 +93,7 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -103,7 +103,7 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 7fd1b63d6a1c99bb9713ef56e65e21a1f643b2b1..4834b50ff222b2842c8d797183907c3711d3031a 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -58,7 +58,7 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -94,7 +94,7 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -104,7 +104,7 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 5e35e9c61d8e60d12876fd7ef557ae131fb6af15..0d769aba3fa8bc7e1fce00ddd322238eb8274dc9 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -58,7 +58,7 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -130,7 +130,7 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -140,7 +140,7 @@ class CRM_Admin_Page_MailSettings extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index a8070ce5f169e7be38c46b53a04ef6831f120d20..9e0f3636da168a13e93da14f2535f24e5c160e6a 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO
+   * Get BAO.
    *
    * @return string
    *   Classname of BAO.
@@ -58,7 +58,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -86,7 +86,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -96,7 +96,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get form name for edit form
+   * Get form name for edit form.
    *
    * @return string
    *   name of this page.
@@ -106,7 +106,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get form name for delete form
+   * Get form name for delete form.
    *
    * @return string
    *   name of this page.
@@ -128,7 +128,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of delete form
+   * Get name of delete form.
    *
    * @return string
    *   Classname of delete form.
@@ -138,7 +138,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Run the basic page
+   * Run the basic page.
    *
    * @return void
    */
index 19586b60c614fe3e3d92afe0c70b0cd234961693..63f955590f23636e046bce6dbe0aadd839b1a2a6 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -78,7 +78,7 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -88,7 +88,7 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -208,7 +208,7 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -218,7 +218,7 @@ class CRM_Admin_Page_MessageTemplates extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 6b0b09c481ddcf44b5d697ce60fd22374d744677..ccc4d1f713a26782c88adb439f3eb9a39557b0d2 100644 (file)
 class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array|NULL
    *   (reference) of action links
@@ -66,7 +66,7 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -76,7 +76,7 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
@@ -98,7 +98,7 @@ class CRM_Admin_Page_Navigation extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all menus
+   * Browse all menus.
    */
   public function browse() {
     // assign home id to the template
index 028b3f358dacf44ed9d79ab3f109e07cac8df30c..6363a44ea3c791ed7287422b7ec08b666c00e34a 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * The option group name
+   * The option group name.
    *
    * @var array
    */
@@ -62,14 +62,14 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   static $_gLabel = NULL;
 
   /**
-   * The option group id
+   * The option group id.
    *
    * @var array
    */
   static $_gId = NULL;
 
   /**
-   * A boolean determining if you can add options to this group in the GUI
+   * A boolean determining if you can add options to this group in the GUI.
    *
    * @var boolean
    */
@@ -161,7 +161,7 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -171,7 +171,7 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -229,7 +229,7 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all options
+   * Browse all options.
    *
    *
    * @return void
@@ -259,7 +259,7 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -269,7 +269,7 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index d2aa930b7927492efc9d11a055ccdfc13efecbee..74ef61e95b91dec455d04ef68bb9d14a9a396604 100644 (file)
 class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -169,7 +169,7 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -179,7 +179,7 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 86b7fdb2b3eb2f5936789ab21159d842cc63c0a1..584705dbcaaf198c13f88f83da0466bf2d1f2f78 100644 (file)
 class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -92,7 +92,7 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -102,7 +102,7 @@ class CRM_Admin_Page_PaymentProcessorType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index bda33b66cabc716affe45897e694575b0983f913..85dc55afb41a9442f022b117a3d39374e1a1590b 100644 (file)
@@ -42,14 +42,14 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -59,7 +59,7 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -87,7 +87,7 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -97,7 +97,7 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
@@ -119,7 +119,7 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all PDF Page Formats
+   * Browse all PDF Page Formats.
    *
    * @param null $action
    *
index 7df058b9deb8ee0ff39140c3d8f89f5432667c40..f605b445a709e602b24c2244dbccb73c9cc31915 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Admin_Page_Persistent extends CRM_Core_Page {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -47,7 +47,7 @@ class CRM_Admin_Page_Persistent extends CRM_Core_Page {
   private static $_customizeActionLinks;
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -99,7 +99,7 @@ class CRM_Admin_Page_Persistent extends CRM_Core_Page {
   }
 
   /**
-   * Browse all options
+   * Browse all options.
    *
    *
    * @return void
index 251db921a2b0fb175eab8b9fc424026a635bfc8e..06f8aa30505a3c4c4861c52e50332e1207b50a7a 100644 (file)
 class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -91,7 +91,7 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -101,7 +101,7 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index c3178e1b8a0068174a59550da995fab3e6bd76a6..27eee1dcc92ecb428f43286ba81b25f1560bf75a 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -58,7 +58,7 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -100,7 +100,7 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -110,7 +110,7 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index b0b511de25c2e0f6eaf7a005e747bc7a537701f5..fb91d46ee1e9bf8a5e565fdd843058547a6f4ae6 100644 (file)
@@ -42,14 +42,14 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -59,7 +59,7 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -97,7 +97,7 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -107,7 +107,7 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 46653e6fb24bad796ffcbb09c0cb2a65eb85f173..c525481dcfc8450ab8a5a77370b8bb747b473561 100644 (file)
@@ -41,14 +41,14 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO
+   * Get BAO.
    *
    * @return string
    *   Classname of BAO.
@@ -58,7 +58,7 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -89,7 +89,7 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -99,7 +99,7 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get form name for edit form
+   * Get form name for edit form.
    *
    * @return string
    *   name of this page.
@@ -109,7 +109,7 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get form name for delete form
+   * Get form name for delete form.
    *
    * @return string
    *   name of this page.
@@ -131,7 +131,7 @@ class CRM_Admin_Page_Tag extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of delete form
+   * Get name of delete form.
    *
    * @return string
    *   Classname of delete form.
index c0e0f8ff794d577d3c9d4c86d3ba8dc2a068c46e..1576e347281c5eb172b5ba8fcf9374d77380d9c9 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Badge_BAO_Badge {
   public $border = 0;
 
   /**
-   *  This function is called to create name label pdf
+   *  This function is called to create name label pdf.
    *
    * @param array $participants
    *   Associated array with participant info.
@@ -75,7 +75,7 @@ class CRM_Badge_BAO_Badge {
   }
 
   /**
-   * Funtion to create structure and add meta data according to layout
+   * Funtion to create structure and add meta data according to layout.
    *
    * @param array $row
    *   Row element that needs to be formatted.
@@ -356,7 +356,7 @@ class CRM_Badge_BAO_Badge {
   }
 
   /**
-   * Helper function to print images
+   * Helper function to print images.
    *
    * @param string $img
    *   Image url.
index 94231886a7a36e55e012398e82e5b4a73966356d..5557a6bd232c9474ef65129890d7f145aa039cf5 100644 (file)
 class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
 
   /**
-   * Class constructor
+   * Class constructor.
    */
   public function __construct() {
     parent::__construct();
   }
 
   /**
-   * Takes a bunch of params that are needed to match certain criteria and
+   * Takes a bunch of params that are needed to match certain criteria and.
    * retrieves the relevant objects. It also stores all the retrieved
    * values in the default array
    *
@@ -81,7 +81,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * Add a name label
+   * Add a name label.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -122,7 +122,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * Delete name labels
+   * Delete name labels.
    *
    * @param int $printLabelId
    *   ID of the name label to be deleted.
@@ -135,7 +135,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   *  get the list of print labels
+   *  get the list of print labels.
    *
    * @return array
    *   list of labels
@@ -152,7 +152,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * Build layout structure
+   * Build layout structure.
    *
    * @param array $params
    *   Associated array of submitted values.
@@ -171,7 +171,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
   }
 
   /**
-   * Decode encoded data and return as an array
+   * Decode encoded data and return as an array.
    *
    * @param json $jsonData
    *   Json object.
index 08fb2e29febe895c4375c297f2726d0bf553451e..b7dc115e591e5b230dc5b1d7b9a96f970c140851 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Badge_Form_Layout extends CRM_Admin_Form {
   const FIELD_ROWCOUNT = 6;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -182,7 +182,7 @@ class CRM_Badge_Form_Layout extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 3fd23599219785e817eed9f7acf54c5befe95ae6..bb2a6da018430e97d466e9d33a8098b7ed4d3f3a 100644 (file)
 class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,7 +56,7 @@ class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -92,7 +92,7 @@ class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -102,7 +102,7 @@ class CRM_Badge_Page_Layout extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 624de900a4b8f17cad63992e480c88c8592026d9..ca30f5e863eb75622b57e832193fe6ce42963b8e 100755 (executable)
@@ -39,7 +39,7 @@
 class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
 
   /**
-   * Cache for the current batch object
+   * Cache for the current batch object.
    */
   static $_batch = NULL;
 
@@ -50,7 +50,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   static $_exportFormat = NULL;
 
   /**
-   * Create a new batch
+   * Create a new batch.
    *
    * @param array $params
    * @param array $ids
@@ -77,7 +77,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Retrieve the information about the batch
+   * Retrieve the information about the batch.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
@@ -98,7 +98,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Get profile id associated with the batch type
+   * Get profile id associated with the batch type.
    *
    * @param int $batchTypeId
    *   Batch type id.
@@ -126,7 +126,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Generate batch name
+   * Generate batch name.
    *
    * @return string
    *   batch name
@@ -138,7 +138,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Create entity batch entry
+   * Create entity batch entry.
    *
    * @param array $params
    * @return array
@@ -151,7 +151,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Remove entries from entity batch
+   * Remove entries from entity batch.
    * @param array $params
    * @return CRM_Batch_DAO_EntityBatch
    */
@@ -163,7 +163,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Delete batch entry
+   * Delete batch entry.
    *
    * @param int $batchId
    *   Batch id.
@@ -179,7 +179,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * wrapper for ajax batch selector
+   * wrapper for ajax batch selector.
    *
    * @param array $params
    *   Associated array for params record id.
@@ -246,7 +246,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Get list of batches
+   * Get list of batches.
    *
    * @param array $params
    *   Associated array for params.
@@ -353,7 +353,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Get count of batches
+   * Get count of batches.
    *
    * @param array $params
    *   Associated array for params.
@@ -370,7 +370,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Format where clause for getting lists of batches
+   * Format where clause for getting lists of batches.
    *
    * @param array $params
    *   Associated array for params.
@@ -418,7 +418,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Define action links
+   * Define action links.
    *
    * @param null $context
    *
@@ -498,7 +498,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Get batch list
+   * Get batch list.
    *
    * @return array
    *   all batches excluding batches with data entry in progress
@@ -521,7 +521,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
 
 
   /**
-   * Calculate sum of all entries in a batch
+   * Calculate sum of all entries in a batch.
    * Used to validate and update item_count and total when closing an accounting batch
    *
    * @param array $batchIds
@@ -545,7 +545,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Format markup for comparing two totals
+   * Format markup for comparing two totals.
    *
    * @param $actual
    *   calculated total
@@ -634,7 +634,7 @@ class CRM_Batch_BAO_Batch extends CRM_Batch_DAO_Batch {
   }
 
   /**
-   * Retrieve financial items assigned for a batch
+   * Retrieve financial items assigned for a batch.
    *
    * @param int $entityID
    * @param array $returnValues
@@ -771,7 +771,7 @@ WHERE  {$where}
   }
 
   /**
-   * Get batch names
+   * Get batch names.
    * @param string $batchIds
    *
    * @return array
@@ -791,7 +791,7 @@ WHERE  {$where}
   }
 
   /**
-   * Function get batch statuses
+   * Function get batch statuses.
    *
    * @param string $batchIds
    *
index 3416871c7dd61ab920ee0f120d7a763f2171be40..c638178ecf84a994aed2ce5fec237bfc173fe7cd 100755 (executable)
@@ -47,7 +47,7 @@ class CRM_Batch_Form_Batch extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -95,7 +95,7 @@ class CRM_Batch_Form_Batch extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index 6c9f0de27c3576e08e7d25464953ebef6564ec9a..254ab79447e62f95b6267f883e9ca2ae89261bd6 100755 (executable)
 class CRM_Batch_Form_Entry extends CRM_Core_Form {
 
   /**
-   * Maximum profile fields that will be displayed
+   * Maximum profile fields that will be displayed.
    */
   protected $_rowCount = 1;
 
   /**
-   * Batch id
+   * Batch id.
    */
   protected $_batchId;
 
   /**
-   * Batch information
+   * Batch information.
    */
   protected $_batchInfo = array();
 
   /**
-   * Store the profile id associated with the batch type
+   * Store the profile id associated with the batch type.
    */
   protected $_profileId;
 
@@ -86,7 +86,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   public $_fields = array();
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -114,7 +114,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -265,7 +265,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * Form validations
+   * Form validations.
    *
    * @param array $params
    *   Posted values of the form.
@@ -328,7 +328,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * Override default cancel action
+   * Override default cancel action.
    */
   public function cancelAction() {
     // redirect to batch listing
@@ -378,7 +378,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
@@ -413,7 +413,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * Process contribution records
+   * Process contribution records.
    *
    * @param array $params
    *   Associated array of submitted values.
@@ -583,7 +583,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * Process membership records
+   * Process membership records.
    *
    * @param array $params
    *   Associated array of submitted values.
@@ -826,7 +826,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
   }
 
   /**
-   * Update contact information
+   * Update contact information.
    *
    * @param array $value
    *   Associated array of submitted values.
index 3ecc88e6dedd70fdf9f0566269838802d5c73b14..6c66b66bd2e940f561e6f03ecd0965b8596a9356 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_Batch_Page_AJAX {
 
   /**
-   * Save record
+   * Save record.
    */
   public function batchSave() {
     // save the entered information in 'data' column
@@ -52,7 +52,7 @@ class CRM_Batch_Page_AJAX {
   }
 
   /**
-   * Retrieve records
+   * Retrieve records.
    */
   public static function getBatchList() {
     $sortMapper = array(
index 193056cd3757e015d57f7c08508575c7e2c17045..87c5e5180589e4b2144019a1512c7a81ff9ea0bd 100644 (file)
 class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -56,14 +56,14 @@ class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    */
   public function &links() {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -73,7 +73,7 @@ class CRM_Batch_Page_Batch extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 33adb76789779ca5c5b574e110d55dfb7dc8ace6..d10071358dbee747bc50d150400d6a7705d909da 100644 (file)
@@ -105,7 +105,7 @@ class CRM_Core_Action {
   static $_description;
 
   /**
-   * Called by the request object to translate a string into a mask
+   * Called by the request object to translate a string into a mask.
    *
    * @param string $str
    *   The action to be resolved.
@@ -147,7 +147,7 @@ class CRM_Core_Action {
   }
 
   /**
-   * Given a string determine the bitmask for this specific string
+   * Given a string determine the bitmask for this specific string.
    *
    * @param string $item
    *   The input action to process.
index c8d76595d7bfc2a952eb06e5fa1b4885f9968feb..fff01f6c8f9f6a5fbb5014a57d106a224a454581 100755 (executable)
@@ -1298,7 +1298,7 @@ LIMIT 0,1
  SET reminder.reference_date = {$dateField}
  WHERE reminder.action_schedule_id = %1 AND reminder.reference_date IS NOT NULL AND reminder.reference_date != {$dateField}
 ";
-        }
+      }
 
       CRM_Core_DAO::executeQuery($query, array(1 => array($actionSchedule->id, 'Integer')));
 
index 342486dc628a250fd771aca215fa772050b01b3e..11a4c88c101769f900f60734f43966386842bae6 100644 (file)
@@ -882,7 +882,7 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC,
   }
 
   /**
-   * Validate the address fields based on the address options enabled
+   * Validate the address fields based on the address options enabled.
    * in the Address Settings
    *
    * @param array $fields
index 739e7a4a10a0fcfb5065b09a270b90fd3593b174..618aa4c96f6a749dfe2fa1a9623805b0d4b35339 100644 (file)
@@ -48,12 +48,12 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task {
   public $_single = FALSE;
 
   /**
-   * Component clause
+   * Component clause.
    */
   public $_componentClause;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @param
    *
@@ -82,7 +82,7 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -107,7 +107,7 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 2e8f6d021b1a69209ed650e3385c314865526711..07880675c1c1ab3d725d78a5371fec2eb6d44d51 100644 (file)
 class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
 
   /**
-   * The title of the group
+   * The title of the group.
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * Maximum profile fields that will be displayed
+   * Maximum profile fields that will be displayed.
    */
   protected $_maxFields = 9;
 
   /**
-   * Variable to store redirect path
+   * Variable to store redirect path.
    */
   protected $_userContext;
 
@@ -61,7 +61,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
   protected $_fromStatusIds;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -88,7 +88,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -265,7 +265,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index d5f4769628cc8940e9ce7e847e88d7a927a12219..a2c11055d4e7e127263c65daa6ffb9d14f95e552 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Event_Form_Task_Delete extends CRM_Event_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * Build all the data structures needed to build the form
+   * Build all the data structures needed to build the form.
    *
    * @return void
    */
@@ -68,7 +68,7 @@ class CRM_Event_Form_Task_Delete extends CRM_Event_Form_Task {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    *
    * @return void
@@ -86,7 +86,7 @@ class CRM_Event_Form_Task_Delete extends CRM_Event_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
index 75923574eba302eac9a736f169ddd9cb4b456e11..63b914f5653b2572246f9d3b49a0c07068b0000d 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_PCP_BAO_PCP extends CRM_PCP_DAO_PCP {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
@@ -48,7 +48,7 @@ class CRM_PCP_BAO_PCP extends CRM_PCP_DAO_PCP {
   }
 
   /**
-   * Add or update either a Personal Campaign Page OR a PCP Block
+   * Add or update either a Personal Campaign Page OR a PCP Block.
    *
    * @param array $params
    *   Reference array contains the values submitted by the form.
@@ -87,7 +87,7 @@ class CRM_PCP_BAO_PCP extends CRM_PCP_DAO_PCP {
   }
 
   /**
-   * Get the Display  name of a contact for a PCP
+   * Get the Display  name of a contact for a PCP.
    *
    * @param int $id
    *   Id for the PCP.
@@ -108,7 +108,7 @@ WHERE  civicrm_pcp.contact_id = civicrm_contact.id
   }
 
   /**
-   * Return PCP  Block info for dashboard
+   * Return PCP  Block info for dashboard.
    *
    * @param int $contactId
    *
@@ -226,7 +226,7 @@ ORDER BY target_entity_type, target_entity_id
   }
 
   /**
-   * Show the total amount for Personal Campaign Page on thermometer
+   * Show the total amount for Personal Campaign Page on thermometer.
    *
    * @param array $pcpId
    *   Contains the pcp ID.
@@ -277,7 +277,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Get action links
+   * Get action links.
    *
    * @return array
    *   (reference) of action links
@@ -345,7 +345,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Delete the campaign page
+   * Delete the campaign page.
    *
    * @param int $id
    *   Campaign page id.
@@ -368,7 +368,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @param CRM_Core_Form $form
    *   Form object.
@@ -425,7 +425,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
 
 
   /**
-   * Add PCP form elements to a form
+   * Add PCP form elements to a form.
    *
    * @param int $pcpId
    * @param CRM_Core_Page $page
@@ -477,7 +477,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Process a PCP contribution
+   * Process a PCP contribution.
    *
    * @param int $pcpId
    * @param $component
@@ -733,7 +733,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Get pcp block is active
+   * Get pcp block is active.
    *
    * @param int $pcpId
    * @param $component
@@ -755,7 +755,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Get pcp block is enabled for component page
+   * Get pcp block is enabled for component page.
    *
    * @param int $pageId
    * @param $component
@@ -777,7 +777,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0";
   }
 
   /**
-   * Find out if the PCP block is in use by one or more PCP page
+   * Find out if the PCP block is in use by one or more PCP page.
    *
    * @param int $id
    *   Pcp block id.
@@ -818,7 +818,7 @@ WHERE field_name like 'email%' And is_active = 1 And uf_group_id = %1";
   }
 
   /**
-   * Obtain the title of page associated with a pcp
+   * Obtain the title of page associated with a pcp.
    *
    * @param int $pcpId
    * @param $component
@@ -889,7 +889,7 @@ WHERE pcp.id = %1";
   }
 
   /**
-   * Get supporter profile id
+   * Get supporter profile id.
    *
    * @param int $component_id
    * @param string $component
@@ -918,7 +918,7 @@ INNER JOIN civicrm_uf_group ufgroup
   }
 
   /**
-   * Get owner notification id
+   * Get owner notification id.
    *
    * @param int $component_id
    * @param $component
@@ -939,4 +939,5 @@ INNER JOIN civicrm_uf_group ufgroup
       return $ownerNotificationId;
     }
   }
+
 }
index 23a54dd493a7a1e4feb066256596bc5db8ebff43..28d034bb0a12a3cdce60e49af71549034b2b6706 100644 (file)
@@ -7,7 +7,7 @@ class test_extension_manager_paymenttest extends CRM_Core_Payment {
   static private $_singleton = NULL;
 
   /**
-   * Singleton function used to manage this object
+   * Singleton function used to manage this object.
    *
    * @param string $mode
    *   The mode of operation: live or test.
index d4e37310a55abd741d2a4ca04d4d2253e0b8c5fb..7ae801e52baf459726dd8310fe7be7256f71c330 100644 (file)
@@ -14,7 +14,7 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   }
 
   /**
-   * Prepare a set of search fields
+   * Prepare a set of search fields.
    *
    * @param CRM_Core_Form $form
    *   Modifiable.
@@ -46,7 +46,7 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   }
 
   /**
-   * Get a list of summary data points
+   * Get a list of summary data points.
    *
    * @return mixed; NULL or array with keys:
    *   - summary: string
@@ -61,7 +61,7 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   }
 
   /**
-   * Get a list of displayable columns
+   * Get a list of displayable columns.
    *
    * @return array, keys are printable column headers and values are SQL column names
    */
@@ -77,7 +77,7 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   }
 
   /**
-   * Construct a full SQL query which returns one page worth of results
+   * Construct a full SQL query which returns one page worth of results.
    *
    * @param int $offset
    * @param int $rowcount
@@ -92,7 +92,7 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   }
 
   /**
-   * Construct a SQL SELECT clause
+   * Construct a SQL SELECT clause.
    *
    * @return string, sql fragment with SELECT arguments
    */
@@ -106,7 +106,7 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   }
 
   /**
-   * Construct a SQL FROM clause
+   * Construct a SQL FROM clause.
    *
    * @return string, sql fragment with FROM and JOIN clauses
    */
@@ -122,7 +122,7 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   }
 
   /**
-   * Construct a SQL WHERE clause
+   * Construct a SQL WHERE clause.
    *
    * @param bool $includeContactIDs
    *
@@ -168,7 +168,7 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   }
 
   /**
-   * Determine the Smarty template for the search screen
+   * Determine the Smarty template for the search screen.
    *
    * @return string, template path (findable through Smarty template path)
    */
@@ -177,7 +177,7 @@ class test_extension_manager_searchtest extends CRM_Contact_Form_Search_Custom_B
   }
 
   /**
-   * Modify the content of each row
+   * Modify the content of each row.
    *
    * @param array $row
    *   Modifiable SQL result row.
index 1b6fc5daccfc467ca74e9a0715c5fd310b3678b1..88b46301dcf8615451aeac7f5eec8d3f75f11014 100644 (file)
@@ -53,7 +53,7 @@ class AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 449b915f3245a83abd2f8441ea53ce1642693667..0da000a3a14af67e1b66bdb40cbcf786b1a23aea 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Activity_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 66bd1c985a8b1c0029ebe2824287e49383197370..705fbf5675ed38bb5edd24630d854ef02415b427 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Pass zero as an id and make sure no Assignees are retrieved
+   *  Pass zero as an id and make sure no Assignees are retrieved.
    */
   public function testRetrieveAssigneeIdsByActivityIdNoId() {
     $activity = $this->activityCreate();
@@ -61,7 +61,7 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Pass null as an id and make sure no Assignees are retrieved
+   *  Pass null as an id and make sure no Assignees are retrieved.
    */
   public function testRetrieveAssigneeIdsByActivityIdNullId() {
     $activity = $this->activityCreate();
@@ -71,7 +71,7 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Pass a string as an id and make sure no Assignees are retrieved
+   *  Pass a string as an id and make sure no Assignees are retrieved.
    */
   public function testRetrieveAssigneeIdsByActivityIdString() {
     $activity = $this->activityCreate();
@@ -91,7 +91,7 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Pass zero as an id and make sure no Assignees are retrieved
+   *  Pass zero as an id and make sure no Assignees are retrieved.
    */
   public function testGetAssigneeNamesNoId() {
     $activity = $this->activityCreate();
@@ -101,7 +101,7 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Pass Null as an id and make sure no Assignees are retrieved
+   *  Pass Null as an id and make sure no Assignees are retrieved.
    */
   public function testGetAssigneeNamesNullId() {
     $activity = $this->activityCreate();
index 37a5ce5ac962e7e35049de9b91fba5c49e6d4ffd..349b52d542cd5b93e1806f60cdcc11b6c9e7b4d3 100644 (file)
@@ -269,7 +269,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getActivitiesCount BAO method
+   * Test getActivitiesCount BAO method.
    */
   public function testGetActivitiesCountforAdminDashboard() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -298,7 +298,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getActivitiesCount BAO method
+   * Test getActivitiesCount BAO method.
    */
   public function testGetActivitiesCountforNonAdminDashboard() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -328,7 +328,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getActivitiesCount BAO method
+   * Test getActivitiesCount BAO method.
    */
   public function testGetActivitiesCountforContactSummary() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -357,7 +357,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getActivitiesCount BAO method
+   * Test getActivitiesCount BAO method.
    */
   public function testGetActivitiesCountforContactSummaryWithNoActivities() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -385,7 +385,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getActivities BAO method
+   * Test getActivities BAO method.
    */
   public function testGetActivitiesforAdminDashboard() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -420,7 +420,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getActivities BAO method
+   * Test getActivities BAO method.
    */
   public function testGetActivitiesforNonAdminDashboard() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -463,7 +463,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getActivities BAO method
+   * Test getActivities BAO method.
    */
   public function testGetActivitiesforContactSummary() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
@@ -518,7 +518,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getActivities BAO method
+   * Test getActivities BAO method.
    */
   public function testGetActivitiesforContactSummaryWithNoActivities() {
     $op = new PHPUnit_Extensions_Database_Operation_Insert();
index 98eab49171ed171b52e03cde2b7890e96d2a11f5..dcaa500eb519264a00fa3434243e23dc8921441c 100644 (file)
@@ -53,7 +53,7 @@ class CRM_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 32f4795c1c0865d05580e44c3ac43d277c59b9d3..cdc252b01f3cd5d958b58e773ad0c7916520416c 100644 (file)
@@ -139,7 +139,7 @@ class CRM_Batch_Form_EntryTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Test Import
+   *  Test Import.
    */
   public function testProcessMembership() {
     $form = new CRM_Batch_Form_Entry();
@@ -172,7 +172,7 @@ class CRM_Batch_Form_EntryTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Test Contribution Import
+   *  Test Contribution Import.
    */
   public function testProcessContribution() {
     $this->offsetDefaultPriceSet();
@@ -191,7 +191,7 @@ class CRM_Batch_Form_EntryTest extends CiviUnitTestCase {
   }
 
   /**
-   * Data provider for test process membership
+   * Data provider for test process membership.
    * @return array
    */
   public function getMembershipData() {
index 1497ec608787c1806d7b62f1f9a66659de452524..5cb45d3af1dde176bf25a6294ff78cb41b63cad5 100644 (file)
@@ -23,7 +23,7 @@ class CRM_Case_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 89c1c3f163e2e7064b3b7993127a4d8b55043e9d..97a2e8d5c59538170f1b62626415dc24914b9218 100644 (file)
@@ -19,7 +19,7 @@ class CRM_Case_BAO_CaseTypeForkTest extends CiviCaseTestCase {
 
 
   /**
-   * Edit the definition of ForkableCaseType
+   * Edit the definition of ForkableCaseType.
    */
   public function testForkable() {
     $caseTypeId = CRM_Core_DAO::getFieldValue('CRM_Case_DAO_CaseType', 'ForkableCaseType', 'id', 'name');
index 130706fa17330b90da180cb99e6f74ef26eaf62f..a982911e2e807c553f55bcae58325c00d81ed79a 100644 (file)
@@ -167,7 +167,7 @@ class CRM_Case_BAO_CaseTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Normalize the whitespace in an XML document
+   * Normalize the whitespace in an XML document.
    *
    * @param string $xml
    * @return string
index eabc8be0f5f2ebb62b3b19d7052b7597521b9299..1975e8354db9ef65ad52cd891477ef0cff1faa13 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Contacts_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 8e8526a0f12eb69a55418d629e7891ddd72336c3..0191e20d89a1317b4372670e37361c2f2409ad5f 100644 (file)
@@ -1528,7 +1528,7 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Helper for testing timestamp manipulation
+   * Helper for testing timestamp manipulation.
    *
    * Create a contact and perform a series of steps with it; after each
    * step, ensure that the contact's modified_date has increased.
index 59e1e9c33f8c6f3ecb1b6db8228ef7eff6e035dd..08254a8c8c2868d95d3bc232f9bc3596343583cc 100644 (file)
@@ -86,7 +86,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * Search with only type
+   * Search with only type.
    * success expected.
    */
   public function testSearchWithType() {
@@ -150,7 +150,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * Search with only subtype
+   * Search with only subtype.
    * success expected.
    */
   public function testSearchWithSubype() {
@@ -197,7 +197,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * Search with type as well as subtype
+   * Search with type as well as subtype.
    * success expected.
    */
   public function testSearchWithTypeSubype() {
@@ -244,7 +244,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * Search with invalid type or subtype
+   * Search with invalid type or subtype.
    */
   public function testSearchWithInvalidData() {
     // for invalid type
@@ -274,7 +274,7 @@ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * Search with wrong type or subtype
+   * Search with wrong type or subtype.
    */
   public function testSearchWithWrongdData() {
 
index 59aac2aea0bf6354298c31dedada476d8036ee50..2c5d8017bd8a1aefeed08f2af731e175436a8978 100644 (file)
@@ -59,7 +59,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * Methods create Contact with valid data
+   * Methods create Contact with valid data.
    * success expected
    */
   public function testCreateContact() {
@@ -141,7 +141,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * Update the contact with no subtype to a valid subtype
+   * Update the contact with no subtype to a valid subtype.
    * success expected
    */
   public function testUpdateContactNosubtypeToValid() {
@@ -197,7 +197,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * Update the contact with subtype to another valid subtype
+   * Update the contact with subtype to another valid subtype.
    * success expected
    */
   public function testUpdateContactSubtype() {
index 49355f8bdd160888129df4283e659f2b280ee8f1..e19ed21571260b0afa9e62c80c3d5a3f376b573f 100644 (file)
@@ -90,7 +90,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * Methods create relationshipType with valid data
+   * Methods create relationshipType with valid data.
    * success expected
    */
   public function testRelationshipTypeAddIndiviParent() {
@@ -150,7 +150,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * Methods create relationshipe within same contact type with invalid Relationships
+   * Methods create relationshipe within same contact type with invalid Relationships.
    */
   public function testRelationshipCreateInvalidWithinSameType() {
     //check for Individual to Parent
@@ -177,7 +177,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * Methods create relationshipe within diff contact type with invalid Relationships
+   * Methods create relationshipe within diff contact type with invalid Relationships.
    */
   public function testRelCreateInvalidWithinDiffTypeSpocorIndivi() {
     //check for Sponcer to Individual
@@ -229,7 +229,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * Methods create relationshipe within same contact type with valid data
+   * Methods create relationshipe within same contact type with valid data.
    * success expected
    */
   public function testRelationshipCreateWithinSameType() {
@@ -257,7 +257,7 @@ DELETE FROM civicrm_contact_type
   }
 
   /**
-   * Methods create relationshipe within different contact type with valid data
+   * Methods create relationshipe within different contact type with valid data.
    * success expected
    */
   public function testRelCreateWithinDiffTypeSponsorIndivi() {
index cbad297122875b9be222b270c8d22f8a38b8c144..7fe9c3289836b5654a8c38eacbd19e3834a011bb 100644 (file)
@@ -37,7 +37,7 @@ require_once 'CiviTest/Contact.php';
 class CRM_Contact_BAO_GroupContactCacheTest extends CiviUnitTestCase {
 
   /**
-   * Manually add and remove contacts from a smart group
+   * Manually add and remove contacts from a smart group.
    */
   public function testManualAddRemove() {
     // Create smart group $g
@@ -169,7 +169,7 @@ class CRM_Contact_BAO_GroupContactCacheTest extends CiviUnitTestCase {
   }
 
   /**
-   * Assert that the cache for a group contains exactly the listed contacts
+   * Assert that the cache for a group contains exactly the listed contacts.
    *
    * @param array $expectedContactIds
    *   Array(int).
index 208d6bd7368e7be5e146a668a56137080d6390b0..e6872a36451f15f157ad3167c6c6102cc73dcd92 100644 (file)
@@ -104,7 +104,7 @@ class CRM_Contact_BAO_GroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Load saved search sql files into the DB
+   * Load saved search sql files into the DB.
    */
   public function loadSavedSearches() {
     $dsn = CRM_Core_Config::singleton()->dsn;
index 0f6368b410f6f9ac7fe16b91b3a9643c3fda8247..f9ff18a887e9c505e917d554e70efd0989c72a2b 100644 (file)
@@ -66,7 +66,7 @@ class CRM_Contact_BAO_QueryTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that we get a successful result querying for home address
+   * Check that we get a successful result querying for home address.
    * CRM-14263 search builder failure with search profile & address in criteria
    */
   public function testSearchProfileHomeCityCRM14263() {
@@ -108,7 +108,7 @@ class CRM_Contact_BAO_QueryTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that we get a successful result querying for home address
+   * Check that we get a successful result querying for home address.
    * CRM-14263 search builder failure with search profile & address in criteria
    */
   public function testSearchProfileHomeCityNoResultsCRM14263() {
index a53989cc6f1d2876ea3615b40a13d7774aa5c368..5eb8f79759326bb24f318fac4f54e4ad53455f18 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Contribute_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index cc7723721032886fe43611fcbc1ebb0b4f741407..eda1eebaadb3ab484760f426bbb9dff118d974ff 100644 (file)
@@ -283,7 +283,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Display sort name during
+   * Display sort name during.
    * contribution batch update through profile
    * sortName();
    */
@@ -339,7 +339,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Add premium during online Contribution
+   * Add premium during online Contribution.
    *
    * AddPremium();
    */
index 0a665a8df318d6e6177743ace2eaa7c7a094010c..2f8cc3d3a113df35e7891d8263363ef45463d29b 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Core_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 2045145330d79fae6210675a7d70119b275d54d4..08d7953ad9a54e50c98ad3cad8e795af29e6f062 100644 (file)
@@ -14,7 +14,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
 
 
   /**
-   * Test store function for country
+   * Test store function for country.
    */
   public function testStoreCountry() {
     $params = array();
@@ -49,7 +49,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test store function for file
+   * Test store function for file.
    */
   public function atestStoreFile() {
     $params = array();
@@ -84,7 +84,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test store function for state province
+   * Test store function for state province.
    */
   public function testStoreStateProvince() {
     $params = array();
@@ -118,7 +118,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test store function for date
+   * Test store function for date.
    */
   public function testStoreDate() {
     $params = array();
@@ -153,7 +153,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test store function for rich text editor
+   * Test store function for rich text editor.
    */
   public function testStoreRichTextEditor() {
     $params = array();
@@ -188,7 +188,7 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test getEntityValues function for stored value
+   * Test getEntityValues function for stored value.
    */
   public function testgetEntityValues() {
 
index 1804dbfa594d218d599b1b4a43aed58389535b81..e3899716c4b1dccd91196b80cd925a0c52c8589a 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Core_BAO_RecurringEntityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Testing Activity Generation through Entity Recursion
+   * Testing Activity Generation through Entity Recursion.
    */
   public function testActivityGeneration() {
     //Activity set initial params
@@ -108,7 +108,7 @@ class CRM_Core_BAO_RecurringEntityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Testing Event Generation through Entity Recursion
+   * Testing Event Generation through Entity Recursion.
    */
   public function testEventGeneration() {
     //Event set initial params
index fdcbb2e5a5a5eb5fd90bdc5d74c79c64eaa5602b..ef6d5decd8f5bd1659e0f27e0aae810aade53e1b 100644 (file)
@@ -316,7 +316,7 @@ class CRM_Core_CommunityMessagesTest extends CiviUnitTestCase {
   }
 
   /**
-   * Randomly pick among two options
+   * Randomly pick among two options.
    */
   public function testPick_rand() {
     $communityMessages = new CRM_Core_CommunityMessages(
index 27393900e04e1bc5f856447edd864a6043dcfc79..71383b04bb7eb3f9d040ee01d7e61ca45fa69904 100644 (file)
@@ -252,7 +252,7 @@ class CRM_Core_ManagedEntitiesTest extends CiviUnitTestCase {
   }
 
   /**
-   * Setup an active module with a malformed entity declaration
+   * Setup an active module with a malformed entity declaration.
    */
   public function testInvalidDeclarationModule() {
     // create first managed entity ('foo')
@@ -278,7 +278,7 @@ class CRM_Core_ManagedEntitiesTest extends CiviUnitTestCase {
   }
 
   /**
-   * Setup an active module with a malformed entity declaration
+   * Setup an active module with a malformed entity declaration.
    */
   public function testMissingName() {
     // create first managed entity ('foo')
@@ -304,7 +304,7 @@ class CRM_Core_ManagedEntitiesTest extends CiviUnitTestCase {
   }
 
   /**
-   * Setup an active module with a malformed entity declaration
+   * Setup an active module with a malformed entity declaration.
    */
   public function testMissingEntity() {
     // create first managed entity ('foo')
index 79c9a8b61c24252798a83569b646a3c2a6a95851..8659e107c58962421c7c00d0b8aad9f8e5177b80 100644 (file)
@@ -193,7 +193,7 @@ class CRM_Core_Payment_AuthorizeNetTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create a single post dated payment as a recurring transaction
+   * Create a single post dated payment as a recurring transaction.
    */
   public function testCreateSinglePostDated() {
     $start_date = date('Ymd', strtotime("+ 1 week"));
index 84fc854150a34bab983d338249f96e01d30ae32e..86d7f9317fc70815ad631cb1d27a0caa7c4831c3 100644 (file)
@@ -111,7 +111,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the LoadObjects function with recurring membership data
+   * Test the LoadObjects function with recurring membership data.
    */
   public function testLoadMembershipObjects() {
     $this->_setUpMembershipObjects();
@@ -126,7 +126,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the LoadObjects function with recurring membership data
+   * Test the LoadObjects function with recurring membership data.
    */
   public function testLoadMembershipObjectsLoadAll() {
     $this->_setUpMembershipObjects();
@@ -145,7 +145,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the LoadObjects function with recurring membership data
+   * Test the LoadObjects function with recurring membership data.
    */
   public function testsendMailMembershipObjects() {
     $this->_setUpMembershipObjects();
@@ -159,7 +159,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the LoadObjects function with recurring membership data
+   * Test the LoadObjects function with recurring membership data.
    */
   public function testsendMailMembershipWithoutLoadObjects() {
     $this->_setUpMembershipObjects();
@@ -172,7 +172,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that loadObjects works with participant values
+   * Test that loadObjects works with participant values.
    */
   public function testLoadParticipantObjects() {
     $this->_setUpParticipantObjects();
@@ -187,7 +187,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the LoadObjects function with a participant
+   * Test the LoadObjects function with a participant.
    */
   public function testComposeMailParticipant() {
     $this->_setUpParticipantObjects();
@@ -212,7 +212,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the LoadObjects function with recurring membership data
+   * Test the LoadObjects function with recurring membership data.
    */
   public function testsendMailParticipantObjectsCheckLog() {
     $this->_setUpParticipantObjects();
@@ -231,7 +231,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the LoadObjects function with recurring membership data
+   * Test the LoadObjects function with recurring membership data.
    */
   public function testsendMailParticipantObjectsNoMail() {
     $this->_setUpParticipantObjects();
@@ -253,7 +253,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that loadObjects works with participant values
+   * Test that loadObjects works with participant values.
    */
   public function testLoadPledgeObjects() {
     $this->_setUpPledgeObjects();
@@ -271,7 +271,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that loadObjects works with participant values
+   * Test that loadObjects works with participant values.
    */
   public function testLoadPledgeObjectsInvalidPledgeID() {
     $this->_setUpPledgeObjects();
@@ -298,7 +298,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the LoadObjects function with a pledge
+   * Test the LoadObjects function with a pledge.
    */
   public function testsendMailPledge() {
     $this->_setUpPledgeObjects();
@@ -467,7 +467,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Prepare for membership test
+   * Prepare for membership test.
    */
   public function _setUpMembershipObjects() {
     try {
@@ -542,7 +542,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Set up participant requirements for test
+   * Set up participant requirements for test.
    */
   public function _setUpParticipantObjects() {
     $event = $this->eventCreate(array('is_email_confirm' => 1));
@@ -577,7 +577,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Set up participant requirements for test
+   * Set up participant requirements for test.
    */
   public function _setUpPledgeObjects() {
     $this->_pledgeId = $this->pledgeCreate($this->_contactId);
index c7fd9b1e5a3f235049fa9485178171e6f328900a..ab40ef354e4a327ac625f712677a61d595ba1867 100644 (file)
@@ -182,7 +182,7 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Get PaymentExpress IPN for a single transaction
+   * Get PaymentExpress IPN for a single transaction.
    * @return array
    *   array representing a Paypal IPN POST
    */
@@ -232,7 +232,7 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase {
   }
 
   /**
-   * Get IPN results from follow on IPN transactions
+   * Get IPN results from follow on IPN transactions.
    * @return array
    *   array representing a Paypal IPN POST
    */
index 297b63aee1e713e652e206da38f8fc3ec6a43637..2413063eebe23822e7bd4efd7ccff4ad503d1cb4 100644 (file)
@@ -56,7 +56,7 @@ class CRM_Core_RegionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that each of the major content formats are correctly evaluated
+   * Test that each of the major content formats are correctly evaluated.
    */
   public function testAllTypes() {
     CRM_Core_Region::instance('testAllTypes')->add(array(
index 24260ab9f66ec1f79857857456099e03f8b23358..2fbd2f5c02bb275d8ee863df018c17840e59fe3e 100644 (file)
@@ -73,7 +73,7 @@ class CRM_Core_TransactionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test in which an outer function makes multiple calls to inner functions
+   * Test in which an outer function makes multiple calls to inner functions.
    * but then rolls back the entire set.
    *
    * @param string $createStyle
@@ -391,7 +391,7 @@ class CRM_Core_TransactionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Perform a series of operations within smaller transactions
+   * Perform a series of operations within smaller transactions.
    *
    * @param string $nesting
    *   'reuse-tx'|'nest-tx' how to construct transaction.
index d029de66aabedd21de15b4d4b2e83ffe6ea91112..47ebbec3f535c2b1c133887859fe9a8de9bb54d5 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Event_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 09f74cbbebf149e97d8fc4168fd034e45c244fdd..d760bfb320a428b3dfbd73dfbfa7da71240e826c 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Event_BAO_AdditionalPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * helper function to record participant with paid contribution
+   * helper function to record participant with paid contribution.
    * @param $feeTotal
    * @param $actualPaidAmt
    *
index 962e430d136e54392e33771a5a528d5b1416dea1..fb20804b281a2e785dbac1758df5e67cd147f7ff 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Extension_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 785086c22498840d88808f7b4c552e0cbc9a94d7..671551504a6027913eb890fc092613faf9eb3877 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Extension_Manager_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 5da444ac6e942734cfac2b450c2a8a733762bebb..4d91b058be3ece054de5cf235bab26c02fedf9a2 100644 (file)
@@ -31,7 +31,7 @@ class CRM_Extension_Manager_ModuleTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testInstallDisableUninstall() {
     $manager = $this->system->getManager();
@@ -72,7 +72,7 @@ class CRM_Extension_Manager_ModuleTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testInstallDisableEnable() {
     $manager = $this->system->getManager();
index 6910d32c50b20f394a1b0ffdd798286c6781bb79..9a5b4fa941260d42b5e81b1b8aa42d85a111a870 100644 (file)
@@ -55,7 +55,7 @@ class CRM_Extension_Manager_PaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testInstallDisableUninstall() {
     $manager = $this->system->getManager();
@@ -75,7 +75,7 @@ class CRM_Extension_Manager_PaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testInstallDisableEnable() {
     $manager = $this->system->getManager();
index 9e77c7676f94211e0df3c583a083bb12486cb3d3..e584b0cc41d4952fc380f1135b0e21d568118c81 100644 (file)
@@ -22,7 +22,7 @@ class CRM_Extension_Manager_ReportTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testInstallDisableUninstall() {
     $manager = $this->system->getManager();
@@ -40,7 +40,7 @@ class CRM_Extension_Manager_ReportTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testInstallDisableEnable() {
     $manager = $this->system->getManager();
index bc3da6e07a925078213ee927f2c00967dcd54cb1..c7594091d8704a5ec52fea16da9de33d7829ccc7 100644 (file)
@@ -23,7 +23,7 @@ class CRM_Extension_Manager_SearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testInstallDisableUninstall() {
     $manager = $this->system->getManager();
@@ -41,7 +41,7 @@ class CRM_Extension_Manager_SearchTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testInstallDisableEnable() {
     $manager = $this->system->getManager();
index 9124027c887792a76b4086a22cade500bece13b6..98f0f307f57a77c1aa69f640df9445518612bfcf 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Extension_ManagerTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with an invalid type name
+   * Install an extension with an invalid type name.
    *
    * @expectedException CRM_Extension_Exception
    */
@@ -59,7 +59,7 @@ class CRM_Extension_ManagerTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    *
    * Note: We initially install two extensions but then toggle only
    * the second. This controls for bad SQL queries which hit either
@@ -144,7 +144,7 @@ class CRM_Extension_ManagerTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testInstall_Disable_Enable() {
     $testingTypeManager = $this->getMock('CRM_Extension_Manager_Interface');
@@ -224,7 +224,7 @@ class CRM_Extension_ManagerTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install an extension with a valid type name
+   * Install an extension with a valid type name.
    */
   public function testEnableBare() {
     $testingTypeManager = $this->getMock('CRM_Extension_Manager_Interface');
@@ -250,7 +250,7 @@ class CRM_Extension_ManagerTest extends CiviUnitTestCase {
   }
 
   /**
-   * Get the status of an unknown extension
+   * Get the status of an unknown extension.
    */
   public function testStatusUnknownKey() {
     $testingTypeManager = $this->getMock('CRM_Extension_Manager_Interface');
@@ -317,7 +317,7 @@ class CRM_Extension_ManagerTest extends CiviUnitTestCase {
   }
 
   /**
-   * Install a module and then replace it with new code
+   * Install a module and then replace it with new code.
    *
    * Note that some metadata changes between versions -- the original has
    * file="oddball", and the upgrade has file="newextension".
index f7818df5343d9e532d219fd5eb5f1b1873eda3ab..4c53456e2b3a2ef958a456c06fcba3cd609c8a90 100644 (file)
@@ -12,7 +12,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
    */
   protected $_permissionedGroup;
   /**
-   * AS disabled group the contact has permission to
+   * AS disabled group the contact has permission to.
    * @var unknown
    */
   protected $_permissionedDisabledGroup;
@@ -328,7 +328,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * ACL Group hook
+   * ACL Group hook.
    */
   public function testGroupListAclGroupHookDisabled() {
     $this->_params['status'] = 2;
@@ -340,7 +340,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * ACL Group hook
+   * ACL Group hook.
    */
   public function testGroupListAclGroupHookDisabledFound() {
     $this->_params['status'] = 2;
@@ -353,7 +353,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * ACL Group hook
+   * ACL Group hook.
    */
   public function testGroupListAclGroupHookDisabledNotFound() {
     $this->_params['status'] = 2;
@@ -366,7 +366,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
 
 
   /**
-   * ACL Group hook
+   * ACL Group hook.
    */
   public function testGroupListAclGroupHook() {
     $this->setHookAndRequest('access CiviCRM', 'hook_civicrm_aclGroup');
@@ -377,7 +377,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * ACL Group hook
+   * ACL Group hook.
    */
   public function testGroupListAclGroupHookTitleNotFound() {
     $this->_params['title'] = 'n';
@@ -388,7 +388,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * ACL Group hook
+   * ACL Group hook.
    */
   public function testGroupListAclGroupHookTitleFound() {
     $this->_params['title'] = 'p';
@@ -401,7 +401,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * ACL Group hook
+   * ACL Group hook.
    */
   public function testGroupListAclGroupHookAll() {
     $this->_params['status'] = 3;
@@ -414,7 +414,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * ACL Group hook
+   * ACL Group hook.
    */
   public function testGroupListAclGroupHookEnabled() {
     $this->_params['status'] = 1;
@@ -426,7 +426,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
   }
 
   /**
-   * Implements ACLGroup hook
+   * Implements ACLGroup hook.
    * aclGroup function returns a list of permitted groups
    * @param string $type
    * @param int $contactID
index 94ba6ba0a05107b27fc7d237249f258c79f3438a..7dfd0ab9de16084e005d0e3fbbcb50e92b86d759 100644 (file)
@@ -27,7 +27,7 @@ class CRM_Mailing_BAO_SpoolTest extends CiviUnitTestCase {
 
 
   /**
-   * Basic send
+   * Basic send.
    */
   public function testSend() {
     $contact_params_1 = array(
index c597430d287e13a4cbc02e75c919e0a68c5a3e3d..6c4bc41d3f4eb38b325e88501a917064f1ff8875 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Member_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 356807adb653ecae895d44ed48521e5c57e2eaa9..ec9651b21ff09c8a515de0f15947bfa2ebece19c 100644 (file)
@@ -327,7 +327,7 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase {
 
 
   /**
-   * Get the contribution
+   * Get the contribution.
    * page id from the membership record
    */
   public function testgetContributionPageId() {
@@ -455,7 +455,7 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Delete related memberships
+   * Delete related memberships.
    */
   public function testdeleteRelatedMemberships() {
     $contactId = Contact::createIndividual();
@@ -485,7 +485,7 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Renew membership with change in membership type
+   * Renew membership with change in membership type.
    */
   public function testRenewMembership() {
     $contactId = Contact::createIndividual();
@@ -546,7 +546,7 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Renew stale membership
+   * Renew stale membership.
    */
   public function testStaleMembership() {
     $statusId = 3;
index 608637eec7317ca29589ccf13e4ef94f24a89f49..097538a36e22eb53bc8fe17a077de345d8455f8c 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Member_Form_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 463f749aa4047c44c27241b3b0e2f02e4124efd4..4fa0c4e3eed626e9478a5116819491e0aaf8fc93 100644 (file)
@@ -43,7 +43,7 @@ require_once 'HTML/QuickForm/Page.php';
 class CRM_Member_Form_MembershipTest extends CiviUnitTestCase {
 
   /**
-   *  Test setup for every test
+   *  Test setup for every test.
    *
    *  Connect to the database, truncate the tables that will be used
    *  and redirect stdin to a temporary file
index 2b25bb6b3ef415b3341ee488b990035327502c37..3d3f7f8a478eb4d21d271b7a0f8b01021874e966 100644 (file)
@@ -35,13 +35,13 @@ require_once 'CiviTest/Membership.php';
  */
 class CRM_Member_Import_Parser_MembershipTest extends CiviUnitTestCase {
   /**
-   * Membership type name used in test function
+   * Membership type name used in test function.
    * @var String
    */
   protected $_membershipTypeName = NULL;
 
   /**
-   * Membership type id used in test function
+   * Membership type id used in test function.
    * @var String
    */
   protected $_membershipTypeID = NULL;
@@ -102,7 +102,7 @@ class CRM_Member_Import_Parser_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Test Import
+   *  Test Import.
    */
   public function testImport() {
     $contactId = $this->individualCreate();
index dd70e8ecf3e4ec1a0263467833a2ad21671677f3..0a817710ef3a98fe39cfa10a8eb6f2a7ec800052 100644 (file)
@@ -129,7 +129,7 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase {
   }
 
   /**
-   * Build params
+   * Build params.
    */
   private function pcpBlockParams() {
     $contribPage = CRM_Core_DAO::createTestObject('CRM_Contribute_DAO_ContributionPage');
@@ -153,7 +153,7 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase {
   }
 
   /**
-   * Build params
+   * Build params.
    */
   private function pcpParams() {
     $contact = CRM_Core_DAO::createTestObject('CRM_Contact_DAO_Contact');
index 180be99c0ec9f407ae82121e6b230474a14353ac..ca8c3aead1a04d6333bdd6a5f6d4fe99ec0d3df4 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Pledge_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 61a98e70bbf171cb724623f5cc5d1072d969686b..d7a8462a7ecaf7d3799c5e7b4b570a92d76e54a6 100644 (file)
@@ -104,7 +104,7 @@ class CRM_Pledge_BAO_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Retrieve a payment based on a Null pledge id
+   *  Retrieve a payment based on a Null pledge id.
    */
   public function testRetrieveStringPledgeID() {
     $payment = CRM_Core_DAO::createTestObject('CRM_Pledge_BAO_PledgePayment');
@@ -117,7 +117,7 @@ class CRM_Pledge_BAO_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Test that payment retrieve wrks based on known pledge id
+   *  Test that payment retrieve wrks based on known pledge id.
    */
   public function testRetrieveKnownPledgeID() {
     $payment = CRM_Core_DAO::createTestObject('CRM_Pledge_BAO_PledgePayment');
@@ -131,7 +131,7 @@ class CRM_Pledge_BAO_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Delete Payments payments for one pledge
+   *  Delete Payments payments for one pledge.
    */
   public function testDeletePledgePaymentsNormal() {
     $payment = CRM_Core_DAO::createTestObject('CRM_Pledge_BAO_PledgePayment');
@@ -141,7 +141,7 @@ class CRM_Pledge_BAO_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Pass Null Id for a payment deletion for one pledge
+   *  Pass Null Id for a payment deletion for one pledge.
    */
   public function testDeletePledgePaymentsNullId() {
     $payment = CRM_Core_DAO::createTestObject('CRM_Pledge_BAO_PledgePayment');
@@ -151,7 +151,7 @@ class CRM_Pledge_BAO_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Pass Zero Id for a payment deletion for one pledge
+   *  Pass Zero Id for a payment deletion for one pledge.
    */
   public function testDeletePaymentsZeroId() {
     $payment = CRM_Core_DAO::createTestObject('CRM_Pledge_BAO_PledgePayment');
index a31046a402019df2caef868d1ab7e33a8c926fab..52fbb276dbb384099ab761da30db00a8f6e7be1c 100644 (file)
@@ -92,7 +92,7 @@ class CRM_Pledge_BAO_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Retrieve a payment based on a Null pledge id random string
+   *  Retrieve a payment based on a Null pledge id random string.
    */
   public function testRetrieveStringPledgeID() {
     $defaults = array();
@@ -103,7 +103,7 @@ class CRM_Pledge_BAO_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   *  Test that payment retrieve wrks based on known pledge id
+   *  Test that payment retrieve wrks based on known pledge id.
    */
   public function testRetrieveKnownPledgeID() {
     $params = array(
index 92c07fbbec23d1d7cd20eb7f649922fab668babd..0c1f6bf0c68139ae716af780fdcbec902275af96 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Queue_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 5d68259b116debb8a1d0ba02cf28298e5228162e..92011114fd151ec96c32ed1bb92e7511a5a6041d 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Queue_Queue_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 21b918701aee366199df709d8c820085cc300bec..bdf6ed936afc6a140c4a44ede7baf347aae8f7cf 100644 (file)
@@ -40,7 +40,7 @@ class CRM_Queue_Queue_SqlTest extends CiviUnitTestCase {
   /* Define a list of queue providers which should be tested */
 
   /**
-   * Return a list of persistent and transient queue providers
+   * Return a list of persistent and transient queue providers.
    */
   public function getQueueSpecs() {
     $queueSpecs = array();
index 92dc67032b4b49380c42540355cf5cd01d8dcf4c..338b966bfd8c51270788687976b3a31d32ccaecd 100644 (file)
@@ -38,7 +38,7 @@ class CRM_Queue_QueueTest extends CiviUnitTestCase {
   /* Define a list of queue providers which should be tested */
 
   /**
-   * Return a list of persistent and transient queue providers
+   * Return a list of persistent and transient queue providers.
    */
   public function getQueueSpecs() {
     $queueSpecs = array();
@@ -120,7 +120,7 @@ class CRM_Queue_QueueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Claim an item from the queue and release it back for subsequent processing
+   * Claim an item from the queue and release it back for subsequent processing.
    *
    * @dataProvider getQueueSpecs
    * @param $queueSpec
@@ -147,7 +147,7 @@ class CRM_Queue_QueueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that item leases expire at the expected time
+   * Test that item leases expire at the expected time.
    *
    * @dataProvider getQueueSpecs
    * @param $queueSpec
@@ -182,7 +182,7 @@ class CRM_Queue_QueueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that item leases can be ignored
+   * Test that item leases can be ignored.
    *
    * @dataProvider getQueueSpecs
    * @param $queueSpec
@@ -240,7 +240,7 @@ class CRM_Queue_QueueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that queue content is not reset when reset is omitted
+   * Test that queue content is not reset when reset is omitted.
    *
    * @dataProvider getQueueSpecs
    * @param $queueSpec
index 0cef8a8e564f037ed32ecb70f1522f88dda519f4..353646874aac6bf3bf3eae6f7b94fadd0171a9f9 100644 (file)
@@ -10,7 +10,7 @@ class CRM_UF_Page_ProfileEditorTest extends CiviUnitTestCase {
   }
 
   /**
-   * Spot check a few fields that should appear in schema
+   * Spot check a few fields that should appear in schema.
    */
   public function testGetSchema() {
     $schema = CRM_UF_Page_ProfileEditor::getSchema(array('IndividualModel', 'ActivityModel'));
index 2f3ca5842d31b52ffd4f3abb5411a07db4888038..0548954fca1c9278715cd6c864a38bc0c2093c7a 100644 (file)
@@ -53,7 +53,7 @@ class CRM_Utils_Cache_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index abfff66be707090695086fa2c106bc4d90b1c087..47bfd0d7b24fdfdc4985cc3cb1d0cebb5f7df8f6 100644 (file)
@@ -15,7 +15,7 @@ class CRM_Utils_Cache_SqlGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Add and remove two items from the same cache instance
+   * Add and remove two items from the same cache instance.
    */
   public function testSameInstance() {
     $a = new CRM_Utils_Cache_SqlGroup(array(
@@ -40,7 +40,7 @@ class CRM_Utils_Cache_SqlGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Add item to one cache instance then read with another
+   * Add item to one cache instance then read with another.
    */
   public function testTwoInstance() {
     $a = new CRM_Utils_Cache_SqlGroup(array(
index bc1e2139462f172dcd9c8c3bf183238c3c1bacd7..1b4a9c5b3c2378bdb1df39efafd2e1fd5f08eab5 100644 (file)
@@ -8,7 +8,7 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 class CRM_Utils_GlobalStackTest extends CiviUnitTestCase {
 
   /**
-   * Temporarily override global variables and ensure that the variable data
+   * Temporarily override global variables and ensure that the variable data.
    * is set as expected (before/during/after the override).
    */
   public function testPushPop() {
index 8ba353282117d9fe5041ccecd5f123d9472fafae..23280526b7ad588af0ff21f6850aa02a85e27739 100644 (file)
@@ -53,7 +53,7 @@ class Civi_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 91e859da2a4b19e3bcef6dbd7eca41d8a45d1afc..f63f326ede958c3d59e047815d1b5cba8d7b2e07 100644 (file)
@@ -140,7 +140,7 @@ class CiviDBAssert {
   }
 
   /**
-   * Compare a single column value in a retrieved DB record to an expected value
+   * Compare a single column value in a retrieved DB record to an expected value.
    *
    * @param $testCase
    * @param string $daoName
@@ -159,7 +159,7 @@ class CiviDBAssert {
   }
 
   /**
-   * Compare all values in a single retrieved DB record to an array of expected values
+   * Compare all values in a single retrieved DB record to an array of expected values.
    * @param $testCase
    * @param $daoName
    * @param $searchParams
index 69399e82a8e320540ae79c8a129cb676c8d1a9b4..c40e0c707b39960c00c35b65483281da7292982a 100644 (file)
@@ -59,7 +59,7 @@ class CiviMailUtils extends PHPUnit_Framework_TestCase {
   protected $_webtest = FALSE;
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param CiviSeleniumTestCase|CiviUnitTestCase $unit_test The currently running test
    * @param bool $startImmediately
@@ -79,7 +79,7 @@ class CiviMailUtils extends PHPUnit_Framework_TestCase {
   }
 
   /**
-   * Start writing emails to db instead of current option
+   * Start writing emails to db instead of current option.
    */
   public function start() {
     if ($this->_webtest) {
@@ -248,7 +248,7 @@ class CiviMailUtils extends PHPUnit_Framework_TestCase {
    */
 
   /**
-   * Check contents of mail log
+   * Check contents of mail log.
    *
    * @param array $strings
    *   Strings that should be included.
@@ -270,7 +270,7 @@ class CiviMailUtils extends PHPUnit_Framework_TestCase {
   }
 
   /**
-   * Check that mail log is empty
+   * Check that mail log is empty.
    * @param string $prefix
    */
   public function assertMailLogEmpty($prefix = '') {
@@ -299,7 +299,7 @@ class CiviMailUtils extends PHPUnit_Framework_TestCase {
   }
 
   /**
-   * Remove any sent messages from the log
+   * Remove any sent messages from the log.
    */
   public function clearMessages() {
     if ($this->_webtest) {
index 998eb914b83613739c3abbc4f463ac1e68ce37ec..e5fc6627de5ea7ce9e68d100324d153b7dac3729 100644 (file)
@@ -49,7 +49,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   protected $loggedInAs = NULL;
 
   /**
-   *  Constructor
+   *  Constructor.
    *
    *  Because we are overriding the parent class constructor, we
    *  need to show the same arguments as exist in the constructor of
@@ -154,7 +154,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Authenticate as drupal user
+   * Authenticate as drupal user.
    * @param $user : (str) the key 'user' or 'admin', or a literal username
    * @param $pass : (str) if $user is a literal username and not 'user' or 'admin', supply the password
    */
@@ -229,7 +229,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Click on a link or button
+   * Click on a link or button.
    * Wait for the page to load
    * Wait for an element to be present
    * @param $element
@@ -249,7 +249,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Click a link or button and wait for an ajax dialog to load
+   * Click a link or button and wait for an ajax dialog to load.
    * @param string $element
    * @param string $waitFor
    */
@@ -261,7 +261,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Click a link or button and wait for ajax content to load or refresh
+   * Click a link or button and wait for ajax content to load or refresh.
    * @param string $element
    * @param string $waitFor
    */
@@ -289,7 +289,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Wait for all ajax snippets to finish loading
+   * Wait for all ajax snippets to finish loading.
    */
   public function waitForAjaxContent() {
     $this->waitForElementNotPresent('css=.blockOverlay');
@@ -302,7 +302,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Call the API on the local server
+   * Call the API on the local server.
    * (kind of defeats the point of a webtest - see CRM-11889)
    * @param $entity
    * @param $action
@@ -320,7 +320,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Call the API on the remote server
+   * Call the API on the remote server.
    * Experimental - currently only works if permissions on remote site allow anon user to access ajax api
    * @see CRM-11889
    * @param $entity
@@ -405,7 +405,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Ensures the required CiviCRM components are enabled
+   * Ensures the required CiviCRM components are enabled.
    * @param $components
    */
   public function enableComponents($components) {
@@ -427,7 +427,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Add a contact with the given first and last names and either a given email
+   * Add a contact with the given first and last names and either a given email.
    * (when specified), a random email (when true) or no email (when unspecified or null).
    *
    * @param string $fname
@@ -605,7 +605,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Types text into a ckEditor rich text field in a form
+   * Types text into a ckEditor rich text field in a form.
    *
    * @param string $fieldName
    *   Form field name (as assigned by PHP buildForm class).
@@ -638,7 +638,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Types option label and name into a table of multiple choice options
+   * Types option label and name into a table of multiple choice options.
    * (for price set fields of type select, radio, or checkbox)
    * TODO: extend for custom field multiple choice table input
    *
@@ -666,7 +666,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Use a contact EntityRef field to add a new contact
+   * Use a contact EntityRef field to add a new contact.
    * @param string $field
    *   Selector.
    * @param string $contactType
@@ -749,7 +749,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Generic function to check that strings are present in the page
+   * Generic function to check that strings are present in the page.
    *
    * @strings  array    array of strings or a single string
    *
@@ -787,7 +787,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Returns a single argument from the url query
+   * Returns a single argument from the url query.
    * @param $arg
    * @param null $url
    * @return null
@@ -1640,7 +1640,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Generic function to compare expected values after an api call to retrieved
+   * Generic function to compare expected values after an api call to retrieved.
    * DB values.
    *
    * @param string $daoName
@@ -1700,7 +1700,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Compare all values in a single retrieved DB record to an array of expected values
+   * Compare all values in a single retrieved DB record to an array of expected values.
    * @param string $daoName
    * @param array $searchParams
    * @param $expectedValues
@@ -1721,7 +1721,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Add new Financial Account
+   * Add new Financial Account.
    * @param $financialAccountTitle
    * @param bool $financialAccountDescription
    * @param bool $accountingCode
@@ -1811,7 +1811,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Edit Financial Account
+   * Edit Financial Account.
    * @param $editfinancialAccount
    * @param bool $financialAccountTitle
    * @param bool $financialAccountDescription
@@ -1910,7 +1910,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Delete Financial Account
+   * Delete Financial Account.
    * @param $financialAccountTitle
    */
   public function _testDeleteFinancialAccount($financialAccountTitle) {
@@ -1922,7 +1922,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Verify data after ADD and EDIT
+   * Verify data after ADD and EDIT.
    * @param $verifyData
    */
   public function _assertFinancialAccount($verifyData) {
@@ -2001,7 +2001,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Give the specified permissions
+   * Give the specified permissions.
    * Note: this function logs in as 'admin' (logging out if necessary)
    * @param $permission
    */
@@ -2081,7 +2081,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Ensure we have a default mailbox set up for CiviMail
+   * Ensure we have a default mailbox set up for CiviMail.
    */
   public function setupDefaultMailbox() {
     $this->openCiviPage('admin/mailSettings', 'action=update&id=1&reset=1');
@@ -2242,7 +2242,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Type and select first occurance of autocomplete
+   * Type and select first occurance of autocomplete.
    * @param $fieldName
    * @param $label
    * @param bool $multiple
@@ -2278,7 +2278,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Select multiple options
+   * Select multiple options.
    * @param $fieldid
    * @param $params
    */
@@ -2338,7 +2338,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   /**
-   * Attempt to get information about what went wrong if we encounter an error when loading a page
+   * Attempt to get information about what went wrong if we encounter an error when loading a page.
    */
   public function checkForErrorsOnPage() {
     foreach (array('Access denied', 'Page not found') as $err) {
index ba0fdc77b804facdc859d68577a6201642ff4e89..7412d4221decff5f14c8889b5fb3ba02c5448397 100644 (file)
@@ -39,7 +39,7 @@ require_once 'PHPUnit/Framework/TestSuite.php';
 class CiviTestSuite extends PHPUnit_Framework_TestSuite {
 
   /**
-   * Simple name based constructor
+   * Simple name based constructor.
    * @param string $theClass
    * @param string $name
    */
@@ -61,21 +61,21 @@ class CiviTestSuite extends PHPUnit_Framework_TestSuite {
   }
 
   /**
-   *  Test suite setup
+   *  Test suite setup.
    */
   protected function setUp() {
     //print __METHOD__ . "\n";
   }
 
   /**
-   *  Test suite teardown
+   *  Test suite teardown.
    */
   protected function tearDown() {
     //print __METHOD__ . "\n";
   }
 
   /**
-   *  suppress failed test error issued by phpunit when it finds
+   *  suppress failed test error issued by phpunit when it finds.
    *  a test suite with no tests
    */
   public function testNothing() {
index 50376eb32995d1e6cedd5d850576f5d32c984175..7a336f4e401d22d5dae58a76968a9a8d5bae7b10 100755 (executable)
@@ -70,28 +70,28 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
    */
   protected $_apiversion = API_LATEST_VERSION;
   /**
-   *  Database has been initialized
+   *  Database has been initialized.
    *
    * @var boolean
    */
   private static $dbInit = FALSE;
 
   /**
-   *  Database connection
+   *  Database connection.
    *
    * @var PHPUnit_Extensions_Database_DB_IDatabaseConnection
    */
   protected $_dbconn;
 
   /**
-   * The database name
+   * The database name.
    *
    * @var string
    */
   static protected $_dbName;
 
   /**
-   * Track tables we have modified during a test
+   * Track tables we have modified during a test.
    */
   protected $_tablesToTruncate = array();
 
@@ -155,7 +155,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   protected $origExtensionSystem;
 
   /**
-   *  Constructor
+   *  Constructor.
    *
    *  Because we are overriding the parent class constructor, we
    *  need to show the same arguments as exist in the constructor of
@@ -230,7 +230,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   *  Create database connection for this instance
+   *  Create database connection for this instance.
    *
    *  Initialize the test database if it hasn't been initialized
    *
@@ -252,7 +252,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   *  Required implementation of abstract method
+   *  Required implementation of abstract method.
    */
   protected function getDataSet() {
   }
@@ -381,7 +381,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   *  Common setup functions for all unit tests
+   *  Common setup functions for all unit tests.
    */
   protected function setUp() {
     $session = CRM_Core_Session::singleton();
@@ -441,7 +441,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Read everything from the datasets directory and insert into the db
+   * Read everything from the datasets directory and insert into the db.
    */
   public function loadAllFixtures() {
     $fixturesDir = __DIR__ . '/../../fixtures';
@@ -468,7 +468,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Emulate a logged in user since certain functions use that
+   * Emulate a logged in user since certain functions use that.
    * value to store a record in the DB (like activity)
    * CRM-8180
    */
@@ -494,7 +494,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create default domain contacts for the two domains added during test class
+   * Create default domain contacts for the two domains added during test class.
    * database population.
    */
   public function createDomainContacts() {
@@ -503,7 +503,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   *  Common teardown functions for all unit tests
+   *  Common teardown functions for all unit tests.
    */
   protected function tearDown() {
     error_reporting(E_ALL & ~E_NOTICE);
@@ -557,7 +557,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Generic function to compare expected values after an api call to retrieved
+   * Generic function to compare expected values after an api call to retrieved.
    * DB values.
    *
    * @daoName  string   DAO Name of object we're evaluating.
@@ -674,7 +674,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Compare a single column value in a retrieved DB record to an expected value
+   * Compare a single column value in a retrieved DB record to an expected value.
    * @param string $daoName
    * @param $searchValue
    * @param $returnColumn
@@ -691,7 +691,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Compare all values in a single retrieved DB record to an array of expected values
+   * Compare all values in a single retrieved DB record to an array of expected values.
    * @param string $daoName
    * @param array $searchParams
    * @param $expectedValues
@@ -706,7 +706,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Assert that a SQL query returns a given value
+   * Assert that a SQL query returns a given value.
    *
    * The first argument is an expected value. The remaining arguments are passed
    * to CRM_Core_DAO::singleValueQuery
@@ -907,7 +907,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * wrap api functions
+   * wrap api functions.
    * so we can ensure they succeed & throw exceptions without litterering the test with checks
    *
    * @param string $entity
@@ -1039,7 +1039,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * This function exists to wrap api functions
+   * This function exists to wrap api functions.
    * so we can ensure they succeed, generate and example & throw exceptions without litterering the test with checks
    *
    * @param string $entity
@@ -1062,7 +1062,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * This function exists to wrap api functions
+   * This function exists to wrap api functions.
    * so we can ensure they fail where expected & throw exceptions without litterering the test with checks
    * @param string $entity
    * @param string $action
@@ -1148,7 +1148,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Helper function for getting sample contact properties
+   * Helper function for getting sample contact properties.
    *
    * @param string $contact_type
    *   enum contact type: Individual, Organization
@@ -1295,7 +1295,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete Membership Type
+   * Delete Membership Type.
    *
    * @param array $params
    */
@@ -1362,7 +1362,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete Relatinship Type
+   * Delete Relatinship Type.
    *
    * @param int $relationshipTypeID
    */
@@ -1396,7 +1396,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create Participant
+   * Create Participant.
    *
    * @param array $params
    *   Array of contact id and event id values.
@@ -1427,7 +1427,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create Payment Processor
+   * Create Payment Processor.
    *
    * @return CRM_Financial_DAO_PaymentProcessor
    *   instance of Payment Processsor
@@ -1449,7 +1449,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create contribution page
+   * Create contribution page.
    *
    * @param array $params
    * @return array
@@ -1472,7 +1472,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create Tag
+   * Create Tag.
    *
    * @param array $params
    * @return array
@@ -1490,7 +1490,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete Tag
+   * Delete Tag.
    *
    * @param int $tagId
    *   Id of the tag to be deleted.
@@ -1519,7 +1519,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create contribution
+   * Create contribution.
    *
    * @param int $cID
    *   Contact_id.
@@ -1548,7 +1548,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete contribution
+   * Delete contribution.
    *
    * @param int $pledgeId
    */
@@ -1560,7 +1560,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create contribution
+   * Create contribution.
    *
    * @param int $cID
    *   Contact_id.
@@ -1600,7 +1600,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create online contribution
+   * Create online contribution.
    *
    * @param array $params
    * @param int $financialType
@@ -1629,7 +1629,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete contribution
+   * Delete contribution.
    *
    * @param int $contributionId
    *
@@ -1644,7 +1644,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create an Event
+   * Create an Event.
    *
    * @param array $params
    *   Name-value pair for an event.
@@ -1684,7 +1684,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete event
+   * Delete event.
    *
    * @param int $id
    *   ID of the event.
@@ -1699,7 +1699,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete participant
+   * Delete participant.
    *
    * @param int $participantID
    *
@@ -1713,7 +1713,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create participant payment
+   * Create participant payment.
    *
    * @param int $participantID
    * @param int $contributionID
@@ -1732,7 +1732,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete participant payment
+   * Delete participant payment.
    *
    * @param int $paymentID
    */
@@ -1744,7 +1744,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Add a Location
+   * Add a Location.
    *
    * @param int $contactID
    * @return int
@@ -1776,7 +1776,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete Locations of contact
+   * Delete Locations of contact.
    *
    * @param array $params
    *   Parameters.
@@ -1786,7 +1786,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Add a Location Type
+   * Add a Location Type.
    *
    * @param array $params
    * @return CRM_Core_DAO_LocationType
@@ -1812,7 +1812,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete a Location Type
+   * Delete a Location Type.
    *
    * @param int $locationTypeId
    */
@@ -1823,7 +1823,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Add a Group
+   * Add a Group.
    *
    * @param array $params
    * @return int
@@ -1849,7 +1849,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
 
 
   /**
-   * Function to add a Group
+   * Function to add a Group.
    *
    * @params array to add group
    *
@@ -1875,7 +1875,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete a Group
+   * Delete a Group.
    *
    * @param int $gid
    */
@@ -1889,7 +1889,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create a UFField
+   * Create a UFField.
    * @param array $params
    */
   public function uFFieldCreate($params = array()) {
@@ -1908,7 +1908,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Add a UF Join Entry
+   * Add a UF Join Entry.
    *
    * @param array $params
    * @return int
@@ -1930,7 +1930,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete a UF Join Entry
+   * Delete a UF Join Entry.
    *
    * @param array $params
    *   with missing uf_group_id
@@ -1951,7 +1951,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create Group for a contact
+   * Create Group for a contact.
    *
    * @param int $contactId
    */
@@ -1965,7 +1965,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete Group for a contact
+   * Delete Group for a contact.
    *
    * @param int $contactId
    */
@@ -1978,7 +1978,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create Activity
+   * Create Activity.
    *
    * @param array $params
    * @return array|int
@@ -2021,7 +2021,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create an activity type
+   * Create an activity type.
    *
    * @param array $params
    *   Parameters.
@@ -2032,7 +2032,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete activity type
+   * Delete activity type.
    *
    * @param int $activityTypeId
    *   Id of the activity type.
@@ -2044,7 +2044,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create custom group
+   * Create custom group.
    *
    * @param array $params
    * @return array|int
@@ -2092,7 +2092,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create custom group with multi fields
+   * Create custom group with multi fields.
    * @param array $params
    * @return array|int
    */
@@ -2106,7 +2106,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create custom group with multi fields
+   * Create custom group with multi fields.
    * @param array $params
    * @return array
    */
@@ -2164,7 +2164,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete custom group
+   * Delete custom group.
    *
    * @param int $customGroupID
    *
@@ -2176,7 +2176,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create custom field
+   * Create custom field.
    *
    * @param array $params
    *   (custom_group_id) is required.
@@ -2200,7 +2200,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete custom field
+   * Delete custom field.
    *
    * @param int $customFieldID
    *
@@ -2213,7 +2213,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create note
+   * Create note.
    *
    * @param int $cId
    * @return array
@@ -2232,7 +2232,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Enable CiviCampaign Component
+   * Enable CiviCampaign Component.
    */
   public function enableCiviCampaign() {
     CRM_Core_BAO_ConfigSetting::enableComponent('CiviCampaign');
@@ -2446,7 +2446,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Delete note
+   * Delete note.
    *
    * @param array $params
    *
@@ -2457,7 +2457,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
   }
 
   /**
-   * Create custom field with Option Values
+   * Create custom field with Option Values.
    *
    * @param array $customGroup
    * @param string $name
@@ -2678,7 +2678,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Get formatted values in  the actual and expected result
+   * Get formatted values in  the actual and expected result.
    * @param array $actual
    *   Actual calculated values.
    * @param array $expected
@@ -2752,7 +2752,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Generate a temporary folder
+   * Generate a temporary folder.
    *
    * @param string $prefix
    * @return string
@@ -2776,7 +2776,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Temporarily replace the singleton extension with a different one
+   * Temporarily replace the singleton extension with a different one.
    * @param \CRM_Extension_System $system
    */
   public function setExtensionSystem(CRM_Extension_System $system) {
@@ -3101,7 +3101,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Create an instance of the paypal processor
+   * Create an instance of the paypal processor.
    * @todo this isn't a great place to put it - but really it belongs on a class that extends
    * this parent class & we don't have a structure for that yet
    * There is another function to this effect on the PaypalPro test but it appears to be silently failing
@@ -3141,7 +3141,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Set up initial recurring payment allowing subsequent IPN payments
+   * Set up initial recurring payment allowing subsequent IPN payments.
    */
   public function setupRecurringPaymentProcessorTransaction() {
     $contributionRecur = $this->callAPISuccess('contribution_recur', 'create', array(
@@ -3220,7 +3220,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Helper function to create new mailing
+   * Helper function to create new mailing.
    * @return mixed
    */
   public function createMailing() {
@@ -3237,7 +3237,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Helper function to delete mailing
+   * Helper function to delete mailing.
    * @param $id
    */
   public function deleteMailing($id) {
@@ -3249,7 +3249,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
   }
 
   /**
-   * Wrap the entire test case in a transaction
+   * Wrap the entire test case in a transaction.
    *
    * Only subsequent DB statements will be wrapped in TX -- this cannot
    * retroactively wrap old DB statements. Therefore, it makes sense to
index 8e89e497428aa445c0793b0bdfa2a847c9c802e7..03c65c488d322d81865b58176d220087fc473435 100644 (file)
@@ -5,7 +5,7 @@
  */
 class Contact extends CiviUnitTestCase {
   /**
-   * Helper function to create
+   * Helper function to create.
    * a contact
    *
    * @param array $params
@@ -87,7 +87,7 @@ class Contact extends CiviUnitTestCase {
   }
 
   /**
-   * Helper function to delete a contact
+   * Helper function to delete a contact.
    *
    * @param int $contactID
    *   Id of the contact to delete.
index 9562a0bf73cfb1799179a9da0ce1d0f724cd8d68..7c1cc1930b25d797ee5b49e29b84f9d96cf14680 100644 (file)
@@ -5,7 +5,7 @@
  */
 class ContributionPage extends PHPUnit_Framework_Testcase {
   /**
-   * Helper function to create
+   * Helper function to create.
    * a Contribution Page
    *
    * @param int $id
@@ -40,7 +40,7 @@ class ContributionPage extends PHPUnit_Framework_Testcase {
   }
 
   /**
-   * Helper function to delete a Contribution Page
+   * Helper function to delete a Contribution Page.
    *
    * @param int $contributionPageId
    *   Id of the Contribution Page.
index 6a00ca98aec637248e80f317d91435c137d5fdab..73076f7a5d916d9e210cdee28df54d7505393221 100644 (file)
@@ -5,7 +5,7 @@
  */
 class Custom extends CiviUnitTestCase {
   /**
-   * Helper function to create Custom Group
+   * Helper function to create Custom Group.
    *
    * @deprecated - use functions on test case parent class
    *
@@ -60,7 +60,7 @@ class Custom extends CiviUnitTestCase {
   }
 
   /**
-   * Helper function to create Custom Field
+   * Helper function to create Custom Field.
    * @deprecated use parent object create fn
    * @param array $params
    * @param null $fields
@@ -99,7 +99,7 @@ class Custom extends CiviUnitTestCase {
   }
 
   /**
-   * Helper function to delete custom field
+   * Helper function to delete custom field.
    *
    * @deprecated use function on parent class
    *
@@ -110,7 +110,7 @@ class Custom extends CiviUnitTestCase {
   }
 
   /**
-   * Helper function to delete custom group
+   * Helper function to delete custom group.
    *
    * @deprecated use function on parent class
    *
index 726b432424fc19b20fa53029e35b5d72c31a9b4a..a8d8ce6e3449466193024fe240d16ae34eef7767 100644 (file)
@@ -34,7 +34,7 @@ class Event extends PHPUnit_Framework_Testcase {
   }
 
   /**
-   * Helper function to delete an Event
+   * Helper function to delete an Event.
    *
    * @param int $eventId
    * @return bool
index 16122bdaed4fea584adb80444c28862d36d9c1df..cec5c4e4edaf21a82bb8782c9c988765ed866493 100644 (file)
@@ -6,7 +6,7 @@ require_once 'Contact.php';
  */
 class Membership extends PHPUnit_Framework_Testcase {
   /**
-   * Helper function to create membership type
+   * Helper function to create membership type.
    */
   public function createMembershipType() {
     $orgId = Contact::createOrganisation();
@@ -39,7 +39,7 @@ class Membership extends PHPUnit_Framework_Testcase {
   }
 
   /**
-   * Helper function to create membership block for contribution page
+   * Helper function to create membership block for contribution page.
    * @param $membershipType
    * @param $contributionPageId
    * @return $this
@@ -69,7 +69,7 @@ class Membership extends PHPUnit_Framework_Testcase {
   }
 
   /**
-   * Helper function to delete the membership block
+   * Helper function to delete the membership block.
    * @param $blcokId
    */
   public function deleteMembershipBlock($blcokId) {
index 64524eba495d6a1b10263a99fc89bd393707e0ca..fd60bcf54b7e1d8f737bbb2fe1c0fbd3130abc97 100644 (file)
@@ -5,7 +5,7 @@
  */
 class Participant extends PHPUnit_Framework_Testcase {
   /**
-   * Helper function to create a Participant
+   * Helper function to create a Participant.
    *
    * @param int $contactId
    * @param int $eventId
@@ -32,7 +32,7 @@ class Participant extends PHPUnit_Framework_Testcase {
   }
 
   /**
-   * Helper function to delete a participant
+   * Helper function to delete a participant.
    *
    * @param int $participantId
    * @return bool
index 6a75d3c4c18696a025fb6949d68bc7377c915816..30746e342dddd453984f1835f1b158fe0ac9f930 100644 (file)
@@ -54,7 +54,7 @@ class HelloTest extends PHPUnit_Framework_TestCase {
   }
 
   /**
-   * Called before the test functions will be executed
+   * Called before the test functions will be executed.
    * this function is defined in PHPUnit_TestCase and overwritten
    * here
    */
@@ -65,7 +65,7 @@ class HelloTest extends PHPUnit_Framework_TestCase {
   }
 
   /**
-   * Called after the test functions are executed
+   * Called after the test functions are executed.
    * this function is defined in PHPUnit_TestCase and overwritten
    * here.
    */
@@ -75,7 +75,7 @@ class HelloTest extends PHPUnit_Framework_TestCase {
   }
 
   /**
-   * test the toString function
+   * test the toString function.
    */
   public function testHello() {
     $result = $this->abc;
index 6bba8576e2f14dd1d14cb8f52b800ecaed8ade28..1e31961069e73f23aa6662eb2aa6868bba770fd0 100644 (file)
 class Utils {
 
   /**
-   *  PDO for the database
+   *  PDO for the database.
    * @var PDO
    */
   public $pdo;
 
   /**
-   *  Construct an object for this database
+   *  Construct an object for this database.
    * @param $host
    * @param $port
    * @param $user
@@ -63,7 +63,7 @@ class Utils {
   }
 
   /**
-   * Prepare and execute a query
+   * Prepare and execute a query.
    *
    * If the query fails, output a diagnostic message
    * @param string $query
index 773923e6385cac8361ed4f8139ebc0b63880d002..0f63dee1393eca267a371de2cfdc8350a7265b93 100644 (file)
@@ -119,7 +119,7 @@ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * moves a field from one field to another
+   * moves a field from one field to another.
    * @param $field_to_move
    * @param int $from_group_id
    * @param int $to_group_id
@@ -149,7 +149,7 @@ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * create a contact and return the contact id
+   * create a contact and return the contact id.
    * @param string $firstName
    * @param string $lastName
    *
@@ -166,7 +166,7 @@ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * Get all custom field values for a given contact and custom group id using the api
+   * Get all custom field values for a given contact and custom group id using the api.
    * @param int $contact_id
    * @param int $group_id
    * @param bool $reset_cache
@@ -225,7 +225,7 @@ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * Creates a custom field group for a specific entity type and returns the custom group Id
+   * Creates a custom field group for a specific entity type and returns the custom group Id.
    * @param string $prefix
    * @param string $entity
    *
@@ -429,7 +429,7 @@ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * randomly generates data for a specific custom field
+   * randomly generates data for a specific custom field.
    * @param int $contact_id
    * @param int $group_id
    */
index ba63463751fc9f13778a56713a16363490f724e5..90bc026efccc7fcb7d6812e494aae4f796eaf982 100644 (file)
@@ -48,7 +48,7 @@ class WebTest_AllTests extends CiviTestSuite {
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 19bedfb850b2190f24b0885c81a535e155948a9b..bc13161b1e381e404d1b1dc92c27b68179d7bba0 100644 (file)
@@ -215,7 +215,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * function to check match for sumbit Advance Search
+   * function to check match for sumbit Advance Search.
    * @param string $firstName
    */
   public function submitSearch($firstName) {
@@ -259,7 +259,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * function to fill basic search detail
+   * function to fill basic search detail.
    * @param string $firstName
    * @param string $groupName
    * @param $tagName
@@ -286,7 +286,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * function to fill address search block values in advance search
+   * function to fill address search block values in advance search.
    * @param $firstName
    */
   public function addAddressSearchDetail($firstName) {
@@ -307,7 +307,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * function to fill activity search block in advance search
+   * function to fill activity search block in advance search.
    * @param $firstName
    */
   public function addActivitySearchDetail($firstName) {
@@ -328,7 +328,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * function to fill demographic search details
+   * function to fill demographic search details.
    */
   public function addDemographicSearchDetail() {
     // fill birth date range
@@ -345,7 +345,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * function to fill contribution search details
+   * function to fill contribution search details.
    * @param $firstName
    */
   public function addContributionSearchDetail($firstName) {
@@ -370,7 +370,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * function to fill participant search details
+   * function to fill participant search details.
    */
   public function addParticipantSearchDetail() {
     // fill event name
@@ -389,7 +389,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * function to fill member search details
+   * function to fill member search details.
    * @param $firstName
    */
   public function addMemberSearchDetail($firstName) {
@@ -416,7 +416,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * function to fill member search details
+   * function to fill member search details.
    * @param $firstName
    */
   public function addPledgeSearchDetail($firstName) {
index 2e5144d1af6ec559ac587fcd9589a323d8e2494b..420177e168e2648b2c0f01c49820e323c391728c 100644 (file)
@@ -38,7 +38,7 @@ class WebTest_Contact_CreateCmsUserFromContactTest extends CiviSeleniumTestCase
   }
 
   /**
-   * Test that option to create a cms user is present on a contact who
+   * Test that option to create a cms user is present on a contact who.
    * does not have a cms account already (in this case, a new
    * contact).
    */
index 72fccbdb2156b89ae2247cb5b61d09c7756a1eaf..5510012eaa7bd873894f49123b3bbc3d41c7a9de 100644 (file)
@@ -242,7 +242,7 @@ class WebTest_Contact_InlineFieldsEditTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * Enter values in an inline edit block and save
+   * Enter values in an inline edit block and save.
    *
    * @param string $block
    *   selector.
index 79e736f0de646768ec81707c035c139c72a27904..6b064aeabdc866510c0f9270360e06fd38bbbcf5 100644 (file)
@@ -639,7 +639,7 @@ class WebTest_Contact_MergeContactsTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * Helper FN
+   * Helper FN.
    * @param null $firstName
    * @param null $lastName
    * @param null $organizationName
@@ -734,7 +734,7 @@ class WebTest_Contact_MergeContactsTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * Helper FN
+   * Helper FN.
    * to create new membership type
    * @param $membershipOrganization
    */
index 5dd047fc1627e30a5a39706cfb02b720d7767478..05df6bd1d7db360f5253ffb3e71e9982f7f8b513 100644 (file)
@@ -237,7 +237,7 @@ class WebTest_Contact_SearchBuilderTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * Enter form values in a Search Builder row
+   * Enter form values in a Search Builder row.
    * @param $set
    * @param $row
    * @param $entity
index 35ef367df1d9cd964578bc04d45562d3378a435f..86fee95dd91c9c676655db8c70d17d1197418054 100644 (file)
@@ -307,7 +307,7 @@ class WebTest_Contribute_OfflineContributionTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * common function for doing offline contribution
+   * common function for doing offline contribution.
    * @param array $params
    * @param string $firstName
    * @param string $lastName
index 5e05fb53e68d8b791f9c8a6a4565997a9b136599..008062fc7c1667fe1ed92af805adc534ccf1f248 100755 (executable)
@@ -36,7 +36,7 @@ class WebTest_Event_MultipleEventRegistrationbyCartTest extends CiviSeleniumTest
   }
 
   /**
-   * this functionality is broken hence skipping the test
+   * this functionality is broken hence skipping the test.
    */
   public function skiptestAuthenticatedMultipleEvent() {
 
@@ -131,7 +131,7 @@ class WebTest_Event_MultipleEventRegistrationbyCartTest extends CiviSeleniumTest
   }
 
   /**
-   * this functionality is broken hence skipping the test
+   * this functionality is broken hence skipping the test.
    */
   public function skiptestAnonymousMultipleEvent() {
     // This is the path where our testing install resides.
index 328e817c489839c568e945ae8d64adf454b5d009..9c58f0bce57dad06c1dc8cf64f87be7e8d82f0ac 100644 (file)
@@ -36,7 +36,7 @@ class WebTest_Import_AddressParsingTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * Check for Valid Street Address
+   * Check for Valid Street Address.
    */
   public function testValidStreetAddressParsing() {
     $this->webtestLogin();
@@ -91,7 +91,7 @@ class WebTest_Import_AddressParsingTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * Check for Invalid Street Address
+   * Check for Invalid Street Address.
    */
   public function testInvalidStreetAddressParsing() {
     $this->webtestLogin();
@@ -147,7 +147,7 @@ class WebTest_Import_AddressParsingTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * Check Street Address when Address Parsing is Disabled
+   * Check Street Address when Address Parsing is Disabled.
    */
   public function testStreetAddress() {
     $this->webtestLogin();
index 33c2071e87540ec51e942069debe159efd6d00ef..f0cbf45ab5795532de9b421c6c6d198308a553bb 100644 (file)
@@ -446,7 +446,7 @@ class WebTest_Import_DuplicateMatchingTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * Helper function to provide data for contact import for Household
+   * Helper function to provide data for contact import for Household.
    * Duplicate Matching.
    *
    * @param $householdFields
index 91343b88c021011a02bb6db8645959f818a642e4..338604a539f7276dba350b8c9b4d9f5453b00289 100644 (file)
@@ -233,7 +233,7 @@ class WebTest_Import_MatchExternalIdTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * Helper function to add new contact
+   * Helper function to add new contact.
    *
    * @param string $firstName
    * @param string $lastName
@@ -263,7 +263,7 @@ class WebTest_Import_MatchExternalIdTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * Helper function to add new event
+   * Helper function to add new event.
    *
    * @param array $params
    *
index 6b3f664b0c97d627d6f53e49b5025a6d086ee0eb..65528b3505803838390e1a91df87c75d939d310f 100644 (file)
@@ -49,7 +49,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
   }
 
   /**
-   * Helper function to provide data for multiple relationship import
+   * Helper function to provide data for multiple relationship import.
    * for Individuals.
    *
    * @return array
index ecfe6725a6b2535afefcb357732fd4105fb154a7..b3b8fcae04c1af03631b25da87fbff4ffcb1aa6a 100644 (file)
@@ -235,7 +235,7 @@ class WebTest_Import_ParticipantTest extends ImportCiviSeleniumTestCase {
   }
 
   /**
-   * Helper function to add new event
+   * Helper function to add new event.
    *
    * @param array $params
    *   Parameters to create an event.
index df7d7a1eee4ffdc96f2ee3e29baee4a85c729da8..bedb9fd612c86070c2ddf6dbc4aeb32140125999 100644 (file)
@@ -36,7 +36,7 @@ require_once 'CiviTest/CiviSeleniumTestCase.php';
 class WebTest_Release_ReleaseTestCase extends CiviSeleniumTestCase {
 
   /**
-   *  Constructor
+   *  Constructor.
    *
    *  Because we are overriding the parent class constructor, we
    *  need to show the same arguments as exist in the constructor of
index 3410f3705f84812df9b7b5cecfdb1c261936d092..65b9f0c0dadbd48faf5cbecaa5439a52209e575d 100644 (file)
@@ -205,7 +205,7 @@ class WebTest_Utils_RestTest extends CiviSeleniumTestCase {
   }
 
   /**
-   * Submit a request with an API key that exists but does not correspond to
+   * Submit a request with an API key that exists but does not correspond to.
    * a real user. Submit in "?entity=X&action=X" notation
    */
   public function testNotCMSUser_entityAction() {
index 26490335b8622e81ab757a4cece59d0b5a381069..847bcff25dacae0571f339aff76034b6f9dd4e94 100644 (file)
@@ -70,7 +70,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests that an empty where hook returns no results
+   * Function tests that an empty where hook returns no results.
    */
   public function testContactGetNoResultsHook() {
     $this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereHookNoResults'));
@@ -82,7 +82,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests all results are returned
+   * Function tests all results are returned.
    */
   public function testContactGetAllResultsHook() {
     $this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereHookAllResults'));
@@ -95,7 +95,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests that deleted contacts are not returned
+   * Function tests that deleted contacts are not returned.
    */
   public function testContactGetPermissionHookNoDeleted() {
     $this->callAPISuccess('contact', 'create', array('id' => 2, 'is_deleted' => 1));
@@ -108,7 +108,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test permissions limited by hook
+   * Test permissions limited by hook.
    */
   public function testContactGetHookLimitingHook() {
     $this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereOnlySecond'));
@@ -132,7 +132,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that id works as a filter
+   * Check that id works as a filter.
    */
   public function testContactGetIDFilter() {
     $this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereHookAllResults'));
@@ -147,7 +147,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that address IS returned
+   * Check that address IS returned.
    */
   public function testContactGetAddressReturned() {
     $this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereOnlySecond'));
@@ -181,7 +181,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that pledge IS not returned
+   * Check that pledge IS not returned.
    */
   public function testContactGetPledgeIDNotReturned() {
     $this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereHookAllResults'));
@@ -197,7 +197,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that pledge IS not an allowable filter
+   * Check that pledge IS not an allowable filter.
    */
   public function testContactGetPledgeIDNotFiltered() {
     $this->hookClass->setHook('civicrm_aclWhereClause', array($this, 'aclWhereHookAllResults'));
@@ -335,7 +335,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * No results returned
+   * No results returned.
    * @param $type
    * @param $tables
    * @param $whereTables
@@ -346,7 +346,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * All results returned
+   * All results returned.
    * @implements CRM_Utils_Hook::aclWhereClause
    * @param $type
    * @param $tables
@@ -359,7 +359,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Full results returned
+   * Full results returned.
    * @implements CRM_Utils_Hook::aclWhereClause
    * @param $type
    * @param $tables
index d1c75590e249d2a230c1ba35765a8c1be46b29a3..b6faedbc7b984293aaeb6f076e965c1eabcc4ec8 100644 (file)
@@ -117,7 +117,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check if required fields are not passed
+   * Check if required fields are not passed.
    */
   public function testActivityCreateWithoutRequired() {
     $params = array(
@@ -538,7 +538,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * test that get functioning does filtering
+   * test that get functioning does filtering.
    */
   public function testGetFilter() {
     $params = array(
@@ -611,7 +611,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * test that get functioning does filtering
+   * test that get functioning does filtering.
    */
   public function testGetStatusID() {
     $params = array(
@@ -643,7 +643,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * test that get functioning does filtering
+   * test that get functioning does filtering.
    */
   public function testGetFilterMaxDate() {
     $params = array(
@@ -765,7 +765,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check activity deletion without activity type
+   * Check activity deletion without activity type.
    */
   public function testDeleteActivityWithoutActivityType() {
     $params = array('id' => 1);
@@ -773,7 +773,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check activity deletion with incorrect data
+   * Check activity deletion with incorrect data.
    */
   public function testDeleteActivityWithIncorrectActivityType() {
     $params = array(
@@ -785,7 +785,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check activity deletion with correct data
+   * Check activity deletion with correct data.
    */
   public function testDeleteActivity() {
     $result = $this->callAPISuccess('activity', 'create', $this->_params);
@@ -799,7 +799,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check if required fields are not passed
+   * Check if required fields are not passed.
    */
   public function testActivityUpdateWithoutRequired() {
     $params = array(
@@ -825,7 +825,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with incorrect required fields
+   * Check with incorrect required fields.
    */
   public function testActivityUpdateWithIncorrectContactActivityType() {
     $params = array(
@@ -1055,7 +1055,7 @@ class api_v3_ActivityTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check activity update with status
+   * Check activity update with status.
    */
   public function testActivityUpdateWithStatus() {
     $activity = $this->callAPISuccess('activity', 'create', $this->_params);
index 59044b6251e78728e05f21ccd613cd07fba88727..ebd4a2331da71c5ea15d4e6d5daddaf48b092c64 100644 (file)
@@ -116,7 +116,7 @@ class api_v3_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create an address with a master ID and ensure that a relationship is created
+   * Create an address with a master ID and ensure that a relationship is created.
    */
   public function testCreateAddressWithMasterRelationshipHousehold() {
     $householdID = $this->householdCreate();
@@ -134,7 +134,7 @@ class api_v3_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create an address with a master ID and ensure that a relationship is created
+   * Create an address with a master ID and ensure that a relationship is created.
    */
   public function testCreateAddressWithMasterRelationshipOrganization() {
     $address = $this->callAPISuccess('address', 'create', $this->_params);
@@ -151,7 +151,7 @@ class api_v3_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create an address with a master ID and ensure that a relationship is created
+   * Create an address with a master ID and ensure that a relationship is created.
    */
   public function testCreateAddressWithMasterRelationshipChangingOrganization() {
     $address = $this->callAPISuccess('address', 'create', $this->_params);
@@ -196,7 +196,7 @@ class api_v3_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   * test address deletion
+   * test address deletion.
    */
   public function testDeleteAddress() {
     //check there are no address to start with
index bc567a31cc601392ba2c99321ea9d66dacc6acc1..a0ad53b7875931d3d6cfcbaff882c20e9b9b2b8f 100644 (file)
@@ -44,7 +44,8 @@ class api_v3_AllTests extends CiviTestSuite {
   private static $instance = NULL;
 
   /**
-   * Simple name based constructor
+   * Simple name based constructor.
+   *
    * @param string $theClass
    * @param string $name
    */
@@ -62,7 +63,7 @@ class api_v3_AllTests extends CiviTestSuite {
   }
 
   /**
-   * Build test suite dynamically
+   * Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
index 1fd5571c7db7bf002752bcbf57cabdb28dedd693..e61969cd783ae539ca47c5562c57094b159a6597 100644 (file)
@@ -14,7 +14,7 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 class api_v3_CRM11793Test extends CiviUnitTestCase {
 
   /**
-   * Test setup for every test
+   * Test setup for every test.
    *
    * Connect to the database, truncate the tables that will be used
    * and redirect stdin to a temporary file
index cc6cc223a74f993daafd705ea03e0fafdd6c8189..c805368cbd1e0467b2e780b20eb9f819c7779ac9 100644 (file)
@@ -44,7 +44,7 @@ class api_v3_ConstantTest extends CiviUnitTestCase {
   protected $_apiversion = 3;
 
   /**
-   * Test setup for every test
+   * Test setup for every test.
    *
    * Connect to the database, truncate the tables that will be used
    * and redirect stdin to a temporary file
index 35bc19a9fe67065f8a4468882cf4a8ffe51a25b2..f7467ed3c5d1062d545fe251bb31ff6cbba5d76b 100644 (file)
@@ -796,7 +796,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Verify that attempt to create individual contact with first
+   * Verify that attempt to create individual contact with first.
    * and last names and email succeeds
    */
   public function testCreateIndividualWithNameEmail() {
@@ -815,7 +815,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Verify that attempt to create individual contact with no data fails
+   * Verify that attempt to create individual contact with no data fails.
    */
   public function testCreateIndividualWithOutNameEmail() {
     $params = array(
@@ -825,7 +825,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Verify that attempt to create individual contact with first
+   * Verify that attempt to create individual contact with first.
    * and last names, email and location type succeeds
    */
   public function testCreateIndividualWithNameEmailLocationType() {
@@ -970,7 +970,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Verify successful update of organization contact
+   * Verify successful update of organization contact.
    */
   public function testUpdateOrganizationWithAll() {
     // Insert a row in civicrm_contact creating organization contact
@@ -1347,7 +1347,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test to check return works OK
+   * Test to check return works OK.
    */
   public function testContactGetReturnValues() {
     $extraParams = array('nick_name' => 'Bob', 'phone' => '456', 'email' => 'e@mail.com');
@@ -1413,7 +1413,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * Verify attempt to create individual with chained arrays
+   * Verify attempt to create individual with chained arrays.
    */
   public function testGetIndividualWithChainedArrays() {
     $ids = $this->entityCustomGroupWithSingleFieldCreate(__FUNCTION__, __FILE__);
@@ -1663,7 +1663,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test TrueFalse format
+   * test TrueFalse format.
    */
   public function testContactCreateFormatIsSuccessFalse() {
 
@@ -1676,7 +1676,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
   }
 
   /**
-   * test Single Entity format
+   * test Single Entity format.
    */
   public function testContactGetSingle_entity_array() {
     $this->createContactFromXML();
index 0c03d93b60e3b7272d3a0085d173644a521faba7..d542cf4b63dc329520e9c3acde04d0475c5d8a02 100644 (file)
@@ -70,7 +70,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test add methods with valid data
+   * Test add methods with valid data.
    * success expected
    */
   public function testContactCreate() {
@@ -114,7 +114,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
 
 
   /**
-   * Test add with invalid data
+   * Test add with invalid data.
    */
   public function testContactAddInvalidData() {
 
@@ -138,7 +138,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
 
 
   /**
-   * Test update with no subtype to valid subtype
+   * Test update with no subtype to valid subtype.
    * success expected
    */
   public function testContactUpdateNoSubtypeValid() {
@@ -204,7 +204,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
 
 
   /**
-   * Test update with no subtype to invalid subtype
+   * Test update with no subtype to invalid subtype.
    */
   public function testContactUpdateNoSubtypeInvalid() {
 
@@ -251,7 +251,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test update with no subtype to valid subtype
+   * Test update with no subtype to valid subtype.
    * success expected
    */
   public function testContactUpdateSubtypeValid() {
@@ -340,7 +340,7 @@ class api_v3_ContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test update with no subtype to invalid subtype
+   * Test update with no subtype to invalid subtype.
    */
   public function testContactUpdateSubtypeInvalid() {
 
index fec64080e9db9d89398e2d5f0d9ed7cf62f3d489..92d73a9db7ac5b6ca58b9952196233f0a0e31dd6 100644 (file)
@@ -44,7 +44,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
   protected $contribution_result = NULL;
   protected $_priceSetParams = array();
   /**
-   * Payment processor details
+   * Payment processor details.
    * @var array
    */
   protected $_paymentProcessor = array();
@@ -133,7 +133,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
 
 
   /**
-   * Test form submission with basic price set
+   * Test form submission with basic price set.
    */
   public function testSubmit() {
     $this->setUpContributionPage();
@@ -150,7 +150,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test submit with a membership block in place
+   * Test submit with a membership block in place.
    */
   public function testSubmitMembershipBlockNotSeparatePayment() {
     $this->setUpMembershipContributionPage();
@@ -171,7 +171,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test submit with a membership block in place
+   * Test submit with a membership block in place.
    */
   public function testSubmitMembershipBlockIsSeparatePayment() {
     $this->setUpMembershipContributionPage(TRUE);
@@ -195,7 +195,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test submit with a membership block in place
+   * Test submit with a membership block in place.
    */
   public function testSubmitMembershipBlockTwoTypesIsSeparatePayment() {
     $this->_ids['membership_type'] = array($this->membershipTypeCreate(array('minimum_fee' => 6)));
@@ -224,7 +224,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test submit with a membership block in place
+   * Test submit with a membership block in place.
    */
   public function testSubmitMembershipBlockIsSeparatePaymentPaymentProcessor() {
     $this->setUpMembershipContributionPage(TRUE);
@@ -395,7 +395,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * Set up membership contribution page
+   * Set up membership contribution page.
    * @param bool $isSeparatePayment
    */
   public function setUpMembershipContributionPage($isSeparatePayment = FALSE) {
@@ -453,7 +453,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * Help function to set up contribution page with some defaults
+   * Help function to set up contribution page with some defaults.
    */
   public function setUpContributionPage() {
     $contributionPageResult = $this->callAPISuccess($this->_entity, 'create', $this->params);
index 4c0355666a4b8f04b47c0235ab3be5d5e185074d..892fc234747de3752cbbea0ef5a66f32af93c22e 100644 (file)
@@ -84,7 +84,7 @@ class api_v3_ContributionSoftTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test get methods
+   * Test get methods.
    * @todo - this might be better broken down into more smaller tests
    */
   public function testGetContributionSoft() {
@@ -197,7 +197,7 @@ class api_v3_ContributionSoftTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests that additional financial records are created when fee amount is recorded
+   * Function tests that additional financial records are created when fee amount is recorded.
    */
   public function testCreateContributionSoft() {
     $params = array(
@@ -217,7 +217,7 @@ class api_v3_ContributionSoftTest extends CiviUnitTestCase {
   }
 
   /**
-   * To Update Soft Contribution
+   * To Update Soft Contribution.
    *
    */
   public function testCreateUpdateContributionSoft() {
index dd15e6ce85e19bfdf266fb1dc3a9b98381fec8ec..309eaa6946274442754e2aa8f08f320c0149fa1c 100644 (file)
@@ -347,7 +347,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test checks that passing in line items suppresses the create mechanism
+   * Test checks that passing in line items suppresses the create mechanism.
    */
   public function testCreateContributionChainedLineItems() {
     $params = array(
@@ -427,7 +427,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test create with valid payment instument
+   * Test create with valid payment instument.
    */
   public function testCreateContributionWithPaymentInstrument() {
     $params = $this->_params + array('payment_instrument' => 'EFT');
@@ -492,7 +492,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create test with unique field name on source
+   * Create test with unique field name on source.
    */
   public function testCreateContributionSource() {
 
@@ -517,7 +517,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create test with unique field name on source
+   * Create test with unique field name on source.
    */
   public function testCreateDefaultNow() {
 
@@ -858,7 +858,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests that additional financial records are created when online contribution with pending option
+   * Function tests that additional financial records are created when online contribution with pending option.
    * is created
    */
   public function testCreateContributionPendingOnline() {
@@ -970,7 +970,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests that financial records are updated when Payment Instrument is changed
+   * Function tests that financial records are updated when Payment Instrument is changed.
    */
   public function testCreateUpdateContributionPaymentInstrument() {
     $instrumentId = $this->_addPaymentInstrument();
@@ -995,7 +995,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests that financial records are added when Contribution is Refunded
+   * Function tests that financial records are added when Contribution is Refunded.
    */
   public function testCreateUpdateContributionRefund() {
     $contribParams = array(
@@ -1020,7 +1020,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests invalid contribution status change
+   * Function tests invalid contribution status change.
    */
   public function testCreateUpdateContributionInValidStatusChange() {
     $contribParams = array(
@@ -1042,7 +1042,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests that financial records are added when Pending Contribution is Canceled
+   * Function tests that financial records are added when Pending Contribution is Canceled.
    */
   public function testCreateUpdateContributionCancelPending() {
     $contribParams = array(
@@ -1067,7 +1067,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests that financial records are added when Financial Type is Changed
+   * Function tests that financial records are added when Financial Type is Changed.
    */
   public function testCreateUpdateContributionChangeFinancialType() {
     $contribParams = array(
@@ -1104,7 +1104,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * To Update Contribution
+   * To Update Contribution.
    * CHANGE: we require the API to do an incremental update
    */
   public function testCreateUpdateContribution() {
@@ -1302,7 +1302,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test completing a transaction via the API
+   * Test completing a transaction via the API.
    *
    * Note that we are creating a logged in user because email goes out from
    * that person
@@ -1346,7 +1346,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test completing a transaction with an event via the API
+   * Test completing a transaction with an event via the API.
    *
    * Note that we are creating a logged in user because email goes out from
    * that person
@@ -1374,7 +1374,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test membership is renewed when transaction completed
+   * Test membership is renewed when transaction completed.
    */
   public function testCompleteTransactionMembershipPriceSet() {
     $this->createPriceSetWithPage('membership');
@@ -1386,7 +1386,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test membership is renewed when transaction completed
+   * Test membership is renewed when transaction completed.
    */
   public function testCompleteTransactionMembershipPriceSetTwoTerms() {
     $this->createPriceSetWithPage('membership');
@@ -1463,7 +1463,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Set up a pending transaction with a specific price field id
+   * Set up a pending transaction with a specific price field id.
    * @param int $priceFieldValueID
    */
   public function setUpPendingContribution($priceFieldValueID) {
@@ -1507,7 +1507,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test sending a mail via the API
+   * Test sending a mail via the API.
    */
   public function testSendMail() {
     $mut = new CiviMailUtils($this, TRUE);
@@ -1529,7 +1529,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test sending a mail via the API
+   * Test sending a mail via the API.
    */
   public function testSendMailEvent() {
     $mut = new CiviMailUtils($this, TRUE);
index 6ae4ecfd86afb8fc6b2b79eb388db642f3179def..9c4a61d405fd48191f22aa278497cf5e66f13bc1 100644 (file)
@@ -54,7 +54,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with no array
+   * Check with no array.
    */
   public function testCustomFieldCreateNoArray() {
     $fieldParams = NULL;
@@ -64,7 +64,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with no label
+   * Check with no label.
    */
   public function testCustomFieldCreateWithoutLabel() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Individual', 'title' => 'text_test_group'));
@@ -85,7 +85,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with edit
+   * Check with edit.
    */
   public function testCustomFieldCreateWithEdit() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Individual', 'title' => 'text_test_group'));
@@ -110,7 +110,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check without groupId
+   * Check without groupId.
    */
   public function testCustomFieldCreateWithoutGroupID() {
     $fieldParams = array(
@@ -204,7 +204,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test  using example code
+   * Test  using example code.
    */
   /*function testCustomFieldCreateExample( )
   {
@@ -252,7 +252,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test custom field with existing option group
+   * Test custom field with existing option group.
    */
   public function testCustomFieldExistingOptionGroup() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Organization', 'title' => 'test_group'));
@@ -383,7 +383,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   ///////////////// civicrm_custom_field_delete methods
 
   /**
-   * Check with no array
+   * Check with no array.
    */
   public function testCustomFieldDeleteNoArray() {
     $params = NULL;
@@ -392,7 +392,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check without Field ID
+   * Check without Field ID.
    */
   public function testCustomFieldDeleteWithoutFieldID() {
     $params = array();
@@ -401,7 +401,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check without valid array
+   * Check without valid array.
    */
   public function testCustomFieldDelete() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Individual', 'title' => 'test_group'));
@@ -417,7 +417,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check for Option Value
+   * Check for Option Value.
    */
   public function testCustomFieldOptionValueDelete() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Contact', 'title' => 'ABC'));
index 26f1509f780f5a77b3ce101981895bad8a74b91a..f9903014c4e492c01570a86942c715875e58cf8c 100644 (file)
@@ -66,7 +66,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   ///////////////// civicrm_custom_group_create methods
 
   /**
-   * Check with empty array
+   * Check with empty array.
    * note that these tests are of marginal value so should not be included in copy & paste
    * code. The SyntaxConformance is capable of testing this for all entities on create
    * & delete (& it would be easy to add if not there)
@@ -78,7 +78,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testCustomGroupCreateNoExtends() {
     $params = array(
@@ -99,7 +99,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testCustomGroupCreateInvalidExtends() {
     $params = array(
@@ -120,7 +120,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with a string instead of array for extends
+   * Check with a string instead of array for extends.
    */
   public function testCustomGroupCreateExtendsString() {
     $params = array(
@@ -140,7 +140,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with valid array
+   * Check with valid array.
    */
   public function testCustomGroupCreate() {
     $params = array(
@@ -161,7 +161,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with valid array
+   * Check with valid array.
    */
   public function testCustomGroupGetFields() {
     $params = array(
@@ -198,7 +198,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with style missing from params array
+   * Check with style missing from params array.
    */
   public function testCustomGroupCreateNoStyle() {
     $params = array(
@@ -218,7 +218,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with not array
+   * Check with not array.
    */
   public function testCustomGroupCreateNotArray() {
     $params = NULL;
@@ -227,7 +227,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check without title
+   * Check without title.
    */
   public function testCustomGroupCreateNoTitle() {
     $params = array(
@@ -244,7 +244,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check for household without weight
+   * Check for household without weight.
    */
   public function testCustomGroupCreateHouseholdNoWeight() {
     $params = array(
@@ -265,7 +265,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check for Contribution Donation
+   * Check for Contribution Donation.
    */
   public function testCustomGroupCreateContributionDonation() {
     $params = array(
@@ -286,7 +286,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with valid array
+   * Check with valid array.
    */
   public function testCustomGroupCreateGroup() {
     $params = array(
@@ -330,7 +330,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   ///////////////// civicrm_custom_group_delete methods
 
   /**
-   * Check without GroupID
+   * Check without GroupID.
    */
   public function testCustomGroupDeleteWithoutGroupID() {
     $customGroup = $this->callAPIFailure('custom_group', 'delete', array());
@@ -338,7 +338,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with no array
+   * Check with no array.
    */
   public function testCustomGroupDeleteNoArray() {
     $params = NULL;
@@ -347,7 +347,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with valid custom group id
+   * Check with valid custom group id.
    */
   public function testCustomGroupDelete() {
     $customGroup = $this->customGroupCreate(array('extends' => 'Individual', 'title' => 'test_group'));
@@ -359,7 +359,7 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Main success get function
+   * Main success get function.
    */
   public function testGetCustomGroupSuccess() {
 
index 9e1825c5809cbe4f2288f7372274ac1872f0fb65..5cb7e6e31a46b8dde9d87b744827aeaa6a5e0306 100644 (file)
@@ -113,7 +113,7 @@ class api_v3_CustomValueContactTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that custom fields is returned for correct contact type only
+   * Test that custom fields is returned for correct contact type only.
    */
   public function testGetFields() {
     $result = $this->callAPISuccess('Contact', 'getfields', array());
@@ -236,7 +236,7 @@ class api_v3_CustomValueContactTypeTest extends CiviUnitTestCase {
   // Retrieve Methods
 
   /**
-   * Retrieve Valid custom Data added to  Individual Contact Type
+   * Retrieve Valid custom Data added to  Individual Contact Type.
    */
   public function testRetrieveValidCustomDataToIndividual() {
 
index 1e448121f3d64d7e8ee93be8a7285f775902c955..54bc6020aa44d5567561bfe6af8f6b99b7023b12 100644 (file)
@@ -37,7 +37,7 @@ class api_v3_DashboardContactTest extends CiviUnitTestCase {
   protected $_apiversion = 3;
 
   /**
-   * Test setup for every test
+   * Test setup for every test.
    *
    * Connect to the database, truncate the tables that will be used
    * and redirect stdin to a temporary file
index eb496ddd9e4eac2ce3b2d1cc463f464156d211c6..c90a2d20215f44f86615efa35dd32ab463fce692 100644 (file)
@@ -37,7 +37,7 @@ class api_v3_DashboardTest extends CiviUnitTestCase {
   protected $_apiversion = 3;
 
   /**
-   * Test setup for every test
+   * Test setup for every test.
    *
    * Connect to the database, truncate the tables that will be used
    * and redirect stdin to a temporary file
index a627b22c89016718de30c5354a7293014d655dc3..c236958968795b225a17703f78a8895a4110b631 100644 (file)
@@ -306,7 +306,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that an event with a price set can be created
+   * Test that an event with a price set can be created.
    */
   public function testCreatePaidEvent() {
     //@todo alter API so that an integer is converted to an array
@@ -354,7 +354,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that passing in Unique field names works
+   * Test that passing in Unique field names works.
    */
   public function testCreateEventSuccessUniqueFieldNames() {
     $this->_params[0]['event_start_date'] = $this->_params[0]['start_date'];
@@ -412,7 +412,7 @@ class api_v3_EventTest extends CiviUnitTestCase {
   }
 
   /**
-   * Trying to delete an event with participants should return error
+   * Trying to delete an event with participants should return error.
    */
   public function testDeleteWithExistingParticipant() {
     $contactID = $this->individualCreate();
index 29e0e6dae3296c7241c6b85ac8ab541fbe595420..aa61908e5fc6a0be2afd42c1561bb91eb31bf0a0 100644 (file)
@@ -74,7 +74,7 @@ class api_v3_GrantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check checkbox type custom fields are created correctly
+   * Check checkbox type custom fields are created correctly.
    * We want to ensure they are saved with separators as appropriate
    */
   public function testCreateCustomCheckboxGrant() {
@@ -158,7 +158,7 @@ class api_v3_GrantTest extends CiviUnitTestCase {
   }
 
   /**
-   * This is a test to check if setting fields one at a time alters other fields
+   * This is a test to check if setting fields one at a time alters other fields.
    * Issues Hit so far =
    * 1) Currency keeps getting reset to USD -  BUT this may be the only enabled currency
    *  - in which case it is valid
index 35b4cd453350238ec58cdde1240f35a577146a63..b4868aa04dfaed55051723bf87481b7f7aed8ccf 100644 (file)
@@ -39,7 +39,7 @@ class api_v3_GroupContactTest extends CiviUnitTestCase {
   protected $_groupId1;
 
   /**
-   * Set up for group contact tests
+   * Set up for group contact tests.
    *
    * @todo set up calls function that doesn't work @ the moment
    */
index d152d380837e72dc8460b9dae88dce4f9c73e8b8..c93df0bdbb1938d5c640d19314d7430340bef2c3 100644 (file)
@@ -119,7 +119,7 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase {
   ///////////////// civicrm_group_organization_create methods
 
   /**
-   * Check with valid params
+   * Check with valid params.
    */
   public function testGroupOrganizationCreate() {
     $params = array(
@@ -143,7 +143,7 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with empty params array
+   * Check with empty params array.
    */
   public function testGroupOrganizationCreateWithEmptyParams() {
     $params = array();
@@ -152,7 +152,7 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with invalid params
+   * Check with invalid params.
    */
   public function testGroupOrganizationCreateParamsNotArray() {
     $params = 'group_org';
@@ -161,7 +161,7 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with invalid params keys
+   * Check with invalid params keys.
    */
   public function testGroupOrganizationCreateWithInvalidKeys() {
     $params = array(
index 65f445c257a7bb45a1c0cddaadae2bed6e85aa13..c8e53a916d4c1a6104e6143d9ba651debf7898b4 100644 (file)
@@ -85,7 +85,7 @@ class api_v3_JobProcessMailingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check mailing is sent
+   * Check mailing is sent.
    */
   public function testProcessMailing() {
     $this->createContactsInGroup(10, $this->_groupID);
index 071e0763570dbd38b4c6043a1937764fe7e7a8d6..e62c0ca2df514786ded57d4970061f4a7a3777a8 100644 (file)
@@ -52,7 +52,7 @@ class api_v3_MailSettingsTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test creation
+   * Test creation.
    */
   public function testCreateMailSettings() {
     $this->callAPISuccessGetCount('mail_settings', array(), 1);
@@ -64,7 +64,7 @@ class api_v3_MailSettingsTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test caches cleared adequately
+   * Test caches cleared adequately.
    */
   public function testCreateUpdateMailSettings() {
     $result = $this->callAPISuccess('MailSettings', 'create', $this->params);
@@ -76,7 +76,7 @@ class api_v3_MailSettingsTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test get method
+   * Test get method.
    */
   public function testGetMailSettings() {
     $this->callAPIAndDocument('MailSettings', 'create', $this->params, __FUNCTION__, __FILE__);
@@ -97,7 +97,7 @@ class api_v3_MailSettingsTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test chained delete
+   * Test chained delete.
    */
   public function testGetMailSettingsChainDelete() {
     $description = "demonstrates get + delete in the same call";
index 0662f58c6bd150bc278d7124af08165e88a717a2..10d9115f037f3b343971f1e86101bb928546f2fc 100644 (file)
@@ -155,7 +155,7 @@ class api_v3_MembershipStatusTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that trying to delete membership status while membership still exists creates error
+   * Test that trying to delete membership status while membership still exists creates error.
    */
   public function testDeleteWithMembershipError() {
     $membershipStatusID = $this->membershipStatusCreate();
index 1d2c007fb14c83aaf5ae56ed5c994503503cd4a8..973ba40962f9b2db93065091795c1d226fccb27b 100644 (file)
@@ -804,7 +804,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Change custom field using update
+   * Change custom field using update.
    */
   public function testUpdateWithCustom() {
     $ids = $this->entityCustomGroupWithSingleFieldCreate(__FUNCTION__, __FILE__);
@@ -961,7 +961,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that if membership join date is not set it defaults to today
+   * Test that if membership join date is not set it defaults to today.
    */
   public function testEmptyJoinDate() {
     unset($this->_params['join_date'], $this->_params['is_override']);
@@ -1273,7 +1273,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that if membership end date is not set it defaults to correct end date
+   * Test that if membership end date is not set it defaults to correct end date.
    *  - rolling
    */
   public function testEmptyEndDateFixed() {
@@ -1287,7 +1287,7 @@ class api_v3_MembershipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that if membership end date is not set it defaults to correct end date
+   * Test that if membership end date is not set it defaults to correct end date.
    *  - rolling
    */
   public function testEmptyEndDateRolling() {
index 32c753ebcb0cda4a1d41f90bc7f0572e26befa2a..c1f2ebbd7c898a8d96535c882c877b3ce42c426d 100644 (file)
@@ -57,7 +57,7 @@ class api_v3_MessageTemplateTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test create function succeeds
+   * Test create function succeeds.
    */
   public function testCreate() {
     $result = $this->callAPIAndDocument('MessageTemplate', 'create', $this->params, __FUNCTION__, __FILE__);
@@ -76,7 +76,7 @@ class api_v3_MessageTemplateTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check the delete function succeeds
+   * Check the delete function succeeds.
    */
   public function testDelete() {
     $entity = $this->createTestEntity();
index d2e12a3c3ce7030a7818d2aeccf3b754f652e03e..1d8f0c6e703650e3924dd0c77ff75fb555296042 100644 (file)
@@ -46,7 +46,7 @@ class api_v3_OptionGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Good to test option group as a representative on the Camel Case
+   * Good to test option group as a representative on the Camel Case.
    */
   public function testGetOptionGroupGetFields() {
     $result = $this->callAPISuccess('option_group', 'getfields', array());
@@ -104,7 +104,7 @@ class api_v3_OptionGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test the error message when a failure is due to a key duplication issue
+   * Test the error message when a failure is due to a key duplication issue.
    */
   public function testGetOptionCreateFailOnDuplicate() {
     $params = array(
@@ -153,7 +153,7 @@ class api_v3_OptionGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Success test for updating an existing Option Group
+   * Success test for updating an existing Option Group.
    */
   public function testCreateUpdateOptionGroup() {
     $result = $this->callAPISuccess($this->_entity, 'create', $this->_params);
@@ -163,7 +163,7 @@ class api_v3_OptionGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Success test for deleting an existing Option Group
+   * Success test for deleting an existing Option Group.
    */
   public function testDeleteOptionGroup() {
     $result = $this->callAPISuccess($this->_entity, 'create', $this->_params);
index 207e8434e07bba50bb533e862b6f73849ab34c1a..8a1e0adbed144e7b677b97960e3a837624effb4a 100644 (file)
@@ -56,7 +56,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test limit param
+   * Test limit param.
    */
   public function testGetOptionValueLimit() {
     $params = array();
@@ -68,7 +68,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test offset param
+   * Test offset param.
    */
   public function testGetOptionValueOffSet() {
 
@@ -85,7 +85,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test offset param
+   * Test offset param.
    */
   public function testGetSingleValueOptionValueSort() {
     $description = "demonstrates use of Sort param (available in many api functions). Also, getsingle";
@@ -190,7 +190,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that component  continues to be honoured
+   * Check that component  continues to be honoured.
    */
   public function testCreateOptionSpecifyComponent() {
     $result = $this->callAPISuccess('option_group', 'get', array(
@@ -212,7 +212,7 @@ class api_v3_OptionValueTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that component string is honoured
+   * Check that component string is honoured.
    */
   public function testCreateOptionSpecifyComponentString() {
     $result = $this->callAPISuccess('option_group', 'get', array(
index 2fa25fc6ba4b5a76894678b90ddb219377e4580f..3694d274272045ecbaea4fbb54ba6ee676d32910 100644 (file)
@@ -105,7 +105,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with valid array
+   * Check with valid array.
    */
   public function testPaymentCreate() {
     //Create Contribution & get contribution ID
@@ -137,7 +137,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testPaymentUpdateEmpty() {
     $params = array();
@@ -167,7 +167,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check financial records for offline Participants
+   * Check financial records for offline Participants.
    */
   public function testPaymentOffline() {
 
@@ -194,7 +194,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check financial records for online Participant
+   * Check financial records for online Participant.
    */
   public function testPaymentOnline() {
 
@@ -228,7 +228,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check financial records for online Participant pay later scenario
+   * Check financial records for online Participant pay later scenario.
    */
   public function testPaymentPayLaterOnline() {
 
@@ -274,7 +274,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testPaymentDeleteWithEmptyParams() {
     $params = array();
@@ -283,7 +283,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with wrong id
+   * Check with wrong id.
    */
   public function testPaymentDeleteWithWrongID() {
     $params = array(
@@ -294,7 +294,7 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with valid array
+   * Check with valid array.
    */
   public function testPaymentDelete() {
 
index afcf812390aa1ae078dd7933304a071ca69eee8f..c7f84bdf80a89df6993128709df26550e82998ac 100644 (file)
@@ -125,7 +125,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   ///////////////// civicrm_participant_get methods
 
   /**
-   * Check with wrong params type
+   * Check with wrong params type.
    */
   public function testGetWrongParamsType() {
     $params = 'a string';
@@ -169,7 +169,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with params id
+   * Check with params id.
    */
   public function testGetParamsAsIdOnly() {
     $params = array(
@@ -183,7 +183,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with params id
+   * Check with params id.
    */
   public function testGetNestedEventGet() {
     //create a second event & add participant to it.
@@ -207,7 +207,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check Participant Get respects return properties
+   * Check Participant Get respects return properties.
    */
   public function testGetWithReturnProperties() {
     $params = array(
@@ -388,7 +388,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with complete array
+   * Check with complete array.
    */
   public function testCreateAllParams() {
     $params = $this->_params;
@@ -525,7 +525,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with complete array
+   * Check with complete array.
    */
   public function testUpdate() {
     $participantId = $this->participantCreate(array(
@@ -578,7 +578,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testUpdateEmptyParams() {
     $params = array();
@@ -606,7 +606,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with Invalid participantId
+   * Check with Invalid participantId.
    */
   public function testUpdateWithWrongParticipantId() {
     $params = array(
@@ -621,7 +621,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with Invalid ContactId
+   * Check with Invalid ContactId.
    */
   public function testUpdateWithWrongContactId() {
     $participantId = $this->participantCreate(array(
@@ -699,7 +699,7 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test creation of a participant with an associated contribution
+   * Test creation of a participant with an associated contribution.
    */
   public function testCreateParticipantWithPayment() {
     $description = "single function to create contact w partipation & contribution. Note that in the
index c200e11913431b82df07fb5d95d0884267258cf4..62cf46820835d9d3a5365b5f851d5d1d444ba986 100644 (file)
@@ -61,7 +61,7 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_add methods
 
   /**
-   * Check with no name
+   * Check with no name.
    */
   public function testPaymentProcessorCreateWithoutName() {
     $payProcParams = array(
@@ -71,7 +71,7 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create payment processor
+   * Create payment processor.
    */
   public function testPaymentProcessorCreate() {
     $params = $this->_params;
@@ -84,7 +84,7 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test  using example code
+   * Test  using example code.
    */
   public function testPaymentProcessorCreateExample() {
     require_once 'api/v3/examples/PaymentProcessor/Create.php';
@@ -96,7 +96,7 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_delete methods
 
   /**
-   * Check payment processor delete
+   * Check payment processor delete.
    */
   public function testPaymentProcessorDelete() {
     $id = $this->testPaymentProcessorCreate();
index 6c65c3c4ef7e902799c080e0378f582db1839077..91b610e362acdd45a0db38fa049bf83fd0997d30 100644 (file)
@@ -53,7 +53,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_type_add methods
 
   /**
-   * Check with no name
+   * Check with no name.
    */
   public function testPaymentProcessorTypeCreateWithoutName() {
     $payProcParams = array(
@@ -66,7 +66,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create payment processor type
+   * Create payment processor type.
    */
   public function testPaymentProcessorTypeCreate() {
     $params = array(
@@ -88,7 +88,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test  using example code
+   * Test  using example code.
    */
   public function testPaymentProcessorTypeCreateExample() {
     require_once 'api/v3/examples/PaymentProcessorType/Create.php';
@@ -100,7 +100,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_type_delete methods
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testPaymentProcessorTypeDeleteEmpty() {
     $params = array();
@@ -108,14 +108,14 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with No array
+   * Check with No array.
    */
   public function testPaymentProcessorTypeDeleteParamsNotArray() {
     $result = $this->callAPIFailure('payment_processor_type', 'delete', 'string');
   }
 
   /**
-   * Check if required fields are not passed
+   * Check if required fields are not passed.
    */
   public function testPaymentProcessorTypeDeleteWithoutRequired() {
     $params = array(
@@ -129,14 +129,14 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with incorrect required fields
+   * Check with incorrect required fields.
    */
   public function testPaymentProcessorTypeDeleteWithIncorrectData() {
     $result = $this->callAPIFailure('payment_processor_type', 'delete', array('id' => 'abcd'));
   }
 
   /**
-   * Check payment processor type delete
+   * Check payment processor type delete.
    */
   public function testPaymentProcessorTypeDelete() {
     $payProcType = $this->paymentProcessorTypeCreate();
@@ -150,7 +150,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_type_update
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testPaymentProcessorTypeUpdateEmpty() {
     $params = array();
@@ -159,7 +159,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with No array
+   * Check with No array.
    */
   public function testPaymentProcessorTypeUpdateParamsNotArray() {
     $result = $this->callAPIFailure('payment_processor_type', 'create', 'string');
@@ -167,7 +167,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with all parameters
+   * Check with all parameters.
    */
   public function testPaymentProcessorTypeUpdate() {
     // create sample payment processor type.
@@ -191,7 +191,7 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_payment_processor_types_get methods
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testPaymentProcessorTypesGetEmptyParams() {
     $results = $this->callAPISuccess('payment_processor_type', 'get', array());
index 47328ef437db4bd799ff9b8884bbad4cfd7380f5..9ab2f4dd2fbd2c6f99ea4dcf6749d032f32567e4 100644 (file)
@@ -71,7 +71,7 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that passing in a single variable works
+   * Test that passing in a single variable works.
    */
   public function testGetSinglePledgePayment() {
     $createparams = array(
@@ -108,7 +108,7 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that creating a payment will add the contribution ID
+   * Test that creating a payment will add the contribution ID.
    */
   public function testCreatePledgePayment() {
     //check that 5 pledge payments exist at the start
@@ -153,7 +153,7 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test checks behaviour when more payments are created than should be possible
+   * Test checks behaviour when more payments are created than should be possible.
    */
   public function testCreatePledgePaymentAllCreated() {
     $params = array(
@@ -195,7 +195,7 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that creating a payment will add the contribution ID where only one pledge payment
+   * Test that creating a payment will add the contribution ID where only one pledge payment.
    * in schedule
    */
   public function testCreatePledgePaymentWhereOnlyOnePayment() {
index b8a62ee94036f7209e64134b72f15d5fdc727b86..42fd34687465056748b30dca04c14fe3359fa468 100644 (file)
@@ -263,7 +263,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that pledge with weekly schedule calculates dates correctly
+   * Test that pledge with weekly schedule calculates dates correctly.
    */
   public function testCreatePledgeWeeklySchedule() {
     $params = array(
@@ -286,7 +286,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that pledge with weekly schedule calculates dates correctly
+   * Test that pledge with weekly schedule calculates dates correctly.
    */
   public function testCreatePledgeMontlySchedule() {
     $params = array(
@@ -362,7 +362,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that status is set to pending
+   * Test that status is set to pending.
    */
   public function testCreatePledgeNoStatus() {
 
@@ -377,7 +377,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Update Pledge
+   * Update Pledge.
    */
   public function testCreateUpdatePledge() {
     // we test 'sequential' param here too
@@ -491,7 +491,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Std is to accept id
+   * Std is to accept id.
    */
   public function testDeletePledgeUseID() {
 
@@ -503,7 +503,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test to make sure empty get returns nothing
+   * Test to make sure empty get returns nothing.
    * Note that the function gives incorrect results if no pledges exist as it does a
    * contact search instead - test only checks that the get finds the one existing
    */
index a286365914ea0bdc4f5dbd9da3c72f64581c435d..319d003e2d327445292dc0515a7d08754e5b2dbf 100644 (file)
@@ -68,7 +68,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   ////////////// test $this->callAPISuccess3_profile_get //////////////////
 
   /**
-   * Check Without ProfileId
+   * Check Without ProfileId.
    */
   public function testProfileGetWithoutProfileId() {
     $params = array(
@@ -80,7 +80,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with no invalid profile Id
+   * Check with no invalid profile Id.
    */
   public function testProfileGetInvalidProfileId() {
     $params = array(
@@ -91,7 +91,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with success
+   * Check with success.
    */
   public function testProfileGet() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -233,7 +233,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check contact activity profile without activity id
+   * Check contact activity profile without activity id.
    */
   public function testContactActivityGetWithoutActivityId() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -244,7 +244,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check contact activity profile wrong activity id
+   * Check contact activity profile wrong activity id.
    */
   public function testContactActivityGetWrongActivityId() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -255,7 +255,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check contact activity profile with wrong activity type
+   * Check contact activity profile with wrong activity type.
    */
   public function testContactActivityGetWrongActivityType() {
     //flush cache by calling with reset
@@ -288,7 +288,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check contact activity profile with success
+   * Check contact activity profile with success.
    */
   public function testContactActivityGetSuccess() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -376,7 +376,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   /////////////// test $this->callAPISuccess3_profile_set //////////////////
 
   /**
-   * Check Without ProfileId
+   * Check Without ProfileId.
    */
   public function testProfileSubmitWithoutProfileId() {
     $params = array(
@@ -388,7 +388,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with no invalid profile Id
+   * Check with no invalid profile Id.
    */
   public function testProfileSubmitInvalidProfileId() {
     $params = array(
@@ -399,7 +399,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with missing required field in profile
+   * Check with missing required field in profile.
    */
   public function testProfileSubmitCheckProfileRequired() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -423,7 +423,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with success
+   * Check with success.
    */
   public function testProfileSubmit() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -487,7 +487,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that the fields are returned in the right order despite the faffing around that goes on
+   * Test that the fields are returned in the right order despite the faffing around that goes on.
    */
   public function testMembershipGetFieldsOrder() {
     $result = $this->callAPISuccess('profile', 'getfields', array(
@@ -522,7 +522,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Set is deprecated but we need to ensure it still works
+   * Set is deprecated but we need to ensure it still works.
    */
   public function testLegacySet() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -558,7 +558,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check contact activity profile without activity id
+   * Check contact activity profile without activity id.
    */
   public function testContactActivitySubmitWithoutActivityId() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -570,7 +570,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check contact activity profile wrong activity id
+   * Check contact activity profile wrong activity id.
    */
   public function testContactActivitySubmitWrongActivityId() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -581,7 +581,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check contact activity profile with wrong activity type
+   * Check contact activity profile with wrong activity type.
    */
   public function testContactActivitySubmitWrongActivityType() {
     //flush cache by calling with reset
@@ -614,7 +614,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check contact activity profile with success
+   * Check contact activity profile with success.
    */
   public function testContactActivitySubmitSuccess() {
     list($params, $expected) = $this->_createContactWithActivity();
@@ -640,7 +640,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check profile apply Without ProfileId
+   * Check profile apply Without ProfileId.
    */
   public function testProfileApplyWithoutProfileId() {
     $params = array(
@@ -651,7 +651,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check profile apply with no invalid profile Id
+   * Check profile apply with no invalid profile Id.
    */
   public function testProfileApplyInvalidProfileId() {
     $params = array(
@@ -662,7 +662,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with success
+   * Check with success.
    */
   public function testProfileApply() {
     $pofileFieldValues = $this->_createIndividualContact();
@@ -854,7 +854,7 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create a profile
+   * Create a profile.
    */
   public function _createIndividualProfile() {
 
index 65a2fee0a22b6e82af551c47fddd4ca64b2b435b..5208fd16fc3aeac45e126e9e79833426a2b03842 100644 (file)
@@ -35,7 +35,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   protected $_apiversion = 3;
   protected $_cId_a;
   /**
-   * Second individual
+   * Second individual.
    * @var integer
    */
   protected $_cId_a_2;
@@ -94,14 +94,14 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_create methods
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testRelationshipCreateEmpty() {
     $this->callAPIFailure('relationship', 'create', array());
   }
 
   /**
-   * Check if required fields are not passed
+   * Check if required fields are not passed.
    */
   public function testRelationshipCreateWithoutRequired() {
     $params = array(
@@ -114,7 +114,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with incorrect required fields
+   * Check with incorrect required fields.
    */
   public function testRelationshipCreateWithIncorrectData() {
 
@@ -147,7 +147,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check relationship creation with invalid Relationship
+   * Check relationship creation with invalid Relationship.
    */
   public function testRelationshipCreatInvalidRelationship() {
     // both the contact of type Individual
@@ -174,7 +174,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check relationship already exists
+   * Check relationship already exists.
    */
   public function testRelationshipCreateAlreadyExists() {
     $params = array(
@@ -201,7 +201,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check relationship already exists
+   * Check relationship already exists.
    */
   public function testRelationshipCreateUpdateAlreadyExists() {
     $params = array(
@@ -253,7 +253,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
 
 
   /**
-   * Check relationship creation
+   * Check relationship creation.
    */
   public function testRelationshipCreate() {
     $params = array(
@@ -287,7 +287,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Ensure disabling works
+   * Ensure disabling works.
    */
   public function testRelationshipUpdate() {
     $result = $this->callAPISuccess('relationship', 'create', $this->_params);
@@ -307,7 +307,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check relationship creation
+   * Check relationship creation.
    */
   public function testRelationshipCreateEmptyEndDate() {
     $params = array(
@@ -345,7 +345,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check relationship creation with custom data
+   * Check relationship creation with custom data.
    */
   public function testRelationshipCreateWithCustomData() {
     $customGroup = $this->createCustomGroup();
@@ -512,7 +512,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_delete methods
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testRelationshipDeleteEmpty() {
     $params = array();
@@ -520,7 +520,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check if required fields are not passed
+   * Check if required fields are not passed.
    */
   public function testRelationshipDeleteWithoutRequired() {
     $params = array(
@@ -533,7 +533,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with incorrect required fields
+   * Check with incorrect required fields.
    */
   public function testRelationshipDeleteWithIncorrectData() {
     $params = array(
@@ -549,7 +549,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check relationship creation
+   * Check relationship creation.
    */
   public function testRelationshipDelete() {
     $params = array(
@@ -573,7 +573,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_update methods
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testRelationshipUpdateEmpty() {
     $result = $this->callAPIFailure('relationship', 'create', array(),
@@ -581,11 +581,11 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check if required fields are not passed
+   * Check if required fields are not passed.
    */
 
   /**
-   * Check relationship update
+   * Check relationship update.
    */
   public function testRelationshipCreateDuplicate() {
     $relParams = array(
@@ -718,7 +718,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test using various operators
+   * Test using various operators.
    */
   public function testGetTypeOperators() {
     $relTypeParams = array(
@@ -802,7 +802,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with invalid relationshipType Id
+   * Check with invalid relationshipType Id.
    */
   public function testRelationshipTypeAddInvalidId() {
     $relTypeParams = array(
@@ -845,7 +845,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with valid data with relationshipTypes
+   * Check with valid data with relationshipTypes.
    */
   public function testGetRelationshipWithRelTypes() {
     $relParams = array(
index 7de2155044b978fd1571c54900c4a95f93c17a80..542096bca5d8948dff68926bce9063db196748ea 100644 (file)
@@ -82,7 +82,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_type_add methods
 
   /**
-   * Check with no name
+   * Check with no name.
    */
   public function testRelationshipTypeCreateWithoutName() {
     $relTypeParams = array(
@@ -95,7 +95,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with no contact type
+   * Check with no contact type.
    */
   public function testRelationshipTypeCreateWithoutContactType() {
     $relTypeParams = array(
@@ -108,7 +108,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create relationship type
+   * Create relationship type.
    */
   public function testRelationshipTypeCreate() {
     $params = array(
@@ -128,7 +128,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test  using example code
+   * Test  using example code.
    */
   public function testRelationshipTypeCreateExample() {
     require_once 'api/v3/examples/RelationshipType/Create.php';
@@ -138,7 +138,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check if required fields are not passed
+   * Check if required fields are not passed.
    */
   public function testRelationshipTypeDeleteWithoutRequired() {
     $params = array(
@@ -153,7 +153,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with incorrect required fields
+   * Check with incorrect required fields.
    */
   public function testRelationshipTypeDeleteWithIncorrectData() {
     $params = array(
@@ -171,7 +171,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check relationship type delete
+   * Check relationship type delete.
    */
   public function testRelationshipTypeDelete() {
     $id = $this->_relationshipTypeCreate();
@@ -186,7 +186,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_type_update
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testRelationshipTypeUpdateEmpty() {
     $params = array();
@@ -195,7 +195,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with no contact type
+   * Check with no contact type.
    */
   public function testRelationshipTypeUpdateWithoutContactType() {
     // create sample relationship type.
@@ -217,7 +217,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check with all parameters
+   * Check with all parameters.
    */
   public function testRelationshipTypeUpdate() {
     // create sample relationship type.
@@ -244,7 +244,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   ///////////////// civicrm_relationship_types_get methods
 
   /**
-   * Check with empty array
+   * Check with empty array.
    */
   public function testRelationshipTypesGetEmptyParams() {
     $firstRelTypeParams = array(
index e919ddaa73cf747ea11419beeef06cd7ed3d124f..7c671598e9d4cf56ae2e78cd41871299c2febdfc 100644 (file)
@@ -92,7 +92,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
 
   /**
    * /**
-   * Check getfields works
+   * Check getfields works.
    */
   public function testGetFields() {
     $description = 'Demonstrate return from getfields - see subfolder for variants';
@@ -125,7 +125,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test that getfields will filter on group
+   * Test that getfields will filter on group.
    */
   public function testGetFieldsGroupFilters() {
     $params = array('filters' => array('group' => 'multisite'));
@@ -210,7 +210,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check getfields works
+   * Check getfields works.
    */
   public function testCreateSetting() {
     $description = "shows setting a variable for a given domain - if no domain is set current is assumed";
@@ -228,7 +228,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check getfields works
+   * Check getfields works.
    */
   public function testCreateInvalidSettings() {
     $params = array(
@@ -255,7 +255,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check getfields works
+   * Check getfields works.
    */
   public function testCreateInvalidBooleanSettings() {
     $params = array(
@@ -290,7 +290,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check getfields works
+   * Check getfields works.
    */
   public function testCreateSettingMultipleDomains() {
     $description = "shows setting a variable for all domains";
@@ -356,7 +356,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that setting defined in extension can be retrieved
+   * Check that setting defined in extension can be retrieved.
    */
   public function testGetExtensionSetting() {
     $this->hookClass->setHook('civicrm_alterSettingsFolders', array($this, 'setExtensionMetadata'));
@@ -431,7 +431,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Use getValue against a config setting
+   * Use getValue against a config setting.
    */
   public function testGetValueConfigSetting() {
     $params = array(
@@ -468,7 +468,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Function tests reverting a specific parameter
+   * Function tests reverting a specific parameter.
    */
   public function testRevert() {
     $params = array(
@@ -518,7 +518,7 @@ class api_v3_SettingTest extends CiviUnitTestCase {
   }
 
   /**
-   * Tests filling missing params
+   * Tests filling missing params.
    */
   public function testFill() {
     $domparams = array(
index 5dbada0b4295a1ec703947176dfba2a4b7b00301..2da0ca6c354f750719a75c43e5ded5abba15f744 100644 (file)
@@ -71,7 +71,7 @@ class api_v3_SurveyTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test create function succeeds
+   * Test create function succeeds.
    */
   public function testCreateSurvey() {
     $result = $this->callAPIAndDocument('survey', 'create', $this->params, __FUNCTION__, __FILE__);
@@ -91,7 +91,7 @@ class api_v3_SurveyTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check the delete function succeeds
+   * Check the delete function succeeds.
    */
   public function testDeleteSurvey() {
     $entity = $this->createTestEntity();
index c18b1b5167692e46980c8b7d68e6fe52130ccd1c..7ad04d9dd12436f8cc2359d2e3dbf4171299ab4d 100644 (file)
@@ -357,7 +357,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
   }
 
   /**
-   * Generate list of entities to test for get by id functions
+   * Generate list of entities to test for get by id functions.
    * @param bool $sequential
    * @return array
    *   Entities to be skipped
@@ -751,7 +751,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
   }
 
   /**
-   * Create two entities and make sure we can fetch them individually by ID
+   * Create two entities and make sure we can fetch them individually by ID.
    *
    * @dataProvider entities_get
    *
@@ -889,7 +889,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
   }
 
   /**
-   * Check that get fetches an appropriate number of results
+   * Check that get fetches an appropriate number of results.
    *
    * @param string $entityName
    *   Name of entity to test.
index 416ddb74c77e088965e08b4c9592200e41e8f9b2..ed007f94e8c4914ddc674b30acb47292d63d3b27 100644 (file)
@@ -49,7 +49,7 @@ class api_v3_SystemTest extends CiviUnitTestCase {
   ///////////////// civicrm_domain_get methods
 
   /**
-   * Test system flush
+   * Test system flush.
    */
   public function testFlush() {
     // Note: this operation actually flushes several different caches; we don't
@@ -70,7 +70,7 @@ class api_v3_SystemTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test system log function
+   * Test system log function.
    */
   public function testSystemLog() {
     $this->callAPISuccess('system', 'log', array('level' => 'info', 'message' => 'We wish you a merry Christmas'));
@@ -83,7 +83,7 @@ class api_v3_SystemTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test system log function
+   * Test system log function.
    */
   public function testSystemLogNoLevel() {
     $this->callAPISuccess('system', 'log', array('message' => 'We wish you a merry Christmas', 'level' => 'alert'));
index bc8741f6aadb2e112852ee93d225bec03582631b..fd26f3d7b554b94344a94c97e09380cc4eafd139 100644 (file)
@@ -41,7 +41,7 @@ class api_v3_TagTest extends CiviUnitTestCase {
    */
   protected $ids = array();
   /**
-   * Tag id
+   * Tag id.
    * @var integer
    */
   protected $tag = array();
index d53c0dc14129fa692f005b2d69d8e29ae82c2c3d..bb6bdd39a9357c5f40138ec68d0cd8613ecbf13f 100644 (file)
@@ -236,7 +236,7 @@ class api_v3_TaxContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * Online and offline contrbution from above created contrbution page
+   * Online and offline contrbution from above created contrbution page.
    */
   public function testCreateContributionOnline() {
     $this->setUpContributionPage();
@@ -362,7 +362,7 @@ class api_v3_TaxContributionPageTest extends CiviUnitTestCase {
   }
 
   /**
-   * Updation of contrbution
+   * Updation of contrbution.
    * Function tests that line items, financial records are updated when contribution amount is changed
    */
   public function testCreateUpdateContributionChangeTotal() {
index 3fd2ed1ba0a72573563721311874e24d37c6950f..cfca99eb92fe0f0761683efed42a4e39190cf4c0 100644 (file)
@@ -140,7 +140,7 @@ class api_v3_UFFieldTest extends CiviUnitTestCase {
   }
 
   /**
-   * Deleting field
+   * Deleting field.
    */
   public function testDeleteUFField() {
     $ufField = $this->callAPISuccess('uf_field', 'create', $this->_params);
index 2c31be91f66d294db031729135c00934a7a00a32..936558f0a8acd8a18422ded2ba34183f2806bd18 100644 (file)
@@ -97,7 +97,7 @@ class api_v3_UFGroupTest extends CiviUnitTestCase {
   }
 
   /**
-   * Updating group
+   * Updating group.
    */
   public function testUpdateUFGroup() {
     $params = array(
index 60d97874a0e9aa04a40bc9f4aa4698a53ca14ef8..75ff05767e10811dcf3de90cd1a0ac11df9f519e 100644 (file)
@@ -75,7 +75,7 @@ class api_v3_UFJoinTest extends CiviUnitTestCase {
   }
 
   /**
-   * Find uf join group id
+   * Find uf join group id.
    */
   public function testFindUFGroupId() {
     $params = array(
@@ -183,7 +183,7 @@ class api_v3_UFJoinTest extends CiviUnitTestCase {
   }
 
   /**
-   * Find uf join id
+   * Find uf join id.
    */
   public function testGetUFJoinId() {
     $params = array(
index 4f8778a113cc1d7d7461e64670b1bc9973ec8742..259136441192609c0aaec2199a892ffe0cfa3e2e 100644 (file)
@@ -84,7 +84,7 @@ class api_v3_UFMatchTest extends CiviUnitTestCase {
   }
 
   /**
-   * Fetch contact id by uf id
+   * Fetch contact id by uf id.
    */
   public function testGetUFMatchID() {
     $params = array(
@@ -100,7 +100,7 @@ class api_v3_UFMatchTest extends CiviUnitTestCase {
   }
 
   /**
-   * Fetch uf id by contact id
+   * Fetch uf id by contact id.
    */
   public function testGetUFID() {
     $params = array(
index 58a98039d44b8a24bb11f451250b212b8b012a68..09eb88741f75a17c958cde947eb48071df867ad9 100644 (file)
@@ -202,7 +202,7 @@ class api_v3_UtilsTest extends CiviUnitTestCase {
 
 
   /**
-   * Test GET DAO function returns DAO
+   * Test GET DAO function returns DAO.
    */
   public function testGetDAO() {
     $params = array(
@@ -222,7 +222,7 @@ class api_v3_UtilsTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test GET BAO function returns BAO when it exists
+   * Test GET BAO function returns BAO when it exists.
    */
   public function testGetBAO() {
     $params = array(
index 1aa16f2ca0fc107c2f34992b3214eba45d93ea92..4e99cc456227c438320029dee464158674894b28 100644 (file)
@@ -87,7 +87,7 @@ class api_v3_WebsiteTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test retrieval of metadata
+   * Test retrieval of metadata.
    */
   public function testGetMetadata() {
     $result = $this->callAPIAndDocument($this->_entity, 'get', array(
@@ -99,7 +99,7 @@ class api_v3_WebsiteTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test retrieval of label metadata
+   * Test retrieval of label metadata.
    */
   public function testGetFields() {
     $result = $this->callAPIAndDocument($this->_entity, 'getfields', array('action' => 'get'), __FUNCTION__, __FILE__);