From eceb18cc2765fb98d86e8505f3d7402411ad26e5 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 4 Feb 2015 13:02:05 +1300 Subject: [PATCH] INFRA-132 add full stop after comments --- CRM/Admin/Form.php | 8 +- CRM/Admin/Form/CMSUser.php | 4 +- CRM/Admin/Form/ContactType.php | 6 +- CRM/Admin/Form/Extensions.php | 6 +- CRM/Admin/Form/Job.php | 4 +- CRM/Admin/Form/LabelFormats.php | 6 +- CRM/Admin/Form/LocationType.php | 4 +- CRM/Admin/Form/MailSettings.php | 8 +- CRM/Admin/Form/Mapping.php | 4 +- CRM/Admin/Form/MessageTemplates.php | 4 +- CRM/Admin/Form/Navigation.php | 8 +- CRM/Admin/Form/OptionGroup.php | 4 +- CRM/Admin/Form/Options.php | 8 +- CRM/Admin/Form/PaymentProcessor.php | 6 +- CRM/Admin/Form/PaymentProcessorType.php | 4 +- CRM/Admin/Form/PdfFormats.php | 6 +- CRM/Admin/Form/Preferences.php | 6 +- CRM/Admin/Form/Preferences/Address.php | 4 +- CRM/Admin/Form/Preferences/Contribute.php | 6 +- CRM/Admin/Form/Preferences/Display.php | 4 +- CRM/Admin/Form/Preferences/Member.php | 2 +- CRM/Admin/Form/PreferencesDate.php | 6 +- CRM/Admin/Form/RelationshipType.php | 4 +- CRM/Admin/Form/ScheduleReminders.php | 8 +- CRM/Admin/Form/Setting/Component.php | 4 +- CRM/Admin/Form/Setting/Date.php | 2 +- CRM/Admin/Form/Setting/Debugging.php | 2 +- CRM/Admin/Form/Setting/Localization.php | 2 +- CRM/Admin/Form/Setting/Mail.php | 2 +- CRM/Admin/Form/Setting/Mapping.php | 4 +- CRM/Admin/Form/Setting/Miscellaneous.php | 6 +- CRM/Admin/Form/Setting/Path.php | 2 +- CRM/Admin/Form/Setting/Search.php | 2 +- CRM/Admin/Form/Setting/Smtp.php | 6 +- CRM/Admin/Form/Setting/UF.php | 2 +- .../Form/Setting/UpdateConfigBackend.php | 2 +- CRM/Admin/Form/Setting/Url.php | 2 +- CRM/Admin/Form/Tag.php | 4 +- CRM/Admin/Form/WordReplacements.php | 6 +- CRM/Admin/Page/AJAX.php | 4 +- CRM/Admin/Page/ContactType.php | 10 +- CRM/Admin/Page/EventTemplate.php | 10 +- CRM/Admin/Page/Extensions.php | 14 +- CRM/Admin/Page/ExtensionsUpgrade.php | 2 +- CRM/Admin/Page/Job.php | 10 +- CRM/Admin/Page/JobLog.php | 10 +- CRM/Admin/Page/LabelFormats.php | 10 +- CRM/Admin/Page/LocationType.php | 10 +- CRM/Admin/Page/MailSettings.php | 10 +- CRM/Admin/Page/Mapping.php | 16 +- CRM/Admin/Page/MessageTemplates.php | 10 +- CRM/Admin/Page/Navigation.php | 12 +- CRM/Admin/Page/Options.php | 18 +-- CRM/Admin/Page/PaymentProcessor.php | 10 +- CRM/Admin/Page/PaymentProcessorType.php | 10 +- CRM/Admin/Page/PdfFormats.php | 12 +- CRM/Admin/Page/Persistent.php | 6 +- CRM/Admin/Page/PreferencesDate.php | 10 +- CRM/Admin/Page/RelationshipType.php | 10 +- CRM/Admin/Page/ScheduleReminders.php | 10 +- CRM/Admin/Page/Tag.php | 14 +- CRM/Badge/BAO/Badge.php | 6 +- CRM/Badge/BAO/Layout.php | 14 +- CRM/Badge/Form/Layout.php | 4 +- CRM/Badge/Page/Layout.php | 10 +- CRM/Batch/BAO/Batch.php | 38 ++--- CRM/Batch/Form/Batch.php | 4 +- CRM/Batch/Form/Entry.php | 24 +-- CRM/Batch/Page/AJAX.php | 4 +- CRM/Batch/Page/Batch.php | 10 +- CRM/Core/Action.php | 4 +- CRM/Core/BAO/ActionSchedule.php | 2 +- CRM/Core/BAO/Address.php | 2 +- CRM/Event/Form/Task/Badge.php | 8 +- CRM/Event/Form/Task/Batch.php | 12 +- CRM/Event/Form/Task/Delete.php | 6 +- CRM/PCP/BAO/PCP.php | 33 +++-- .../main.php | 2 +- .../main.php | 18 +-- tests/phpunit/AllTests.php | 2 +- tests/phpunit/CRM/Activity/AllTests.php | 2 +- .../Activity/BAO/ActivityAssignmentTest.php | 10 +- .../phpunit/CRM/Activity/BAO/ActivityTest.php | 16 +- tests/phpunit/CRM/AllTests.php | 2 +- tests/phpunit/CRM/Batch/Form/EntryTest.php | 6 +- tests/phpunit/CRM/Case/AllTests.php | 2 +- .../phpunit/CRM/Case/BAO/CaseTypeForkTest.php | 2 +- tests/phpunit/CRM/Case/BAO/CaseTypeTest.php | 2 +- tests/phpunit/CRM/Contact/AllTests.php | 2 +- tests/phpunit/CRM/Contact/BAO/ContactTest.php | 2 +- .../BAO/ContactType/ContactSearchTest.php | 10 +- .../Contact/BAO/ContactType/ContactTest.php | 6 +- .../BAO/ContactType/RelationshipTest.php | 10 +- .../CRM/Contact/BAO/GroupContactCacheTest.php | 4 +- tests/phpunit/CRM/Contact/BAO/GroupTest.php | 2 +- tests/phpunit/CRM/Contact/BAO/QueryTest.php | 4 +- tests/phpunit/CRM/Contribute/AllTests.php | 2 +- .../CRM/Contribute/BAO/ContributionTest.php | 4 +- tests/phpunit/CRM/Core/AllTests.php | 2 +- .../CRM/Core/BAO/CustomValueTableTest.php | 12 +- .../CRM/Core/BAO/RecurringEntityTest.php | 4 +- .../CRM/Core/CommunityMessagesTest.php | 2 +- .../phpunit/CRM/Core/ManagedEntitiesTest.php | 6 +- .../CRM/Core/Payment/AuthorizeNetTest.php | 2 +- .../phpunit/CRM/Core/Payment/BaseIPNTest.php | 28 ++-- .../CRM/Core/Payment/PayPalProIPNTest.php | 4 +- tests/phpunit/CRM/Core/RegionTest.php | 2 +- tests/phpunit/CRM/Core/TransactionTest.php | 4 +- tests/phpunit/CRM/Event/AllTests.php | 2 +- .../CRM/Event/BAO/AdditionalPaymentTest.php | 2 +- tests/phpunit/CRM/Extension/AllTests.php | 2 +- .../CRM/Extension/Manager/AllTests.php | 2 +- .../CRM/Extension/Manager/ModuleTest.php | 4 +- .../CRM/Extension/Manager/PaymentTest.php | 4 +- .../CRM/Extension/Manager/ReportTest.php | 4 +- .../CRM/Extension/Manager/SearchTest.php | 4 +- tests/phpunit/CRM/Extension/ManagerTest.php | 12 +- tests/phpunit/CRM/Group/Page/AjaxTest.php | 20 +-- tests/phpunit/CRM/Mailing/BAO/SpoolTest.php | 2 +- tests/phpunit/CRM/Member/AllTests.php | 2 +- .../phpunit/CRM/Member/BAO/MembershipTest.php | 8 +- tests/phpunit/CRM/Member/Form/AllTests.php | 2 +- .../CRM/Member/Form/MembershipTest.php | 2 +- .../Member/Import/Parser/MembershipTest.php | 6 +- tests/phpunit/CRM/PCP/BAO/PCPTest.php | 4 +- tests/phpunit/CRM/Pledge/AllTests.php | 2 +- .../CRM/Pledge/BAO/PledgePaymentTest.php | 10 +- tests/phpunit/CRM/Pledge/BAO/PledgeTest.php | 4 +- tests/phpunit/CRM/Queue/AllTests.php | 2 +- tests/phpunit/CRM/Queue/Queue/AllTests.php | 2 +- tests/phpunit/CRM/Queue/Queue/SqlTest.php | 2 +- tests/phpunit/CRM/Queue/QueueTest.php | 10 +- .../phpunit/CRM/UF/Page/ProfileEditorTest.php | 2 +- tests/phpunit/CRM/Utils/Cache/AllTests.php | 2 +- .../phpunit/CRM/Utils/Cache/SqlGroupTest.php | 4 +- tests/phpunit/CRM/Utils/GlobalStackTest.php | 2 +- tests/phpunit/Civi/AllTests.php | 2 +- tests/phpunit/CiviTest/CiviDBAssert.php | 4 +- tests/phpunit/CiviTest/CiviMailUtils.php | 10 +- .../phpunit/CiviTest/CiviSeleniumTestCase.php | 52 +++---- tests/phpunit/CiviTest/CiviTestSuite.php | 8 +- tests/phpunit/CiviTest/CiviUnitTestCase.php | 140 +++++++++--------- tests/phpunit/CiviTest/Contact.php | 4 +- tests/phpunit/CiviTest/ContributionPage.php | 4 +- tests/phpunit/CiviTest/Custom.php | 8 +- tests/phpunit/CiviTest/Event.php | 2 +- tests/phpunit/CiviTest/Membership.php | 6 +- tests/phpunit/CiviTest/Participant.php | 4 +- tests/phpunit/HelloTest.php | 6 +- tests/phpunit/Utils.php | 6 +- .../WebTest/Admin/MoveCustomDataTest.php | 10 +- tests/phpunit/WebTest/AllTests.php | 2 +- .../WebTest/Contact/AdvancedSearchTest.php | 18 +-- .../Contact/CreateCmsUserFromContactTest.php | 2 +- .../WebTest/Contact/InlineFieldsEditTest.php | 2 +- .../WebTest/Contact/MergeContactsTest.php | 4 +- .../WebTest/Contact/SearchBuilderTest.php | 2 +- .../Contribute/OfflineContributionTest.php | 2 +- .../MultipleEventRegistrationbyCartTest.php | 4 +- .../WebTest/Import/AddressParsingTest.php | 6 +- .../WebTest/Import/DuplicateMatchingTest.php | 2 +- .../WebTest/Import/MatchExternalIdTest.php | 4 +- .../Import/MultipleRelationshipTest.php | 2 +- .../WebTest/Import/ParticipantTest.php | 2 +- .../WebTest/Release/ReleaseTestCase.php | 2 +- tests/phpunit/WebTest/Utils/RestTest.php | 2 +- tests/phpunit/api/v3/ACLPermissionTest.php | 22 +-- tests/phpunit/api/v3/ActivityTest.php | 20 +-- tests/phpunit/api/v3/AddressTest.php | 8 +- tests/phpunit/api/v3/AllTests.php | 5 +- tests/phpunit/api/v3/CRM11793Test.php | 2 +- tests/phpunit/api/v3/ConstantTest.php | 2 +- tests/phpunit/api/v3/ContactTest.php | 16 +- tests/phpunit/api/v3/ContactTypeTest.php | 12 +- tests/phpunit/api/v3/ContributionPageTest.php | 16 +- tests/phpunit/api/v3/ContributionSoftTest.php | 6 +- tests/phpunit/api/v3/ContributionTest.php | 36 ++--- tests/phpunit/api/v3/CustomFieldTest.php | 20 +-- tests/phpunit/api/v3/CustomGroupTest.php | 32 ++-- .../api/v3/CustomValueContactTypeTest.php | 4 +- tests/phpunit/api/v3/DashboardContactTest.php | 2 +- tests/phpunit/api/v3/DashboardTest.php | 2 +- tests/phpunit/api/v3/EventTest.php | 6 +- tests/phpunit/api/v3/GrantTest.php | 4 +- tests/phpunit/api/v3/GroupContactTest.php | 2 +- .../phpunit/api/v3/GroupOrganizationTest.php | 8 +- .../phpunit/api/v3/JobProcessMailingTest.php | 2 +- tests/phpunit/api/v3/MailSettingsTest.php | 8 +- tests/phpunit/api/v3/MembershipStatusTest.php | 2 +- tests/phpunit/api/v3/MembershipTest.php | 8 +- tests/phpunit/api/v3/MessageTemplateTest.php | 4 +- tests/phpunit/api/v3/OptionGroupTest.php | 8 +- tests/phpunit/api/v3/OptionValueTest.php | 10 +- .../phpunit/api/v3/ParticipantPaymentTest.php | 16 +- tests/phpunit/api/v3/ParticipantTest.php | 20 +-- tests/phpunit/api/v3/PaymentProcessorTest.php | 8 +- .../api/v3/PaymentProcessorTypeTest.php | 24 +-- tests/phpunit/api/v3/PledgePaymentTest.php | 8 +- tests/phpunit/api/v3/PledgeTest.php | 12 +- tests/phpunit/api/v3/ProfileTest.php | 42 +++--- tests/phpunit/api/v3/RelationshipTest.php | 42 +++--- tests/phpunit/api/v3/RelationshipTypeTest.php | 22 +-- tests/phpunit/api/v3/SettingTest.php | 20 +-- tests/phpunit/api/v3/SurveyTest.php | 4 +- .../phpunit/api/v3/SyntaxConformanceTest.php | 6 +- tests/phpunit/api/v3/SystemTest.php | 6 +- tests/phpunit/api/v3/TagTest.php | 2 +- .../api/v3/TaxContributionPageTest.php | 4 +- tests/phpunit/api/v3/UFFieldTest.php | 2 +- tests/phpunit/api/v3/UFGroupTest.php | 2 +- tests/phpunit/api/v3/UFJoinTest.php | 4 +- tests/phpunit/api/v3/UFMatchTest.php | 4 +- tests/phpunit/api/v3/UtilsTest.php | 4 +- tests/phpunit/api/v3/WebsiteTest.php | 4 +- 214 files changed, 867 insertions(+), 865 deletions(-) diff --git a/CRM/Admin/Form.php b/CRM/Admin/Form.php index 3b7f16564c..516b24f3c1 100644 --- a/CRM/Admin/Form.php +++ b/CRM/Admin/Form.php @@ -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 */ diff --git a/CRM/Admin/Form/CMSUser.php b/CRM/Admin/Form/CMSUser.php index 98221f9f32..7ba9c3f338 100644 --- a/CRM/Admin/Form/CMSUser.php +++ b/CRM/Admin/Form/CMSUser.php @@ -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 diff --git a/CRM/Admin/Form/ContactType.php b/CRM/Admin/Form/ContactType.php index baf71f1136..cce0770293 100644 --- a/CRM/Admin/Form/ContactType.php +++ b/CRM/Admin/Form/ContactType.php @@ -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 diff --git a/CRM/Admin/Form/Extensions.php b/CRM/Admin/Form/Extensions.php index 1d55aeb9ac..1d4e11d262 100644 --- a/CRM/Admin/Form/Extensions.php +++ b/CRM/Admin/Form/Extensions.php @@ -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 diff --git a/CRM/Admin/Form/Job.php b/CRM/Admin/Form/Job.php index f0ae436e25..5e13f1b548 100644 --- a/CRM/Admin/Form/Job.php +++ b/CRM/Admin/Form/Job.php @@ -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 diff --git a/CRM/Admin/Form/LabelFormats.php b/CRM/Admin/Form/LabelFormats.php index a0645235b4..469c3d09a2 100644 --- a/CRM/Admin/Form/LabelFormats.php +++ b/CRM/Admin/Form/LabelFormats.php @@ -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 diff --git a/CRM/Admin/Form/LocationType.php b/CRM/Admin/Form/LocationType.php index 9388183a45..c974743638 100644 --- a/CRM/Admin/Form/LocationType.php +++ b/CRM/Admin/Form/LocationType.php @@ -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 diff --git a/CRM/Admin/Form/MailSettings.php b/CRM/Admin/Form/MailSettings.php index b9f43ab409..cf4ac162fe 100644 --- a/CRM/Admin/Form/MailSettings.php +++ b/CRM/Admin/Form/MailSettings.php @@ -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 diff --git a/CRM/Admin/Form/Mapping.php b/CRM/Admin/Form/Mapping.php index ce3a2ffffc..15e3b1576e 100644 --- a/CRM/Admin/Form/Mapping.php +++ b/CRM/Admin/Form/Mapping.php @@ -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 diff --git a/CRM/Admin/Form/MessageTemplates.php b/CRM/Admin/Form/MessageTemplates.php index f9f07549a0..b85b1483dc 100644 --- a/CRM/Admin/Form/MessageTemplates.php +++ b/CRM/Admin/Form/MessageTemplates.php @@ -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 diff --git a/CRM/Admin/Form/Navigation.php b/CRM/Admin/Form/Navigation.php index 9daada8947..15c1fdd169 100644 --- a/CRM/Admin/Form/Navigation.php +++ b/CRM/Admin/Form/Navigation.php @@ -40,17 +40,17 @@ 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 diff --git a/CRM/Admin/Form/OptionGroup.php b/CRM/Admin/Form/OptionGroup.php index 2b789e2792..4d7433e7cc 100644 --- a/CRM/Admin/Form/OptionGroup.php +++ b/CRM/Admin/Form/OptionGroup.php @@ -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 diff --git a/CRM/Admin/Form/Options.php b/CRM/Admin/Form/Options.php index 95dc103b7f..555c55971e 100644 --- a/CRM/Admin/Form/Options.php +++ b/CRM/Admin/Form/Options.php @@ -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 diff --git a/CRM/Admin/Form/PaymentProcessor.php b/CRM/Admin/Form/PaymentProcessor.php index eda41c979c..133b9e569c 100644 --- a/CRM/Admin/Form/PaymentProcessor.php +++ b/CRM/Admin/Form/PaymentProcessor.php @@ -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 diff --git a/CRM/Admin/Form/PaymentProcessorType.php b/CRM/Admin/Form/PaymentProcessorType.php index 0f77aebd98..a671c4242f 100644 --- a/CRM/Admin/Form/PaymentProcessorType.php +++ b/CRM/Admin/Form/PaymentProcessorType.php @@ -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 diff --git a/CRM/Admin/Form/PdfFormats.php b/CRM/Admin/Form/PdfFormats.php index 2c15f18cad..7626bc3207 100644 --- a/CRM/Admin/Form/PdfFormats.php +++ b/CRM/Admin/Form/PdfFormats.php @@ -41,12 +41,12 @@ 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 diff --git a/CRM/Admin/Form/Preferences.php b/CRM/Admin/Form/Preferences.php index fcc2de5ba8..2da915f66a 100644 --- a/CRM/Admin/Form/Preferences.php +++ b/CRM/Admin/Form/Preferences.php @@ -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 diff --git a/CRM/Admin/Form/Preferences/Address.php b/CRM/Admin/Form/Preferences/Address.php index 39f4c2d37a..c09419bfc0 100644 --- a/CRM/Admin/Form/Preferences/Address.php +++ b/CRM/Admin/Form/Preferences/Address.php @@ -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 diff --git a/CRM/Admin/Form/Preferences/Contribute.php b/CRM/Admin/Form/Preferences/Contribute.php index 2f6e0a486f..66f3892359 100644 --- a/CRM/Admin/Form/Preferences/Contribute.php +++ b/CRM/Admin/Form/Preferences/Contribute.php @@ -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 diff --git a/CRM/Admin/Form/Preferences/Display.php b/CRM/Admin/Form/Preferences/Display.php index 7edef9655f..989302977b 100644 --- a/CRM/Admin/Form/Preferences/Display.php +++ b/CRM/Admin/Form/Preferences/Display.php @@ -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 diff --git a/CRM/Admin/Form/Preferences/Member.php b/CRM/Admin/Form/Preferences/Member.php index 42eba7f811..e48997d602 100644 --- a/CRM/Admin/Form/Preferences/Member.php +++ b/CRM/Admin/Form/Preferences/Member.php @@ -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 */ diff --git a/CRM/Admin/Form/PreferencesDate.php b/CRM/Admin/Form/PreferencesDate.php index 2c2f05ddb9..f3f56eb0ee 100644 --- a/CRM/Admin/Form/PreferencesDate.php +++ b/CRM/Admin/Form/PreferencesDate.php @@ -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 diff --git a/CRM/Admin/Form/RelationshipType.php b/CRM/Admin/Form/RelationshipType.php index 3aaf217d6c..2cac00adec 100644 --- a/CRM/Admin/Form/RelationshipType.php +++ b/CRM/Admin/Form/RelationshipType.php @@ -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 diff --git a/CRM/Admin/Form/ScheduleReminders.php b/CRM/Admin/Form/ScheduleReminders.php index c37b020ab7..0cba27518f 100644 --- a/CRM/Admin/Form/ScheduleReminders.php +++ b/CRM/Admin/Form/ScheduleReminders.php @@ -41,14 +41,14 @@ 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 diff --git a/CRM/Admin/Form/Setting/Component.php b/CRM/Admin/Form/Setting/Component.php index 1b71abb04e..1f1b011f5c 100644 --- a/CRM/Admin/Form/Setting/Component.php +++ b/CRM/Admin/Form/Setting/Component.php @@ -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. diff --git a/CRM/Admin/Form/Setting/Date.php b/CRM/Admin/Form/Setting/Date.php index 10a0b35b05..3140a4e8bb 100644 --- a/CRM/Admin/Form/Setting/Date.php +++ b/CRM/Admin/Form/Setting/Date.php @@ -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 */ diff --git a/CRM/Admin/Form/Setting/Debugging.php b/CRM/Admin/Form/Setting/Debugging.php index 166761b3ff..b9ef8b4377 100644 --- a/CRM/Admin/Form/Setting/Debugging.php +++ b/CRM/Admin/Form/Setting/Debugging.php @@ -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 */ diff --git a/CRM/Admin/Form/Setting/Localization.php b/CRM/Admin/Form/Setting/Localization.php index ea75cd3d1b..c5932e35b4 100644 --- a/CRM/Admin/Form/Setting/Localization.php +++ b/CRM/Admin/Form/Setting/Localization.php @@ -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 */ diff --git a/CRM/Admin/Form/Setting/Mail.php b/CRM/Admin/Form/Setting/Mail.php index 0e1532f131..7d1a87660f 100644 --- a/CRM/Admin/Form/Setting/Mail.php +++ b/CRM/Admin/Form/Setting/Mail.php @@ -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 */ diff --git a/CRM/Admin/Form/Setting/Mapping.php b/CRM/Admin/Form/Setting/Mapping.php index 8b4591dc93..2727e9edab 100644 --- a/CRM/Admin/Form/Setting/Mapping.php +++ b/CRM/Admin/Form/Setting/Mapping.php @@ -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. diff --git a/CRM/Admin/Form/Setting/Miscellaneous.php b/CRM/Admin/Form/Setting/Miscellaneous.php index 513bc5a650..1891d21f83 100644 --- a/CRM/Admin/Form/Setting/Miscellaneous.php +++ b/CRM/Admin/Form/Setting/Miscellaneous.php @@ -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. diff --git a/CRM/Admin/Form/Setting/Path.php b/CRM/Admin/Form/Setting/Path.php index c19af371a9..b5c62266fa 100644 --- a/CRM/Admin/Form/Setting/Path.php +++ b/CRM/Admin/Form/Setting/Path.php @@ -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 */ diff --git a/CRM/Admin/Form/Setting/Search.php b/CRM/Admin/Form/Setting/Search.php index 4c40117317..60cc580b2f 100644 --- a/CRM/Admin/Form/Setting/Search.php +++ b/CRM/Admin/Form/Setting/Search.php @@ -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 */ diff --git a/CRM/Admin/Form/Setting/Smtp.php b/CRM/Admin/Form/Setting/Smtp.php index 3343a95039..9655de1bd5 100644 --- a/CRM/Admin/Form/Setting/Smtp.php +++ b/CRM/Admin/Form/Setting/Smtp.php @@ -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. diff --git a/CRM/Admin/Form/Setting/UF.php b/CRM/Admin/Form/Setting/UF.php index 1e99f62cbe..6c18f9b35f 100644 --- a/CRM/Admin/Form/Setting/UF.php +++ b/CRM/Admin/Form/Setting/UF.php @@ -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 */ diff --git a/CRM/Admin/Form/Setting/UpdateConfigBackend.php b/CRM/Admin/Form/Setting/UpdateConfigBackend.php index 765214b7dc..fcc68aae7d 100644 --- a/CRM/Admin/Form/Setting/UpdateConfigBackend.php +++ b/CRM/Admin/Form/Setting/UpdateConfigBackend.php @@ -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 */ diff --git a/CRM/Admin/Form/Setting/Url.php b/CRM/Admin/Form/Setting/Url.php index eb1b1df52c..81b0e5548c 100644 --- a/CRM/Admin/Form/Setting/Url.php +++ b/CRM/Admin/Form/Setting/Url.php @@ -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 */ diff --git a/CRM/Admin/Form/Tag.php b/CRM/Admin/Form/Tag.php index e1c9a276be..0859b03cca 100644 --- a/CRM/Admin/Form/Tag.php +++ b/CRM/Admin/Form/Tag.php @@ -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 diff --git a/CRM/Admin/Form/WordReplacements.php b/CRM/Admin/Form/WordReplacements.php index d33f3e846a..5b5ffba0f0 100644 --- a/CRM/Admin/Form/WordReplacements.php +++ b/CRM/Admin/Form/WordReplacements.php @@ -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 diff --git a/CRM/Admin/Page/AJAX.php b/CRM/Admin/Page/AJAX.php index 38a6fa76d2..3528dbeb2c 100644 --- a/CRM/Admin/Page/AJAX.php +++ b/CRM/Admin/Page/AJAX.php @@ -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() { diff --git a/CRM/Admin/Page/ContactType.php b/CRM/Admin/Page/ContactType.php index 496dd1a202..c3fc4d761e 100644 --- a/CRM/Admin/Page/ContactType.php +++ b/CRM/Admin/Page/ContactType.php @@ -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. diff --git a/CRM/Admin/Page/EventTemplate.php b/CRM/Admin/Page/EventTemplate.php index 572254637f..c73427db8d 100644 --- a/CRM/Admin/Page/EventTemplate.php +++ b/CRM/Admin/Page/EventTemplate.php @@ -39,14 +39,14 @@ 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. diff --git a/CRM/Admin/Page/Extensions.php b/CRM/Admin/Page/Extensions.php index 2246b0f129..a82aac350f 100644 --- a/CRM/Admin/Page/Extensions.php +++ b/CRM/Admin/Page/Extensions.php @@ -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. diff --git a/CRM/Admin/Page/ExtensionsUpgrade.php b/CRM/Admin/Page/ExtensionsUpgrade.php index 59f91f76de..1c7d0d861c 100644 --- a/CRM/Admin/Page/ExtensionsUpgrade.php +++ b/CRM/Admin/Page/ExtensionsUpgrade.php @@ -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 */ diff --git a/CRM/Admin/Page/Job.php b/CRM/Admin/Page/Job.php index fad5705d08..e5adc48e11 100644 --- a/CRM/Admin/Page/Job.php +++ b/CRM/Admin/Page/Job.php @@ -39,14 +39,14 @@ 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. diff --git a/CRM/Admin/Page/JobLog.php b/CRM/Admin/Page/JobLog.php index 50795acb71..c138315781 100644 --- a/CRM/Admin/Page/JobLog.php +++ b/CRM/Admin/Page/JobLog.php @@ -39,14 +39,14 @@ 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. diff --git a/CRM/Admin/Page/LabelFormats.php b/CRM/Admin/Page/LabelFormats.php index 8ce4ddfefa..a9d2733e32 100644 --- a/CRM/Admin/Page/LabelFormats.php +++ b/CRM/Admin/Page/LabelFormats.php @@ -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. diff --git a/CRM/Admin/Page/LocationType.php b/CRM/Admin/Page/LocationType.php index 7fd1b63d6a..4834b50ff2 100644 --- a/CRM/Admin/Page/LocationType.php +++ b/CRM/Admin/Page/LocationType.php @@ -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. diff --git a/CRM/Admin/Page/MailSettings.php b/CRM/Admin/Page/MailSettings.php index 5e35e9c61d..0d769aba3f 100644 --- a/CRM/Admin/Page/MailSettings.php +++ b/CRM/Admin/Page/MailSettings.php @@ -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. diff --git a/CRM/Admin/Page/Mapping.php b/CRM/Admin/Page/Mapping.php index a8070ce5f1..9e0f3636da 100644 --- a/CRM/Admin/Page/Mapping.php +++ b/CRM/Admin/Page/Mapping.php @@ -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 */ diff --git a/CRM/Admin/Page/MessageTemplates.php b/CRM/Admin/Page/MessageTemplates.php index 19586b60c6..63f955590f 100644 --- a/CRM/Admin/Page/MessageTemplates.php +++ b/CRM/Admin/Page/MessageTemplates.php @@ -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. diff --git a/CRM/Admin/Page/Navigation.php b/CRM/Admin/Page/Navigation.php index 6b0b09c481..ccc4d1f713 100644 --- a/CRM/Admin/Page/Navigation.php +++ b/CRM/Admin/Page/Navigation.php @@ -39,14 +39,14 @@ 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 diff --git a/CRM/Admin/Page/Options.php b/CRM/Admin/Page/Options.php index 028b3f358d..6363a44ea3 100644 --- a/CRM/Admin/Page/Options.php +++ b/CRM/Admin/Page/Options.php @@ -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. diff --git a/CRM/Admin/Page/PaymentProcessor.php b/CRM/Admin/Page/PaymentProcessor.php index d2aa930b79..74ef61e95b 100644 --- a/CRM/Admin/Page/PaymentProcessor.php +++ b/CRM/Admin/Page/PaymentProcessor.php @@ -39,14 +39,14 @@ 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. diff --git a/CRM/Admin/Page/PaymentProcessorType.php b/CRM/Admin/Page/PaymentProcessorType.php index 86b7fdb2b3..584705dbca 100644 --- a/CRM/Admin/Page/PaymentProcessorType.php +++ b/CRM/Admin/Page/PaymentProcessorType.php @@ -39,14 +39,14 @@ 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. diff --git a/CRM/Admin/Page/PdfFormats.php b/CRM/Admin/Page/PdfFormats.php index bda33b66ca..85dc55afb4 100644 --- a/CRM/Admin/Page/PdfFormats.php +++ b/CRM/Admin/Page/PdfFormats.php @@ -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 * diff --git a/CRM/Admin/Page/Persistent.php b/CRM/Admin/Page/Persistent.php index 7df058b9de..f605b445a7 100644 --- a/CRM/Admin/Page/Persistent.php +++ b/CRM/Admin/Page/Persistent.php @@ -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 diff --git a/CRM/Admin/Page/PreferencesDate.php b/CRM/Admin/Page/PreferencesDate.php index 251db921a2..06f8aa3050 100644 --- a/CRM/Admin/Page/PreferencesDate.php +++ b/CRM/Admin/Page/PreferencesDate.php @@ -39,14 +39,14 @@ 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. diff --git a/CRM/Admin/Page/RelationshipType.php b/CRM/Admin/Page/RelationshipType.php index c3178e1b8a..27eee1dcc9 100644 --- a/CRM/Admin/Page/RelationshipType.php +++ b/CRM/Admin/Page/RelationshipType.php @@ -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. diff --git a/CRM/Admin/Page/ScheduleReminders.php b/CRM/Admin/Page/ScheduleReminders.php index b0b511de25..fb91d46ee1 100644 --- a/CRM/Admin/Page/ScheduleReminders.php +++ b/CRM/Admin/Page/ScheduleReminders.php @@ -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. diff --git a/CRM/Admin/Page/Tag.php b/CRM/Admin/Page/Tag.php index 46653e6fb2..c525481dcf 100644 --- a/CRM/Admin/Page/Tag.php +++ b/CRM/Admin/Page/Tag.php @@ -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. diff --git a/CRM/Badge/BAO/Badge.php b/CRM/Badge/BAO/Badge.php index c0e0f8ff79..1576e34728 100644 --- a/CRM/Badge/BAO/Badge.php +++ b/CRM/Badge/BAO/Badge.php @@ -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. diff --git a/CRM/Badge/BAO/Layout.php b/CRM/Badge/BAO/Layout.php index 94231886a7..5557a6bd23 100644 --- a/CRM/Badge/BAO/Layout.php +++ b/CRM/Badge/BAO/Layout.php @@ -35,14 +35,14 @@ 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. diff --git a/CRM/Badge/Form/Layout.php b/CRM/Badge/Form/Layout.php index 08fb2e29fe..b7dc115e59 100644 --- a/CRM/Badge/Form/Layout.php +++ b/CRM/Badge/Form/Layout.php @@ -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 diff --git a/CRM/Badge/Page/Layout.php b/CRM/Badge/Page/Layout.php index 3fd2359921..bb2a6da018 100644 --- a/CRM/Badge/Page/Layout.php +++ b/CRM/Badge/Page/Layout.php @@ -39,14 +39,14 @@ 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. diff --git a/CRM/Batch/BAO/Batch.php b/CRM/Batch/BAO/Batch.php index 624de900a4..ca30f5e863 100755 --- a/CRM/Batch/BAO/Batch.php +++ b/CRM/Batch/BAO/Batch.php @@ -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 * diff --git a/CRM/Batch/Form/Batch.php b/CRM/Batch/Form/Batch.php index 3416871c7d..c638178ecf 100755 --- a/CRM/Batch/Form/Batch.php +++ b/CRM/Batch/Form/Batch.php @@ -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 diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index 6c9f0de27c..254ab79447 100755 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -39,22 +39,22 @@ 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. diff --git a/CRM/Batch/Page/AJAX.php b/CRM/Batch/Page/AJAX.php index 3ecc88e6de..6c66b66bd2 100644 --- a/CRM/Batch/Page/AJAX.php +++ b/CRM/Batch/Page/AJAX.php @@ -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( diff --git a/CRM/Batch/Page/Batch.php b/CRM/Batch/Page/Batch.php index 193056cd37..87c5e51805 100644 --- a/CRM/Batch/Page/Batch.php +++ b/CRM/Batch/Page/Batch.php @@ -39,14 +39,14 @@ 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. diff --git a/CRM/Core/Action.php b/CRM/Core/Action.php index 33adb76789..d10071358d 100644 --- a/CRM/Core/Action.php +++ b/CRM/Core/Action.php @@ -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. diff --git a/CRM/Core/BAO/ActionSchedule.php b/CRM/Core/BAO/ActionSchedule.php index c8d76595d7..fff01f6c8f 100755 --- a/CRM/Core/BAO/ActionSchedule.php +++ b/CRM/Core/BAO/ActionSchedule.php @@ -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'))); diff --git a/CRM/Core/BAO/Address.php b/CRM/Core/BAO/Address.php index 342486dc62..11a4c88c10 100644 --- a/CRM/Core/BAO/Address.php +++ b/CRM/Core/BAO/Address.php @@ -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 diff --git a/CRM/Event/Form/Task/Badge.php b/CRM/Event/Form/Task/Badge.php index 739e7a4a10..618aa4c96f 100644 --- a/CRM/Event/Form/Task/Badge.php +++ b/CRM/Event/Form/Task/Badge.php @@ -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 diff --git a/CRM/Event/Form/Task/Batch.php b/CRM/Event/Form/Task/Batch.php index 2e8f6d021b..07880675c1 100644 --- a/CRM/Event/Form/Task/Batch.php +++ b/CRM/Event/Form/Task/Batch.php @@ -39,19 +39,19 @@ 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 diff --git a/CRM/Event/Form/Task/Delete.php b/CRM/Event/Form/Task/Delete.php index d5f4769628..a2c11055d4 100644 --- a/CRM/Event/Form/Task/Delete.php +++ b/CRM/Event/Form/Task/Delete.php @@ -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 diff --git a/CRM/PCP/BAO/PCP.php b/CRM/PCP/BAO/PCP.php index 75923574eb..63b914f565 100644 --- a/CRM/PCP/BAO/PCP.php +++ b/CRM/PCP/BAO/PCP.php @@ -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; } } + } diff --git a/tests/extensions/test.extension.manager.paymenttest/main.php b/tests/extensions/test.extension.manager.paymenttest/main.php index 23a54dd493..28d034bb0a 100644 --- a/tests/extensions/test.extension.manager.paymenttest/main.php +++ b/tests/extensions/test.extension.manager.paymenttest/main.php @@ -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. diff --git a/tests/extensions/test.extension.manager.searchtest/main.php b/tests/extensions/test.extension.manager.searchtest/main.php index d4e37310a5..7ae801e52b 100644 --- a/tests/extensions/test.extension.manager.searchtest/main.php +++ b/tests/extensions/test.extension.manager.searchtest/main.php @@ -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. diff --git a/tests/phpunit/AllTests.php b/tests/phpunit/AllTests.php index 1b6fc5dacc..88b46301dc 100644 --- a/tests/phpunit/AllTests.php +++ b/tests/phpunit/AllTests.php @@ -53,7 +53,7 @@ class AllTests extends CiviTestSuite { } /** - * Build test suite dynamically + * Build test suite dynamically. */ public static function suite() { $inst = self::getInstance(); diff --git a/tests/phpunit/CRM/Activity/AllTests.php b/tests/phpunit/CRM/Activity/AllTests.php index 449b915f32..0da000a3a1 100644 --- a/tests/phpunit/CRM/Activity/AllTests.php +++ b/tests/phpunit/CRM/Activity/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php b/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php index 66bd1c985a..705fbf5675 100644 --- a/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php +++ b/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php @@ -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(); diff --git a/tests/phpunit/CRM/Activity/BAO/ActivityTest.php b/tests/phpunit/CRM/Activity/BAO/ActivityTest.php index 37a5ce5ac9..349b52d542 100644 --- a/tests/phpunit/CRM/Activity/BAO/ActivityTest.php +++ b/tests/phpunit/CRM/Activity/BAO/ActivityTest.php @@ -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(); diff --git a/tests/phpunit/CRM/AllTests.php b/tests/phpunit/CRM/AllTests.php index 98eab49171..dcaa500eb5 100644 --- a/tests/phpunit/CRM/AllTests.php +++ b/tests/phpunit/CRM/AllTests.php @@ -53,7 +53,7 @@ class CRM_AllTests extends CiviTestSuite { } /** - * Build test suite dynamically + * Build test suite dynamically. */ public static function suite() { $inst = self::getInstance(); diff --git a/tests/phpunit/CRM/Batch/Form/EntryTest.php b/tests/phpunit/CRM/Batch/Form/EntryTest.php index 32f4795c1c..cdc252b01f 100644 --- a/tests/phpunit/CRM/Batch/Form/EntryTest.php +++ b/tests/phpunit/CRM/Batch/Form/EntryTest.php @@ -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() { diff --git a/tests/phpunit/CRM/Case/AllTests.php b/tests/phpunit/CRM/Case/AllTests.php index 1497ec6087..5cb45d3af1 100644 --- a/tests/phpunit/CRM/Case/AllTests.php +++ b/tests/phpunit/CRM/Case/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php b/tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php index 89c1c3f163..97a2e8d5c5 100644 --- a/tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php +++ b/tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php @@ -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'); diff --git a/tests/phpunit/CRM/Case/BAO/CaseTypeTest.php b/tests/phpunit/CRM/Case/BAO/CaseTypeTest.php index 130706fa17..a982911e2e 100644 --- a/tests/phpunit/CRM/Case/BAO/CaseTypeTest.php +++ b/tests/phpunit/CRM/Case/BAO/CaseTypeTest.php @@ -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 diff --git a/tests/phpunit/CRM/Contact/AllTests.php b/tests/phpunit/CRM/Contact/AllTests.php index eabc8be0f5..1975e8354d 100644 --- a/tests/phpunit/CRM/Contact/AllTests.php +++ b/tests/phpunit/CRM/Contact/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Contact/BAO/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactTest.php index 8e8526a0f1..0191e20d89 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactTest.php @@ -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. diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php index 59e1e9c33f..08254a8c8c 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php @@ -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() { diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php index 59aac2aea0..2c5d8017bd 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php @@ -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() { diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php index 49355f8bdd..e19ed21571 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php @@ -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() { diff --git a/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php b/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php index cbad297122..7fe9c32898 100644 --- a/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php +++ b/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php @@ -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). diff --git a/tests/phpunit/CRM/Contact/BAO/GroupTest.php b/tests/phpunit/CRM/Contact/BAO/GroupTest.php index 208d6bd736..e6872a3645 100644 --- a/tests/phpunit/CRM/Contact/BAO/GroupTest.php +++ b/tests/phpunit/CRM/Contact/BAO/GroupTest.php @@ -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; diff --git a/tests/phpunit/CRM/Contact/BAO/QueryTest.php b/tests/phpunit/CRM/Contact/BAO/QueryTest.php index 0f6368b410..f9ff18a887 100644 --- a/tests/phpunit/CRM/Contact/BAO/QueryTest.php +++ b/tests/phpunit/CRM/Contact/BAO/QueryTest.php @@ -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() { diff --git a/tests/phpunit/CRM/Contribute/AllTests.php b/tests/phpunit/CRM/Contribute/AllTests.php index a53989cc6f..5eb8f79759 100644 --- a/tests/phpunit/CRM/Contribute/AllTests.php +++ b/tests/phpunit/CRM/Contribute/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php index cc77237210..eda1eebaad 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php @@ -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(); */ diff --git a/tests/phpunit/CRM/Core/AllTests.php b/tests/phpunit/CRM/Core/AllTests.php index 0a665a8df3..2f8cc3d3a1 100644 --- a/tests/phpunit/CRM/Core/AllTests.php +++ b/tests/phpunit/CRM/Core/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php index 2045145330..08d7953ad9 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php @@ -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() { diff --git a/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php b/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php index 1804dbfa59..e3899716c4 100644 --- a/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php +++ b/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php @@ -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 diff --git a/tests/phpunit/CRM/Core/CommunityMessagesTest.php b/tests/phpunit/CRM/Core/CommunityMessagesTest.php index fdcbb2e5a5..ef6d5decd8 100644 --- a/tests/phpunit/CRM/Core/CommunityMessagesTest.php +++ b/tests/phpunit/CRM/Core/CommunityMessagesTest.php @@ -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( diff --git a/tests/phpunit/CRM/Core/ManagedEntitiesTest.php b/tests/phpunit/CRM/Core/ManagedEntitiesTest.php index 27393900e0..71383b04bb 100644 --- a/tests/phpunit/CRM/Core/ManagedEntitiesTest.php +++ b/tests/phpunit/CRM/Core/ManagedEntitiesTest.php @@ -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') diff --git a/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php b/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php index 79c9a8b61c..8659e107c5 100644 --- a/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php +++ b/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php @@ -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")); diff --git a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php index 84fc854150..86d7f9317f 100644 --- a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php @@ -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); diff --git a/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php b/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php index c7fd9b1e5a..ab40ef354e 100644 --- a/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php @@ -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 */ diff --git a/tests/phpunit/CRM/Core/RegionTest.php b/tests/phpunit/CRM/Core/RegionTest.php index 297b63aee1..2413063eeb 100644 --- a/tests/phpunit/CRM/Core/RegionTest.php +++ b/tests/phpunit/CRM/Core/RegionTest.php @@ -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( diff --git a/tests/phpunit/CRM/Core/TransactionTest.php b/tests/phpunit/CRM/Core/TransactionTest.php index 24260ab9f6..2fbd2f5c02 100644 --- a/tests/phpunit/CRM/Core/TransactionTest.php +++ b/tests/phpunit/CRM/Core/TransactionTest.php @@ -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. diff --git a/tests/phpunit/CRM/Event/AllTests.php b/tests/phpunit/CRM/Event/AllTests.php index d029de66aa..47ebbec3f5 100644 --- a/tests/phpunit/CRM/Event/AllTests.php +++ b/tests/phpunit/CRM/Event/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php b/tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php index 09f74cbbeb..d760bfb320 100644 --- a/tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php +++ b/tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php @@ -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 * diff --git a/tests/phpunit/CRM/Extension/AllTests.php b/tests/phpunit/CRM/Extension/AllTests.php index 962e430d13..fb20804b28 100644 --- a/tests/phpunit/CRM/Extension/AllTests.php +++ b/tests/phpunit/CRM/Extension/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Extension/Manager/AllTests.php b/tests/phpunit/CRM/Extension/Manager/AllTests.php index 785086c224..671551504a 100644 --- a/tests/phpunit/CRM/Extension/Manager/AllTests.php +++ b/tests/phpunit/CRM/Extension/Manager/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Extension/Manager/ModuleTest.php b/tests/phpunit/CRM/Extension/Manager/ModuleTest.php index 5da444ac6e..4d91b058be 100644 --- a/tests/phpunit/CRM/Extension/Manager/ModuleTest.php +++ b/tests/phpunit/CRM/Extension/Manager/ModuleTest.php @@ -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(); diff --git a/tests/phpunit/CRM/Extension/Manager/PaymentTest.php b/tests/phpunit/CRM/Extension/Manager/PaymentTest.php index 6910d32c50..9a5b4fa941 100644 --- a/tests/phpunit/CRM/Extension/Manager/PaymentTest.php +++ b/tests/phpunit/CRM/Extension/Manager/PaymentTest.php @@ -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(); diff --git a/tests/phpunit/CRM/Extension/Manager/ReportTest.php b/tests/phpunit/CRM/Extension/Manager/ReportTest.php index 9e77c7676f..e584b0cc41 100644 --- a/tests/phpunit/CRM/Extension/Manager/ReportTest.php +++ b/tests/phpunit/CRM/Extension/Manager/ReportTest.php @@ -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(); diff --git a/tests/phpunit/CRM/Extension/Manager/SearchTest.php b/tests/phpunit/CRM/Extension/Manager/SearchTest.php index bc3da6e07a..c7594091d8 100644 --- a/tests/phpunit/CRM/Extension/Manager/SearchTest.php +++ b/tests/phpunit/CRM/Extension/Manager/SearchTest.php @@ -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(); diff --git a/tests/phpunit/CRM/Extension/ManagerTest.php b/tests/phpunit/CRM/Extension/ManagerTest.php index 9124027c88..98f0f307f5 100644 --- a/tests/phpunit/CRM/Extension/ManagerTest.php +++ b/tests/phpunit/CRM/Extension/ManagerTest.php @@ -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". diff --git a/tests/phpunit/CRM/Group/Page/AjaxTest.php b/tests/phpunit/CRM/Group/Page/AjaxTest.php index f7818df534..4c53456e2b 100644 --- a/tests/phpunit/CRM/Group/Page/AjaxTest.php +++ b/tests/phpunit/CRM/Group/Page/AjaxTest.php @@ -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 diff --git a/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php b/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php index 94ba6ba0a0..7dfd0ab9de 100644 --- a/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php +++ b/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php @@ -27,7 +27,7 @@ class CRM_Mailing_BAO_SpoolTest extends CiviUnitTestCase { /** - * Basic send + * Basic send. */ public function testSend() { $contact_params_1 = array( diff --git a/tests/phpunit/CRM/Member/AllTests.php b/tests/phpunit/CRM/Member/AllTests.php index c597430d28..6c4bc41d3f 100644 --- a/tests/phpunit/CRM/Member/AllTests.php +++ b/tests/phpunit/CRM/Member/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Member/BAO/MembershipTest.php b/tests/phpunit/CRM/Member/BAO/MembershipTest.php index 356807adb6..ec9651b21f 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipTest.php @@ -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; diff --git a/tests/phpunit/CRM/Member/Form/AllTests.php b/tests/phpunit/CRM/Member/Form/AllTests.php index 608637eec7..097538a36e 100644 --- a/tests/phpunit/CRM/Member/Form/AllTests.php +++ b/tests/phpunit/CRM/Member/Form/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Member/Form/MembershipTest.php b/tests/phpunit/CRM/Member/Form/MembershipTest.php index 463f749aa4..4fa0c4e3ee 100644 --- a/tests/phpunit/CRM/Member/Form/MembershipTest.php +++ b/tests/phpunit/CRM/Member/Form/MembershipTest.php @@ -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 diff --git a/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php b/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php index 2b25bb6b3e..3d3f7f8a47 100644 --- a/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php +++ b/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php @@ -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(); diff --git a/tests/phpunit/CRM/PCP/BAO/PCPTest.php b/tests/phpunit/CRM/PCP/BAO/PCPTest.php index dd70e8ecf3..0a817710ef 100644 --- a/tests/phpunit/CRM/PCP/BAO/PCPTest.php +++ b/tests/phpunit/CRM/PCP/BAO/PCPTest.php @@ -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'); diff --git a/tests/phpunit/CRM/Pledge/AllTests.php b/tests/phpunit/CRM/Pledge/AllTests.php index 180be99c0e..ca8c3aead1 100644 --- a/tests/phpunit/CRM/Pledge/AllTests.php +++ b/tests/phpunit/CRM/Pledge/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php b/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php index 61a98e70bb..d7a8462a7e 100644 --- a/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php +++ b/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php @@ -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'); diff --git a/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php b/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php index a31046a402..52fbb276db 100644 --- a/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php +++ b/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php @@ -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( diff --git a/tests/phpunit/CRM/Queue/AllTests.php b/tests/phpunit/CRM/Queue/AllTests.php index 92c07fbbec..0c1f6bf0c6 100644 --- a/tests/phpunit/CRM/Queue/AllTests.php +++ b/tests/phpunit/CRM/Queue/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Queue/Queue/AllTests.php b/tests/phpunit/CRM/Queue/Queue/AllTests.php index 5d68259b11..92011114fd 100644 --- a/tests/phpunit/CRM/Queue/Queue/AllTests.php +++ b/tests/phpunit/CRM/Queue/Queue/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Queue/Queue/SqlTest.php b/tests/phpunit/CRM/Queue/Queue/SqlTest.php index 21b918701a..bdf6ed936a 100644 --- a/tests/phpunit/CRM/Queue/Queue/SqlTest.php +++ b/tests/phpunit/CRM/Queue/Queue/SqlTest.php @@ -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(); diff --git a/tests/phpunit/CRM/Queue/QueueTest.php b/tests/phpunit/CRM/Queue/QueueTest.php index 92dc67032b..338b966bfd 100644 --- a/tests/phpunit/CRM/Queue/QueueTest.php +++ b/tests/phpunit/CRM/Queue/QueueTest.php @@ -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 diff --git a/tests/phpunit/CRM/UF/Page/ProfileEditorTest.php b/tests/phpunit/CRM/UF/Page/ProfileEditorTest.php index 0cef8a8e56..353646874a 100644 --- a/tests/phpunit/CRM/UF/Page/ProfileEditorTest.php +++ b/tests/phpunit/CRM/UF/Page/ProfileEditorTest.php @@ -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')); diff --git a/tests/phpunit/CRM/Utils/Cache/AllTests.php b/tests/phpunit/CRM/Utils/Cache/AllTests.php index 2f3ca5842d..0548954fca 100644 --- a/tests/phpunit/CRM/Utils/Cache/AllTests.php +++ b/tests/phpunit/CRM/Utils/Cache/AllTests.php @@ -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(); diff --git a/tests/phpunit/CRM/Utils/Cache/SqlGroupTest.php b/tests/phpunit/CRM/Utils/Cache/SqlGroupTest.php index abfff66be7..47bfd0d7b2 100644 --- a/tests/phpunit/CRM/Utils/Cache/SqlGroupTest.php +++ b/tests/phpunit/CRM/Utils/Cache/SqlGroupTest.php @@ -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( diff --git a/tests/phpunit/CRM/Utils/GlobalStackTest.php b/tests/phpunit/CRM/Utils/GlobalStackTest.php index bc1e213946..1b4a9c5b3c 100644 --- a/tests/phpunit/CRM/Utils/GlobalStackTest.php +++ b/tests/phpunit/CRM/Utils/GlobalStackTest.php @@ -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() { diff --git a/tests/phpunit/Civi/AllTests.php b/tests/phpunit/Civi/AllTests.php index 8ba3532821..23280526b7 100644 --- a/tests/phpunit/Civi/AllTests.php +++ b/tests/phpunit/Civi/AllTests.php @@ -53,7 +53,7 @@ class Civi_AllTests extends CiviTestSuite { } /** - * Build test suite dynamically + * Build test suite dynamically. */ public static function suite() { $inst = self::getInstance(); diff --git a/tests/phpunit/CiviTest/CiviDBAssert.php b/tests/phpunit/CiviTest/CiviDBAssert.php index 91e859da2a..f63f326ede 100644 --- a/tests/phpunit/CiviTest/CiviDBAssert.php +++ b/tests/phpunit/CiviTest/CiviDBAssert.php @@ -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 diff --git a/tests/phpunit/CiviTest/CiviMailUtils.php b/tests/phpunit/CiviTest/CiviMailUtils.php index 69399e82a8..c40e0c707b 100644 --- a/tests/phpunit/CiviTest/CiviMailUtils.php +++ b/tests/phpunit/CiviTest/CiviMailUtils.php @@ -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) { diff --git a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php index 998eb914b8..e5fc6627de 100644 --- a/tests/phpunit/CiviTest/CiviSeleniumTestCase.php +++ b/tests/phpunit/CiviTest/CiviSeleniumTestCase.php @@ -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) { diff --git a/tests/phpunit/CiviTest/CiviTestSuite.php b/tests/phpunit/CiviTest/CiviTestSuite.php index ba0fdc77b8..7412d4221d 100644 --- a/tests/phpunit/CiviTest/CiviTestSuite.php +++ b/tests/phpunit/CiviTest/CiviTestSuite.php @@ -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() { diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 50376eb329..7a336f4e40 100755 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -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 diff --git a/tests/phpunit/CiviTest/Contact.php b/tests/phpunit/CiviTest/Contact.php index 8e89e49742..03c65c488d 100644 --- a/tests/phpunit/CiviTest/Contact.php +++ b/tests/phpunit/CiviTest/Contact.php @@ -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. diff --git a/tests/phpunit/CiviTest/ContributionPage.php b/tests/phpunit/CiviTest/ContributionPage.php index 9562a0bf73..7c1cc1930b 100644 --- a/tests/phpunit/CiviTest/ContributionPage.php +++ b/tests/phpunit/CiviTest/ContributionPage.php @@ -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. diff --git a/tests/phpunit/CiviTest/Custom.php b/tests/phpunit/CiviTest/Custom.php index 6a00ca98ae..73076f7a5d 100644 --- a/tests/phpunit/CiviTest/Custom.php +++ b/tests/phpunit/CiviTest/Custom.php @@ -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 * diff --git a/tests/phpunit/CiviTest/Event.php b/tests/phpunit/CiviTest/Event.php index 726b432424..a8d8ce6e34 100644 --- a/tests/phpunit/CiviTest/Event.php +++ b/tests/phpunit/CiviTest/Event.php @@ -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 diff --git a/tests/phpunit/CiviTest/Membership.php b/tests/phpunit/CiviTest/Membership.php index 16122bdaed..cec5c4e4ed 100644 --- a/tests/phpunit/CiviTest/Membership.php +++ b/tests/phpunit/CiviTest/Membership.php @@ -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) { diff --git a/tests/phpunit/CiviTest/Participant.php b/tests/phpunit/CiviTest/Participant.php index 64524eba49..fd60bcf54b 100644 --- a/tests/phpunit/CiviTest/Participant.php +++ b/tests/phpunit/CiviTest/Participant.php @@ -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 diff --git a/tests/phpunit/HelloTest.php b/tests/phpunit/HelloTest.php index 6a75d3c4c1..30746e342d 100644 --- a/tests/phpunit/HelloTest.php +++ b/tests/phpunit/HelloTest.php @@ -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; diff --git a/tests/phpunit/Utils.php b/tests/phpunit/Utils.php index 6bba8576e2..1e31961069 100644 --- a/tests/phpunit/Utils.php +++ b/tests/phpunit/Utils.php @@ -37,13 +37,13 @@ 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 diff --git a/tests/phpunit/WebTest/Admin/MoveCustomDataTest.php b/tests/phpunit/WebTest/Admin/MoveCustomDataTest.php index 773923e638..0f63dee139 100644 --- a/tests/phpunit/WebTest/Admin/MoveCustomDataTest.php +++ b/tests/phpunit/WebTest/Admin/MoveCustomDataTest.php @@ -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 */ diff --git a/tests/phpunit/WebTest/AllTests.php b/tests/phpunit/WebTest/AllTests.php index ba63463751..90bc026efc 100644 --- a/tests/phpunit/WebTest/AllTests.php +++ b/tests/phpunit/WebTest/AllTests.php @@ -48,7 +48,7 @@ class WebTest_AllTests extends CiviTestSuite { } /** - * Build test suite dynamically + * Build test suite dynamically. */ public static function suite() { $inst = self::getInstance(); diff --git a/tests/phpunit/WebTest/Contact/AdvancedSearchTest.php b/tests/phpunit/WebTest/Contact/AdvancedSearchTest.php index 19bedfb850..bc13161b1e 100644 --- a/tests/phpunit/WebTest/Contact/AdvancedSearchTest.php +++ b/tests/phpunit/WebTest/Contact/AdvancedSearchTest.php @@ -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) { diff --git a/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php b/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php index 2e5144d1af..420177e168 100644 --- a/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php +++ b/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php @@ -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). */ diff --git a/tests/phpunit/WebTest/Contact/InlineFieldsEditTest.php b/tests/phpunit/WebTest/Contact/InlineFieldsEditTest.php index 72fccbdb21..5510012eaa 100644 --- a/tests/phpunit/WebTest/Contact/InlineFieldsEditTest.php +++ b/tests/phpunit/WebTest/Contact/InlineFieldsEditTest.php @@ -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. diff --git a/tests/phpunit/WebTest/Contact/MergeContactsTest.php b/tests/phpunit/WebTest/Contact/MergeContactsTest.php index 79e736f0de..6b064aeabd 100644 --- a/tests/phpunit/WebTest/Contact/MergeContactsTest.php +++ b/tests/phpunit/WebTest/Contact/MergeContactsTest.php @@ -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 */ diff --git a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php index 5dd047fc16..05df6bd1d7 100644 --- a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php +++ b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php @@ -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 diff --git a/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php b/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php index 35ef367df1..86fee95dd9 100644 --- a/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php @@ -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 diff --git a/tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php b/tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php index 5e05fb53e6..008062fc7c 100755 --- a/tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php +++ b/tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php @@ -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. diff --git a/tests/phpunit/WebTest/Import/AddressParsingTest.php b/tests/phpunit/WebTest/Import/AddressParsingTest.php index 328e817c48..9c58f0bce5 100644 --- a/tests/phpunit/WebTest/Import/AddressParsingTest.php +++ b/tests/phpunit/WebTest/Import/AddressParsingTest.php @@ -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(); diff --git a/tests/phpunit/WebTest/Import/DuplicateMatchingTest.php b/tests/phpunit/WebTest/Import/DuplicateMatchingTest.php index 33c2071e87..f0cbf45ab5 100644 --- a/tests/phpunit/WebTest/Import/DuplicateMatchingTest.php +++ b/tests/phpunit/WebTest/Import/DuplicateMatchingTest.php @@ -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 diff --git a/tests/phpunit/WebTest/Import/MatchExternalIdTest.php b/tests/phpunit/WebTest/Import/MatchExternalIdTest.php index 91343b88c0..338604a539 100644 --- a/tests/phpunit/WebTest/Import/MatchExternalIdTest.php +++ b/tests/phpunit/WebTest/Import/MatchExternalIdTest.php @@ -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 * diff --git a/tests/phpunit/WebTest/Import/MultipleRelationshipTest.php b/tests/phpunit/WebTest/Import/MultipleRelationshipTest.php index 6b3f664b0c..65528b3505 100644 --- a/tests/phpunit/WebTest/Import/MultipleRelationshipTest.php +++ b/tests/phpunit/WebTest/Import/MultipleRelationshipTest.php @@ -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 diff --git a/tests/phpunit/WebTest/Import/ParticipantTest.php b/tests/phpunit/WebTest/Import/ParticipantTest.php index ecfe6725a6..b3b8fcae04 100644 --- a/tests/phpunit/WebTest/Import/ParticipantTest.php +++ b/tests/phpunit/WebTest/Import/ParticipantTest.php @@ -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. diff --git a/tests/phpunit/WebTest/Release/ReleaseTestCase.php b/tests/phpunit/WebTest/Release/ReleaseTestCase.php index df7d7a1eee..bedb9fd612 100644 --- a/tests/phpunit/WebTest/Release/ReleaseTestCase.php +++ b/tests/phpunit/WebTest/Release/ReleaseTestCase.php @@ -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 diff --git a/tests/phpunit/WebTest/Utils/RestTest.php b/tests/phpunit/WebTest/Utils/RestTest.php index 3410f3705f..65b9f0c0da 100644 --- a/tests/phpunit/WebTest/Utils/RestTest.php +++ b/tests/phpunit/WebTest/Utils/RestTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/ACLPermissionTest.php b/tests/phpunit/api/v3/ACLPermissionTest.php index 26490335b8..847bcff25d 100644 --- a/tests/phpunit/api/v3/ACLPermissionTest.php +++ b/tests/phpunit/api/v3/ACLPermissionTest.php @@ -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 diff --git a/tests/phpunit/api/v3/ActivityTest.php b/tests/phpunit/api/v3/ActivityTest.php index d1c75590e2..b6faedbc7b 100644 --- a/tests/phpunit/api/v3/ActivityTest.php +++ b/tests/phpunit/api/v3/ActivityTest.php @@ -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); diff --git a/tests/phpunit/api/v3/AddressTest.php b/tests/phpunit/api/v3/AddressTest.php index 59044b6251..ebd4a2331d 100644 --- a/tests/phpunit/api/v3/AddressTest.php +++ b/tests/phpunit/api/v3/AddressTest.php @@ -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 diff --git a/tests/phpunit/api/v3/AllTests.php b/tests/phpunit/api/v3/AllTests.php index bc567a31cc..a0ad53b787 100644 --- a/tests/phpunit/api/v3/AllTests.php +++ b/tests/phpunit/api/v3/AllTests.php @@ -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(); diff --git a/tests/phpunit/api/v3/CRM11793Test.php b/tests/phpunit/api/v3/CRM11793Test.php index 1fd5571c7d..e61969cd78 100644 --- a/tests/phpunit/api/v3/CRM11793Test.php +++ b/tests/phpunit/api/v3/CRM11793Test.php @@ -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 diff --git a/tests/phpunit/api/v3/ConstantTest.php b/tests/phpunit/api/v3/ConstantTest.php index cc6cc223a7..c805368cbd 100644 --- a/tests/phpunit/api/v3/ConstantTest.php +++ b/tests/phpunit/api/v3/ConstantTest.php @@ -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 diff --git a/tests/phpunit/api/v3/ContactTest.php b/tests/phpunit/api/v3/ContactTest.php index 35bc19a9fe..f7467ed3c5 100644 --- a/tests/phpunit/api/v3/ContactTest.php +++ b/tests/phpunit/api/v3/ContactTest.php @@ -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(); diff --git a/tests/phpunit/api/v3/ContactTypeTest.php b/tests/phpunit/api/v3/ContactTypeTest.php index 0c03d93b60..d542cf4b63 100644 --- a/tests/phpunit/api/v3/ContactTypeTest.php +++ b/tests/phpunit/api/v3/ContactTypeTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/ContributionPageTest.php b/tests/phpunit/api/v3/ContributionPageTest.php index fec64080e9..92d73a9db7 100644 --- a/tests/phpunit/api/v3/ContributionPageTest.php +++ b/tests/phpunit/api/v3/ContributionPageTest.php @@ -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); diff --git a/tests/phpunit/api/v3/ContributionSoftTest.php b/tests/phpunit/api/v3/ContributionSoftTest.php index 4c0355666a..892fc23474 100644 --- a/tests/phpunit/api/v3/ContributionSoftTest.php +++ b/tests/phpunit/api/v3/ContributionSoftTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/ContributionTest.php b/tests/phpunit/api/v3/ContributionTest.php index dd15e6ce85..309eaa6946 100644 --- a/tests/phpunit/api/v3/ContributionTest.php +++ b/tests/phpunit/api/v3/ContributionTest.php @@ -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); diff --git a/tests/phpunit/api/v3/CustomFieldTest.php b/tests/phpunit/api/v3/CustomFieldTest.php index 6ae4ecfd86..9c4a61d405 100644 --- a/tests/phpunit/api/v3/CustomFieldTest.php +++ b/tests/phpunit/api/v3/CustomFieldTest.php @@ -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')); diff --git a/tests/phpunit/api/v3/CustomGroupTest.php b/tests/phpunit/api/v3/CustomGroupTest.php index 26f1509f78..f9903014c4 100644 --- a/tests/phpunit/api/v3/CustomGroupTest.php +++ b/tests/phpunit/api/v3/CustomGroupTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/CustomValueContactTypeTest.php b/tests/phpunit/api/v3/CustomValueContactTypeTest.php index 9e1825c580..5cb7e6e31a 100644 --- a/tests/phpunit/api/v3/CustomValueContactTypeTest.php +++ b/tests/phpunit/api/v3/CustomValueContactTypeTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/DashboardContactTest.php b/tests/phpunit/api/v3/DashboardContactTest.php index 1e448121f3..54bc6020aa 100644 --- a/tests/phpunit/api/v3/DashboardContactTest.php +++ b/tests/phpunit/api/v3/DashboardContactTest.php @@ -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 diff --git a/tests/phpunit/api/v3/DashboardTest.php b/tests/phpunit/api/v3/DashboardTest.php index eb496ddd9e..c90a2d2021 100644 --- a/tests/phpunit/api/v3/DashboardTest.php +++ b/tests/phpunit/api/v3/DashboardTest.php @@ -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 diff --git a/tests/phpunit/api/v3/EventTest.php b/tests/phpunit/api/v3/EventTest.php index a627b22c89..c236958968 100644 --- a/tests/phpunit/api/v3/EventTest.php +++ b/tests/phpunit/api/v3/EventTest.php @@ -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(); diff --git a/tests/phpunit/api/v3/GrantTest.php b/tests/phpunit/api/v3/GrantTest.php index 29e0e6dae3..aa61908e5f 100644 --- a/tests/phpunit/api/v3/GrantTest.php +++ b/tests/phpunit/api/v3/GrantTest.php @@ -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 diff --git a/tests/phpunit/api/v3/GroupContactTest.php b/tests/phpunit/api/v3/GroupContactTest.php index 35b4cd4533..b4868aa04d 100644 --- a/tests/phpunit/api/v3/GroupContactTest.php +++ b/tests/phpunit/api/v3/GroupContactTest.php @@ -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 */ diff --git a/tests/phpunit/api/v3/GroupOrganizationTest.php b/tests/phpunit/api/v3/GroupOrganizationTest.php index d152d38083..c93df0bdbb 100644 --- a/tests/phpunit/api/v3/GroupOrganizationTest.php +++ b/tests/phpunit/api/v3/GroupOrganizationTest.php @@ -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( diff --git a/tests/phpunit/api/v3/JobProcessMailingTest.php b/tests/phpunit/api/v3/JobProcessMailingTest.php index 65f445c257..c8e53a916d 100644 --- a/tests/phpunit/api/v3/JobProcessMailingTest.php +++ b/tests/phpunit/api/v3/JobProcessMailingTest.php @@ -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); diff --git a/tests/phpunit/api/v3/MailSettingsTest.php b/tests/phpunit/api/v3/MailSettingsTest.php index 071e076357..e62c0ca2df 100644 --- a/tests/phpunit/api/v3/MailSettingsTest.php +++ b/tests/phpunit/api/v3/MailSettingsTest.php @@ -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"; diff --git a/tests/phpunit/api/v3/MembershipStatusTest.php b/tests/phpunit/api/v3/MembershipStatusTest.php index 0662f58c6b..10d9115f03 100644 --- a/tests/phpunit/api/v3/MembershipStatusTest.php +++ b/tests/phpunit/api/v3/MembershipStatusTest.php @@ -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(); diff --git a/tests/phpunit/api/v3/MembershipTest.php b/tests/phpunit/api/v3/MembershipTest.php index 1d2c007fb1..973ba40962 100644 --- a/tests/phpunit/api/v3/MembershipTest.php +++ b/tests/phpunit/api/v3/MembershipTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/MessageTemplateTest.php b/tests/phpunit/api/v3/MessageTemplateTest.php index 32c753ebcb..c1f2ebbd7c 100644 --- a/tests/phpunit/api/v3/MessageTemplateTest.php +++ b/tests/phpunit/api/v3/MessageTemplateTest.php @@ -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(); diff --git a/tests/phpunit/api/v3/OptionGroupTest.php b/tests/phpunit/api/v3/OptionGroupTest.php index d2e12a3c3c..1d8f0c6e70 100644 --- a/tests/phpunit/api/v3/OptionGroupTest.php +++ b/tests/phpunit/api/v3/OptionGroupTest.php @@ -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); diff --git a/tests/phpunit/api/v3/OptionValueTest.php b/tests/phpunit/api/v3/OptionValueTest.php index 207e8434e0..8a1e0adbed 100644 --- a/tests/phpunit/api/v3/OptionValueTest.php +++ b/tests/phpunit/api/v3/OptionValueTest.php @@ -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( diff --git a/tests/phpunit/api/v3/ParticipantPaymentTest.php b/tests/phpunit/api/v3/ParticipantPaymentTest.php index 2fa25fc6ba..3694d27427 100644 --- a/tests/phpunit/api/v3/ParticipantPaymentTest.php +++ b/tests/phpunit/api/v3/ParticipantPaymentTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/ParticipantTest.php b/tests/phpunit/api/v3/ParticipantTest.php index afcf812390..c7f84bdf80 100644 --- a/tests/phpunit/api/v3/ParticipantTest.php +++ b/tests/phpunit/api/v3/ParticipantTest.php @@ -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 diff --git a/tests/phpunit/api/v3/PaymentProcessorTest.php b/tests/phpunit/api/v3/PaymentProcessorTest.php index c200e11913..62cf468208 100644 --- a/tests/phpunit/api/v3/PaymentProcessorTest.php +++ b/tests/phpunit/api/v3/PaymentProcessorTest.php @@ -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(); diff --git a/tests/phpunit/api/v3/PaymentProcessorTypeTest.php b/tests/phpunit/api/v3/PaymentProcessorTypeTest.php index 6c65c3c4ef..91b610e362 100644 --- a/tests/phpunit/api/v3/PaymentProcessorTypeTest.php +++ b/tests/phpunit/api/v3/PaymentProcessorTypeTest.php @@ -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()); diff --git a/tests/phpunit/api/v3/PledgePaymentTest.php b/tests/phpunit/api/v3/PledgePaymentTest.php index 47328ef437..9ab2f4dd2f 100644 --- a/tests/phpunit/api/v3/PledgePaymentTest.php +++ b/tests/phpunit/api/v3/PledgePaymentTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/PledgeTest.php b/tests/phpunit/api/v3/PledgeTest.php index b8a62ee940..42fd346874 100644 --- a/tests/phpunit/api/v3/PledgeTest.php +++ b/tests/phpunit/api/v3/PledgeTest.php @@ -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 */ diff --git a/tests/phpunit/api/v3/ProfileTest.php b/tests/phpunit/api/v3/ProfileTest.php index a286365914..319d003e2d 100644 --- a/tests/phpunit/api/v3/ProfileTest.php +++ b/tests/phpunit/api/v3/ProfileTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/RelationshipTest.php b/tests/phpunit/api/v3/RelationshipTest.php index 65a2fee0a2..5208fd16fc 100644 --- a/tests/phpunit/api/v3/RelationshipTest.php +++ b/tests/phpunit/api/v3/RelationshipTest.php @@ -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( diff --git a/tests/phpunit/api/v3/RelationshipTypeTest.php b/tests/phpunit/api/v3/RelationshipTypeTest.php index 7de2155044..542096bca5 100644 --- a/tests/phpunit/api/v3/RelationshipTypeTest.php +++ b/tests/phpunit/api/v3/RelationshipTypeTest.php @@ -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( diff --git a/tests/phpunit/api/v3/SettingTest.php b/tests/phpunit/api/v3/SettingTest.php index e919ddaa73..7c671598e9 100644 --- a/tests/phpunit/api/v3/SettingTest.php +++ b/tests/phpunit/api/v3/SettingTest.php @@ -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( diff --git a/tests/phpunit/api/v3/SurveyTest.php b/tests/phpunit/api/v3/SurveyTest.php index 5dbada0b42..2da0ca6c35 100644 --- a/tests/phpunit/api/v3/SurveyTest.php +++ b/tests/phpunit/api/v3/SurveyTest.php @@ -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(); diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index c18b1b5167..7ad04d9dd1 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -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. diff --git a/tests/phpunit/api/v3/SystemTest.php b/tests/phpunit/api/v3/SystemTest.php index 416ddb74c7..ed007f94e8 100644 --- a/tests/phpunit/api/v3/SystemTest.php +++ b/tests/phpunit/api/v3/SystemTest.php @@ -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')); diff --git a/tests/phpunit/api/v3/TagTest.php b/tests/phpunit/api/v3/TagTest.php index bc8741f6aa..fd26f3d7b5 100644 --- a/tests/phpunit/api/v3/TagTest.php +++ b/tests/phpunit/api/v3/TagTest.php @@ -41,7 +41,7 @@ class api_v3_TagTest extends CiviUnitTestCase { */ protected $ids = array(); /** - * Tag id + * Tag id. * @var integer */ protected $tag = array(); diff --git a/tests/phpunit/api/v3/TaxContributionPageTest.php b/tests/phpunit/api/v3/TaxContributionPageTest.php index d53c0dc141..bb6bdd39a9 100644 --- a/tests/phpunit/api/v3/TaxContributionPageTest.php +++ b/tests/phpunit/api/v3/TaxContributionPageTest.php @@ -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() { diff --git a/tests/phpunit/api/v3/UFFieldTest.php b/tests/phpunit/api/v3/UFFieldTest.php index 3fd2ed1ba0..cfca99eb92 100644 --- a/tests/phpunit/api/v3/UFFieldTest.php +++ b/tests/phpunit/api/v3/UFFieldTest.php @@ -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); diff --git a/tests/phpunit/api/v3/UFGroupTest.php b/tests/phpunit/api/v3/UFGroupTest.php index 2c31be91f6..936558f0a8 100644 --- a/tests/phpunit/api/v3/UFGroupTest.php +++ b/tests/phpunit/api/v3/UFGroupTest.php @@ -97,7 +97,7 @@ class api_v3_UFGroupTest extends CiviUnitTestCase { } /** - * Updating group + * Updating group. */ public function testUpdateUFGroup() { $params = array( diff --git a/tests/phpunit/api/v3/UFJoinTest.php b/tests/phpunit/api/v3/UFJoinTest.php index 60d97874a0..75ff05767e 100644 --- a/tests/phpunit/api/v3/UFJoinTest.php +++ b/tests/phpunit/api/v3/UFJoinTest.php @@ -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( diff --git a/tests/phpunit/api/v3/UFMatchTest.php b/tests/phpunit/api/v3/UFMatchTest.php index 4f8778a113..2591364411 100644 --- a/tests/phpunit/api/v3/UFMatchTest.php +++ b/tests/phpunit/api/v3/UFMatchTest.php @@ -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( diff --git a/tests/phpunit/api/v3/UtilsTest.php b/tests/phpunit/api/v3/UtilsTest.php index 58a98039d4..09eb88741f 100644 --- a/tests/phpunit/api/v3/UtilsTest.php +++ b/tests/phpunit/api/v3/UtilsTest.php @@ -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( diff --git a/tests/phpunit/api/v3/WebsiteTest.php b/tests/phpunit/api/v3/WebsiteTest.php index 1aa16f2ca0..4e99cc4562 100644 --- a/tests/phpunit/api/v3/WebsiteTest.php +++ b/tests/phpunit/api/v3/WebsiteTest.php @@ -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__); -- 2.25.1