From ed5a0ff7196e306e1319bd3f5913fdb068974daa Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 9 Jan 2015 15:19:07 -0500 Subject: [PATCH] INFRA-132 - Remove extra newlines from the bottom of docblocks --- CRM/ACL/Page/ACL.php | 1 - CRM/ACL/Page/ACLBasic.php | 1 - CRM/ACL/Page/EntityRole.php | 1 - CRM/Activity/BAO/Activity.php | 2 -- CRM/Activity/BAO/ActivityAssignment.php | 3 --- CRM/Activity/BAO/ActivityContact.php | 3 --- CRM/Activity/BAO/ActivityTarget.php | 2 -- CRM/Activity/Form/Activity.php | 3 --- CRM/Activity/Form/ActivityFilter.php | 2 -- CRM/Activity/Form/Search.php | 1 - CRM/Activity/Form/Task/Batch.php | 2 -- CRM/Activity/Form/Task/FileOnCase.php | 2 -- CRM/Activity/Form/Task/PickOption.php | 3 --- CRM/Activity/Form/Task/PickProfile.php | 2 -- CRM/Activity/Page/Tab.php | 3 --- CRM/Activity/Selector/Activity.php | 1 - CRM/Activity/Selector/Search.php | 1 - CRM/Admin/Page/CMSUser.php | 1 - CRM/Admin/Page/Extensions.php | 1 - CRM/Admin/Page/Job.php | 1 - CRM/Admin/Page/JobLog.php | 1 - CRM/Admin/Page/Options.php | 1 - CRM/Admin/Page/PaymentProcessor.php | 1 - CRM/Admin/Page/PreferencesDate.php | 1 - CRM/Batch/Form/Entry.php | 1 - CRM/Campaign/BAO/Campaign.php | 2 -- CRM/Campaign/BAO/Petition.php | 1 - CRM/Campaign/BAO/Survey.php | 5 ----- CRM/Campaign/Form/Petition.php | 1 - CRM/Campaign/Form/Petition/Signature.php | 1 - CRM/Campaign/Form/Search.php | 1 - CRM/Campaign/Form/Survey/Results.php | 1 - CRM/Campaign/Form/Task/Interview.php | 1 - CRM/Campaign/Page/Campaign.php | 1 - CRM/Campaign/Page/DashBoard.php | 1 - CRM/Campaign/Page/SurveyType.php | 1 - CRM/Campaign/PseudoConstant.php | 2 -- CRM/Campaign/Selector/Search.php | 2 -- CRM/Case/Audit/Audit.php | 1 - CRM/Case/BAO/Case.php | 9 --------- CRM/Case/Form/CustomData.php | 2 -- CRM/Case/Form/Search.php | 1 - CRM/Case/Page/DashBoard.php | 1 - CRM/Case/Selector/Search.php | 1 - CRM/Case/StateMachine/Search.php | 1 - CRM/Case/XMLProcessor/Report.php | 1 - CRM/Contact/BAO/Contact.php | 3 --- CRM/Contact/BAO/Contact/Utils.php | 4 ---- CRM/Contact/BAO/ContactType.php | 1 - CRM/Contact/BAO/DashboardContact.php | 1 - CRM/Contact/BAO/Group.php | 2 -- CRM/Contact/BAO/GroupContactCache.php | 1 - CRM/Contact/BAO/GroupNesting.php | 8 -------- CRM/Contact/BAO/Query.php | 5 ----- CRM/Contact/BAO/Query/Hook.php | 1 - CRM/Contact/BAO/Relationship.php | 3 --- CRM/Contact/BAO/RelationshipType.php | 1 - CRM/Contact/BAO/SavedSearch.php | 1 - CRM/Contact/BAO/SubscriptionHistory.php | 1 - CRM/Contact/Form/Contact.php | 2 -- CRM/Contact/Form/CustomData.php | 2 -- CRM/Contact/Form/DedupeFind.php | 1 - CRM/Contact/Form/Domain.php | 1 - CRM/Contact/Form/Merge.php | 1 - CRM/Contact/Form/Relationship.php | 4 ---- CRM/Contact/Form/Search/Custom.php | 1 - CRM/Contact/Form/Search/Interface.php | 1 - CRM/Contact/Form/Task/Batch.php | 3 --- CRM/Contact/Form/Task/EmailCommon.php | 1 - CRM/Contact/Form/Task/PDF.php | 1 - CRM/Contact/Form/Task/PDFLetterCommon.php | 1 - CRM/Contact/Form/Task/PickProfile.php | 3 --- CRM/Contact/Form/Task/SMSCommon.php | 1 - CRM/Contact/Import/Form/DataSource.php | 1 - CRM/Contact/Import/Importer.php | 1 - CRM/Contact/Import/Parser/Contact.php | 5 ----- CRM/Contact/Page/AJAX.php | 4 ---- CRM/Contact/Page/CustomSearch.php | 1 - CRM/Contact/Page/DedupeException.php | 1 - CRM/Contact/Page/DedupeRules.php | 1 - CRM/Contact/Page/Inline/Actions.php | 1 - CRM/Contact/Page/Inline/Address.php | 1 - .../Page/Inline/CommunicationPreferences.php | 1 - CRM/Contact/Page/Inline/ContactInfo.php | 1 - CRM/Contact/Page/Inline/ContactName.php | 1 - CRM/Contact/Page/Inline/CustomData.php | 1 - CRM/Contact/Page/Inline/Demographics.php | 1 - CRM/Contact/Page/Inline/Email.php | 1 - CRM/Contact/Page/Inline/IM.php | 1 - CRM/Contact/Page/Inline/OpenID.php | 1 - CRM/Contact/Page/Inline/Phone.php | 1 - CRM/Contact/Page/Inline/Website.php | 1 - CRM/Contact/Page/SavedSearch.php | 2 -- CRM/Contact/Page/View.php | 1 - CRM/Contact/Page/View/CustomData.php | 1 - CRM/Contact/Page/View/Print.php | 1 - CRM/Contact/Page/View/Relationship.php | 1 - CRM/Contact/Page/View/Summary.php | 2 -- CRM/Contact/Page/View/UserDashBoard.php | 1 - CRM/Contact/Page/View/Useradd.php | 1 - CRM/Contact/Selector.php | 2 -- CRM/Contact/Selector/Custom.php | 2 -- CRM/Contact/StateMachine/Search.php | 1 - CRM/Contribute/BAO/Contribution.php | 1 - CRM/Contribute/BAO/Contribution/Utils.php | 1 - CRM/Contribute/BAO/ContributionRecur.php | 1 - CRM/Contribute/BAO/ContributionSoft.php | 1 - CRM/Contribute/Form/AdditionalPayment.php | 1 - CRM/Contribute/Form/Contribution/Confirm.php | 1 - CRM/Contribute/Form/Contribution/Main.php | 3 --- CRM/Contribute/Form/Contribution/ThankYou.php | 1 - .../Form/ContributionPage/Delete.php | 1 - .../Form/ContributionPage/Widget.php | 1 - CRM/Contribute/Form/Search.php | 1 - CRM/Contribute/Form/Task/Batch.php | 2 -- CRM/Contribute/Form/Task/Invoice.php | 4 ---- CRM/Contribute/Form/Task/PDFLetter.php | 1 - CRM/Contribute/Form/Task/PDFLetterCommon.php | 1 - CRM/Contribute/Form/Task/PickProfile.php | 2 -- CRM/Contribute/Form/UpdateBilling.php | 1 - CRM/Contribute/Info.php | 5 ----- CRM/Contribute/Page/DashBoard.php | 1 - CRM/Contribute/Page/ManagePremiums.php | 1 - CRM/Contribute/Page/Premium.php | 1 - CRM/Contribute/StateMachine/Search.php | 1 - CRM/Core/Action.php | 5 ----- CRM/Core/BAO/ActionSchedule.php | 1 - CRM/Core/BAO/Block.php | 1 - CRM/Core/BAO/Cache.php | 1 - CRM/Core/BAO/CustomField.php | 3 --- CRM/Core/BAO/CustomGroup.php | 2 -- CRM/Core/BAO/CustomQuery.php | 2 -- CRM/Core/BAO/Discount.php | 1 - CRM/Core/BAO/EntityTag.php | 1 - CRM/Core/BAO/FinancialTrxn.php | 1 - CRM/Core/BAO/Location.php | 1 - CRM/Core/BAO/MailSettings.php | 1 - CRM/Core/BAO/Mapping.php | 1 - CRM/Core/BAO/OptionValue.php | 1 - CRM/Core/BAO/Tag.php | 1 - CRM/Core/BAO/UFField.php | 4 ---- CRM/Core/BAO/UFGroup.php | 4 ---- CRM/Core/BAO/WordReplacement.php | 1 - CRM/Core/Block.php | 1 - CRM/Core/ClassLoader.php | 1 - CRM/Core/CodeGen/BaseTask.php | 1 - CRM/Core/CodeGen/Main.php | 1 - CRM/Core/CodeGen/Schema.php | 1 - CRM/Core/Component.php | 1 - CRM/Core/Component/Info.php | 19 ------------------- CRM/Core/Controller.php | 4 ---- CRM/Core/DAO.php | 2 -- CRM/Core/Error.php | 1 - CRM/Core/Form.php | 15 --------------- CRM/Core/Form/Renderer.php | 1 - CRM/Core/I18n/Form.php | 1 - CRM/Core/IDS.php | 4 ---- CRM/Core/JobManager.php | 7 ------- CRM/Core/Menu.php | 1 - CRM/Core/OptionGroup.php | 1 - CRM/Core/Page.php | 2 -- CRM/Core/Payment.php | 3 --- CRM/Core/Payment/Google.php | 1 - CRM/Core/Payment/GoogleIPN.php | 1 - CRM/Core/Payment/PayflowPro.php | 2 -- CRM/Core/Payment/Realex.php | 1 - CRM/Core/Permission/DrupalBase.php | 2 -- CRM/Core/PseudoConstant.php | 1 - CRM/Core/Selector/API.php | 7 ------- CRM/Core/Selector/Base.php | 2 -- CRM/Core/Selector/Controller.php | 1 - CRM/Core/Session.php | 10 ---------- CRM/Custom/Page/Group.php | 1 - CRM/Dashlet/Page/Activity.php | 1 - CRM/Dashlet/Page/AllCases.php | 1 - CRM/Dashlet/Page/Blog.php | 3 --- CRM/Dashlet/Page/CaseDashboard.php | 1 - CRM/Dashlet/Page/MyCases.php | 1 - CRM/Dedupe/BAO/RuleGroup.php | 1 - CRM/Event/BAO/Event.php | 2 -- CRM/Event/BAO/Participant.php | 1 - CRM/Event/Badge.php | 1 - CRM/Event/Badge/Logo.php | 1 - CRM/Event/Badge/Logo5395.php | 1 - CRM/Event/Badge/NameTent.php | 1 - CRM/Event/Cart/BAO/EventInCart.php | 1 - CRM/Event/Form/ManageEvent/Location.php | 1 - CRM/Event/Form/ManageEvent/Registration.php | 1 - CRM/Event/Form/Participant.php | 1 - .../Registration/AdditionalParticipant.php | 2 -- CRM/Event/Form/Registration/Register.php | 5 ----- CRM/Event/Form/Search.php | 1 - CRM/Event/Form/Task/Batch.php | 3 --- CRM/Event/Form/Task/Cancel.php | 1 - CRM/Event/Form/Task/PickProfile.php | 2 -- CRM/Event/Page/DashBoard.php | 1 - CRM/Event/Page/EventInfo.php | 1 - CRM/Event/Page/ManageEvent.php | 1 - CRM/Event/Selector/Search.php | 2 -- CRM/Event/StateMachine/Search.php | 1 - CRM/Export/BAO/Export.php | 4 ---- CRM/Export/Form/Select.php | 1 - CRM/Extension/Manager/Report.php | 2 -- CRM/Extension/Manager/Search.php | 2 -- CRM/Financial/BAO/ExportFormat/CSV.php | 1 - CRM/Financial/Page/AJAX.php | 1 - CRM/Financial/Page/BatchTransaction.php | 1 - CRM/Financial/Page/FinancialAccount.php | 1 - CRM/Financial/Page/FinancialBatch.php | 1 - CRM/Financial/Page/FinancialType.php | 1 - CRM/Financial/Page/FinancialTypeAccount.php | 1 - CRM/Friend/BAO/Friend.php | 1 - CRM/Grant/BAO/Grant.php | 2 -- CRM/Grant/Form/Search.php | 1 - CRM/Grant/Page/DashBoard.php | 1 - CRM/Grant/Selector/Search.php | 1 - CRM/Import/DataSource.php | 4 ---- CRM/Import/DataSource/CSV.php | 4 ---- CRM/Import/DataSource/SQL.php | 4 ---- CRM/Import/StateMachine.php | 1 - CRM/Logging/ReportDetail.php | 1 - CRM/Logging/ReportSummary.php | 1 - CRM/Mailing/BAO/Mailing.php | 2 -- CRM/Mailing/Form/Browse.php | 1 - CRM/Mailing/Page/Browse.php | 1 - CRM/Mailing/Selector/Browse.php | 2 -- CRM/Mailing/Selector/Event.php | 1 - CRM/Mailing/Selector/Search.php | 2 -- CRM/Member/BAO/Membership.php | 1 - CRM/Member/Form/MembershipView.php | 1 - CRM/Member/Form/Search.php | 1 - CRM/Member/Form/Task/Batch.php | 2 -- CRM/Member/Form/Task/PickProfile.php | 2 -- CRM/Member/Import/Parser/Membership.php | 1 - CRM/Member/Info.php | 5 ----- CRM/Member/Page/DashBoard.php | 1 - CRM/Member/Page/MembershipStatus.php | 1 - CRM/Member/Page/MembershipType.php | 1 - CRM/Member/StateMachine/Search.php | 1 - CRM/PCP/BAO/PCP.php | 3 --- CRM/PCP/Form/PCPAccount.php | 1 - CRM/PCP/Page/PCPInfo.php | 1 - CRM/Pledge/BAO/Pledge.php | 2 -- CRM/Pledge/BAO/PledgePayment.php | 2 -- CRM/Pledge/Form/Search.php | 1 - CRM/Pledge/Info.php | 4 ---- CRM/Pledge/Page/DashBoard.php | 1 - CRM/Pledge/Selector/Search.php | 2 -- CRM/Pledge/StateMachine/Search.php | 1 - CRM/Price/BAO/PriceField.php | 3 --- CRM/Price/BAO/PriceFieldValue.php | 1 - CRM/Price/BAO/PriceSet.php | 5 ----- CRM/Price/Page/Set.php | 1 - CRM/Profile/Form.php | 1 - CRM/Profile/Form/Dynamic.php | 2 -- CRM/Profile/Form/Edit.php | 2 -- CRM/Profile/Form/Search.php | 2 -- CRM/Profile/Page/Dynamic.php | 2 -- CRM/Profile/Page/Listings.php | 1 - .../Page/MultipleRecordFieldsListing.php | 1 - CRM/Profile/Page/View.php | 2 -- CRM/Profile/Selector/Listings.php | 1 - CRM/Queue/Service.php | 1 - CRM/Report/BAO/Hook.php | 1 - CRM/Report/Form.php | 4 ---- CRM/Report/Form/Activity.php | 2 -- CRM/Report/Form/ActivitySummary.php | 2 -- CRM/Report/Form/Campaign/SurveyDetails.php | 2 -- CRM/Report/Form/Case/Demographics.php | 2 -- CRM/Report/Form/Case/Detail.php | 2 -- CRM/Report/Form/Case/Summary.php | 2 -- CRM/Report/Form/Case/TimeSpent.php | 2 -- CRM/Report/Form/Contact/CurrentEmployer.php | 2 -- CRM/Report/Form/Contact/Detail.php | 2 -- CRM/Report/Form/Contact/Log.php | 2 -- CRM/Report/Form/Contact/LoggingDetail.php | 1 - CRM/Report/Form/Contact/LoggingSummary.php | 1 - CRM/Report/Form/Contact/Summary.php | 1 - CRM/Report/Form/Contribute/Bookkeeping.php | 2 -- CRM/Report/Form/Contribute/Detail.php | 2 -- CRM/Report/Form/Contribute/History.php | 2 -- .../Form/Contribute/HouseholdSummary.php | 2 -- CRM/Report/Form/Contribute/LoggingDetail.php | 1 - CRM/Report/Form/Contribute/LoggingSummary.php | 1 - CRM/Report/Form/Contribute/Lybunt.php | 2 -- .../Form/Contribute/OrganizationSummary.php | 2 -- CRM/Report/Form/Contribute/PCP.php | 2 -- CRM/Report/Form/Contribute/Repeat.php | 2 -- CRM/Report/Form/Contribute/SoftCredit.php | 2 -- CRM/Report/Form/Contribute/Summary.php | 2 -- CRM/Report/Form/Contribute/Sybunt.php | 1 - CRM/Report/Form/Contribute/TopDonor.php | 2 -- CRM/Report/Form/Event/Income.php | 2 -- CRM/Report/Form/Event/IncomeCountSummary.php | 2 -- .../Form/Event/ParticipantListCount.php | 2 -- CRM/Report/Form/Event/ParticipantListing.php | 2 -- CRM/Report/Form/Event/Summary.php | 2 -- CRM/Report/Form/Extended.php | 2 -- CRM/Report/Form/Grant/Detail.php | 2 -- CRM/Report/Form/Grant/Statistics.php | 2 -- CRM/Report/Form/Mailing/Bounce.php | 2 -- CRM/Report/Form/Mailing/Clicks.php | 2 -- CRM/Report/Form/Mailing/Detail.php | 2 -- CRM/Report/Form/Mailing/Opened.php | 2 -- CRM/Report/Form/Mailing/Summary.php | 2 -- CRM/Report/Form/Member/ContributionDetail.php | 2 -- CRM/Report/Form/Member/Detail.php | 2 -- CRM/Report/Form/Member/Lapse.php | 2 -- CRM/Report/Form/Member/Summary.php | 2 -- CRM/Report/Form/Membership/Summary.php | 2 -- CRM/Report/Form/Pledge/Detail.php | 2 -- CRM/Report/Form/Pledge/Pbnp.php | 2 -- CRM/Report/Form/Pledge/Summary.php | 2 -- CRM/Report/Form/Register.php | 1 - CRM/Report/Form/Walklist/Walklist.php | 2 -- CRM/Report/Info.php | 6 ------ CRM/Report/Interface.php | 1 - CRM/Report/Page/Options.php | 1 - CRM/SMS/BAO/Provider.php | 1 - CRM/SMS/Form/Provider.php | 1 - CRM/SMS/Page/Provider.php | 1 - CRM/SMS/Provider.php | 2 -- CRM/UF/Form/Inline/Preview.php | 2 -- CRM/UF/Form/Inline/PreviewById.php | 2 -- CRM/UF/Form/Preview.php | 2 -- CRM/UF/Page/Field.php | 2 -- CRM/UF/Page/Group.php | 1 - CRM/Upgrade/Incremental/Legacy.php | 1 - CRM/Upgrade/Incremental/php/FourThree.php | 2 -- CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php | 2 -- .../Snapshot/V4p2/Price/BAO/FieldValue.php | 1 - CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php | 2 -- CRM/Utils/Array.php | 3 --- CRM/Utils/Cache.php | 1 - CRM/Utils/ICalendar.php | 1 - CRM/Utils/JSON.php | 1 - CRM/Utils/Migrate/Export.php | 1 - CRM/Utils/Migrate/Import.php | 1 - CRM/Utils/Migrate/ImportJSON.php | 1 - CRM/Utils/PDF/Label.php | 1 - CRM/Utils/Pager.php | 4 ---- CRM/Utils/ReCAPTCHA.php | 3 --- CRM/Utils/System.php | 12 ------------ CRM/Utils/System/Base.php | 2 -- CRM/Utils/System/Drupal.php | 5 ----- CRM/Utils/System/Drupal6.php | 4 ---- CRM/Utils/System/Drupal8.php | 5 ----- CRM/Utils/System/DrupalBase.php | 6 ------ CRM/Utils/System/Joomla.php | 5 ----- CRM/Utils/System/Soap.php | 2 -- CRM/Utils/System/UnitTests.php | 3 --- CRM/Utils/System/WordPress.php | 4 ---- CRM/Utils/Token.php | 3 --- CRM/Utils/Tree.php | 7 ------- CRM/Utils/VersionCheck.php | 1 - CRM/Utils/Wrapper.php | 2 -- Civi/API/Provider/MagicFunctionProvider.php | 1 - bin/cli.class.php | 2 -- bin/deprecated/CiviReportMail.php | 1 - bin/deprecated/ParticipantProcessor.php | 1 - bin/deprecated/RespondentProcessor.php | 1 - bin/deprecated/UpdateGreeting.php | 1 - bin/deprecated/UpdateMembershipRecord.php | 1 - .../UpdateMembershipReminderDate.php | 1 - bin/deprecated/UpdatePledgeRecord.php | 1 - bin/deprecated/action.cronjob.php | 1 - .../main.php | 1 - .../main.php | 1 - tests/phpunit/AllTests.php | 1 - tests/phpunit/CRM/Activity/AllTests.php | 1 - .../Activity/BAO/ActivityAssignmentTest.php | 2 -- .../CRM/Activity/BAO/ActivityTargetTest.php | 2 -- tests/phpunit/CRM/AllTests.php | 1 - tests/phpunit/CRM/Batch/Form/EntryTest.php | 1 - tests/phpunit/CRM/Case/AllTests.php | 1 - tests/phpunit/CRM/Contact/AllTests.php | 1 - tests/phpunit/CRM/Contact/BAO/ContactTest.php | 7 ------- .../Contact/BAO/ContactType/ContactTest.php | 1 - .../BAO/ContactType/RelationshipTest.php | 5 ----- .../CRM/Contact/BAO/GroupContactCacheTest.php | 2 -- .../CRM/Contact/BAO/GroupContactTest.php | 2 -- tests/phpunit/CRM/Contact/BAO/GroupTest.php | 2 -- tests/phpunit/CRM/Contribute/AllTests.php | 1 - tests/phpunit/CRM/Core/AllTests.php | 1 - .../CRM/Core/BAO/ActionScheduleTest.php | 4 ---- .../Core/BAO/CustomValueTableSetGetTest.php | 1 - .../CRM/Core/BAO/CustomValueTableTest.php | 6 ------ tests/phpunit/CRM/Core/BAO/LocationTest.php | 2 -- .../CRM/Core/BAO/RecurringEntityTest.php | 2 -- .../CRM/Core/Payment/AuthorizeNetIPNTest.php | 1 - .../phpunit/CRM/Core/Payment/BaseIPNTest.php | 8 -------- .../CRM/Core/Payment/PayPalProIPNTest.php | 1 - tests/phpunit/CRM/Event/AllTests.php | 1 - .../CRM/Event/BAO/ParticipantStatusTest.php | 2 -- tests/phpunit/CRM/Extension/AllTests.php | 1 - .../CRM/Extension/Container/AllTests.php | 1 - .../CRM/Extension/Manager/AllTests.php | 1 - tests/phpunit/CRM/Member/AllTests.php | 1 - .../CRM/Member/BAO/MembershipLogTest.php | 1 - .../phpunit/CRM/Member/BAO/MembershipTest.php | 7 ------- .../CRM/Member/BAO/MembershipTypeTest.php | 1 - tests/phpunit/CRM/Member/Form/AllTests.php | 1 - .../Member/Import/Parser/MembershipTest.php | 1 - tests/phpunit/CRM/PCP/BAO/PCPTest.php | 4 ---- tests/phpunit/CRM/Pledge/AllTests.php | 1 - .../CRM/Pledge/BAO/PledgeBlockTest.php | 2 -- .../CRM/Pledge/BAO/PledgePaymentTest.php | 2 -- tests/phpunit/CRM/Pledge/BAO/PledgeTest.php | 2 -- tests/phpunit/CRM/Queue/AllTests.php | 1 - tests/phpunit/CRM/Queue/Queue/AllTests.php | 1 - tests/phpunit/CRM/Utils/Cache/AllTests.php | 1 - tests/phpunit/Civi/AllTests.php | 1 - tests/phpunit/CiviTest/AuthorizeNet.php | 1 - tests/phpunit/CiviTest/CiviCaseTestCase.php | 1 - tests/phpunit/CiviTest/CiviTestSuite.php | 1 - tests/phpunit/CiviTest/CiviUnitTestCase.php | 5 ----- tests/phpunit/CiviTest/PCP.php | 2 -- tests/phpunit/WebTest/AllTests.php | 1 - .../WebTest/Contact/SearchBuilderTest.php | 2 -- .../WebTest/Event/AddParticipationTest.php | 1 - .../phpunit/WebTest/Event/AddPricesetTest.php | 1 - .../Import/ImportCiviSeleniumTestCase.php | 1 - .../Member/InheritedMembershipTest.php | 1 - tests/phpunit/api/v3/APIWrapperTest.php | 2 -- tests/phpunit/api/v3/ActivityTest.php | 1 - tests/phpunit/api/v3/AddressTest.php | 3 --- tests/phpunit/api/v3/AllTests.php | 1 - tests/phpunit/api/v3/BatchTest.php | 1 - tests/phpunit/api/v3/CaseTypeTest.php | 1 - tests/phpunit/api/v3/CountryTest.php | 1 - tests/phpunit/api/v3/DomainTest.php | 1 - tests/phpunit/api/v3/GroupNestingTest.php | 2 -- .../phpunit/api/v3/GroupOrganizationTest.php | 1 - .../phpunit/api/v3/JobProcessMailingTest.php | 1 - tests/phpunit/api/v3/MessageTemplateTest.php | 1 - tests/phpunit/api/v3/PledgeTest.php | 2 -- tests/phpunit/api/v3/PriceSetTest.php | 2 -- tests/phpunit/api/v3/ReportTemplateTest.php | 1 - tests/phpunit/api/v3/SurveyTest.php | 2 -- .../phpunit/api/v3/SyntaxConformanceTest.php | 3 --- tests/phpunit/api/v3/SystemTest.php | 1 - tests/phpunit/api/v3/UtilsTest.php | 1 - 442 files changed, 833 deletions(-) diff --git a/CRM/ACL/Page/ACL.php b/CRM/ACL/Page/ACL.php index a104ee761d..b232e99fe5 100644 --- a/CRM/ACL/Page/ACL.php +++ b/CRM/ACL/Page/ACL.php @@ -106,7 +106,6 @@ class CRM_ACL_Page_ACL extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/ACL/Page/ACLBasic.php b/CRM/ACL/Page/ACLBasic.php index 2f0a4b1d15..2fc65be571 100644 --- a/CRM/ACL/Page/ACLBasic.php +++ b/CRM/ACL/Page/ACLBasic.php @@ -94,7 +94,6 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/ACL/Page/EntityRole.php b/CRM/ACL/Page/EntityRole.php index 4f23c41193..0ce29ba230 100644 --- a/CRM/ACL/Page/EntityRole.php +++ b/CRM/ACL/Page/EntityRole.php @@ -106,7 +106,6 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index 33c490e752..02bda6fb35 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -2070,7 +2070,6 @@ AND cl.modified_id = c.id * @param array $params * * @return $this|null|object - * */ public static function createFollowupActivity($activityId, $params) { if (!$activityId) { @@ -2144,7 +2143,6 @@ AND cl.modified_id = c.id * Associated array. * * @return void - * */ public static function restoreActivity(&$params) { $activity = new CRM_Activity_DAO_Activity(); diff --git a/CRM/Activity/BAO/ActivityAssignment.php b/CRM/Activity/BAO/ActivityAssignment.php index f7b3b4d919..4061749668 100644 --- a/CRM/Activity/BAO/ActivityAssignment.php +++ b/CRM/Activity/BAO/ActivityAssignment.php @@ -72,7 +72,6 @@ class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityConta * @param int $activity_id * * @return array - * */ public static function retrieveAssigneeIdsByActivityId($activity_id) { $assigneeArray = array(); @@ -110,8 +109,6 @@ AND civicrm_contact.is_deleted = 0 * If false returns all details of assignee contact. * * @return array - * - * */ public static function getAssigneeNames($activityIDs, $isDisplayName = FALSE, $skipDetails = TRUE) { $assigneeNames = array(); diff --git a/CRM/Activity/BAO/ActivityContact.php b/CRM/Activity/BAO/ActivityContact.php index b4bf047f12..6f186b9427 100644 --- a/CRM/Activity/BAO/ActivityContact.php +++ b/CRM/Activity/BAO/ActivityContact.php @@ -54,7 +54,6 @@ class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact * * @return object * activity_contact object - * */ public static function create(&$params) { $activityContact = new CRM_Activity_DAO_ActivityContact(); @@ -74,7 +73,6 @@ class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact * @param bool $alsoIDs * * @return array - * */ public static function getNames($activityID, $recordTypeID, $alsoIDs = FALSE) { $names = array(); @@ -113,7 +111,6 @@ AND contact_a.is_deleted = 0 * @param int $recordTypeID * * @return mixed - * */ public static function retrieveContactIdsByActivityId($activityID, $recordTypeID) { $activityContact = array(); diff --git a/CRM/Activity/BAO/ActivityTarget.php b/CRM/Activity/BAO/ActivityTarget.php index 5b20adc245..14b95016a8 100644 --- a/CRM/Activity/BAO/ActivityTarget.php +++ b/CRM/Activity/BAO/ActivityTarget.php @@ -70,7 +70,6 @@ class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact { * @param int $activity_id * * @return mixed - * */ public static function retrieveTargetIdsByActivityId($activity_id) { $targetArray = array(); @@ -102,7 +101,6 @@ AND civicrm_contact.is_deleted = 0 * @param int $activityID * * @return array - * */ public static function getTargetNames($activityID) { $targetNames = array(); diff --git a/CRM/Activity/Form/Activity.php b/CRM/Activity/Form/Activity.php index 7dfd55927a..66039852fe 100644 --- a/CRM/Activity/Form/Activity.php +++ b/CRM/Activity/Form/Activity.php @@ -125,7 +125,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { /** * The _fields var can be used by sub class to set/unset/edit the * form fields based on their requirement - * */ public function setFields() { $this->_fields = array( @@ -1138,7 +1137,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { /** * Shorthand for getting id by display name (makes code more readable) - * */ protected function _getIdByDisplayName($displayName) { return CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', @@ -1150,7 +1148,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { /** * Shorthand for getting display name by id (makes code more readable) - * */ protected function _getDisplayNameById($id) { return CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', diff --git a/CRM/Activity/Form/ActivityFilter.php b/CRM/Activity/Form/ActivityFilter.php index 1b9b99bf0e..9addb8df9d 100644 --- a/CRM/Activity/Form/ActivityFilter.php +++ b/CRM/Activity/Form/ActivityFilter.php @@ -56,7 +56,6 @@ class CRM_Activity_Form_ActivityFilter extends CRM_Core_Form { * * @return array * reference to the array of default values - * */ /** * This virtual function is used to set the default values of @@ -66,7 +65,6 @@ class CRM_Activity_Form_ActivityFilter extends CRM_Core_Form { * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/Activity/Form/Search.php b/CRM/Activity/Form/Search.php index 5c5b42ee5b..009e575210 100644 --- a/CRM/Activity/Form/Search.php +++ b/CRM/Activity/Form/Search.php @@ -64,7 +64,6 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search { /** * Prefix for the controller - * */ protected $_prefix = "activity_"; diff --git a/CRM/Activity/Form/Task/Batch.php b/CRM/Activity/Form/Task/Batch.php index 2f9993b1da..2225e3c29c 100755 --- a/CRM/Activity/Form/Task/Batch.php +++ b/CRM/Activity/Form/Task/Batch.php @@ -47,13 +47,11 @@ class CRM_Activity_Form_Task_Batch extends CRM_Activity_Form_Task { /** * Maximum profile fields that will be displayed - * */ protected $_maxFields = 9; /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Activity/Form/Task/FileOnCase.php b/CRM/Activity/Form/Task/FileOnCase.php index c4a043d1cb..e81bdf14af 100644 --- a/CRM/Activity/Form/Task/FileOnCase.php +++ b/CRM/Activity/Form/Task/FileOnCase.php @@ -47,13 +47,11 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task { /** * Variable to store redirect path - * */ protected $_userContext; /** * Variable to store contact Ids - * */ public $_contacts; diff --git a/CRM/Activity/Form/Task/PickOption.php b/CRM/Activity/Form/Task/PickOption.php index 49bcce7e24..b88216f1fd 100644 --- a/CRM/Activity/Form/Task/PickOption.php +++ b/CRM/Activity/Form/Task/PickOption.php @@ -47,19 +47,16 @@ class CRM_Activity_Form_Task_PickOption extends CRM_Activity_Form_Task { /** * Maximum Activities that should be allowed to update - * */ protected $_maxActivities = 100; /** * Variable to store redirect path - * */ protected $_userContext; /** * Variable to store contact Ids - * */ public $_contacts; diff --git a/CRM/Activity/Form/Task/PickProfile.php b/CRM/Activity/Form/Task/PickProfile.php index cfb9adbd53..36e160453c 100755 --- a/CRM/Activity/Form/Task/PickProfile.php +++ b/CRM/Activity/Form/Task/PickProfile.php @@ -47,13 +47,11 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task { /** * Maximum Activities that should be allowed to update - * */ protected $_maxActivities = 100; /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Activity/Page/Tab.php b/CRM/Activity/Page/Tab.php index c0b9075768..01e25eb1df 100644 --- a/CRM/Activity/Page/Tab.php +++ b/CRM/Activity/Page/Tab.php @@ -43,7 +43,6 @@ class CRM_Activity_Page_Tab extends CRM_Core_Page { * Browse all activities for a particular contact * * @return void - * */ public function browse() { $this->assign('admin', FALSE); @@ -121,7 +120,6 @@ class CRM_Activity_Page_Tab extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { $this->_contactId = CRM_Utils_Request::retrieve('cid', 'Positive', $this, TRUE); @@ -162,7 +160,6 @@ class CRM_Activity_Page_Tab extends CRM_Core_Page { * Perform actions and display for activities. * * @return void - * */ public function run() { $context = CRM_Utils_Request::retrieve('context', 'String', $this); diff --git a/CRM/Activity/Selector/Activity.php b/CRM/Activity/Selector/Activity.php index be0e34ba57..ddad477fa0 100644 --- a/CRM/Activity/Selector/Activity.php +++ b/CRM/Activity/Selector/Activity.php @@ -288,7 +288,6 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['status'] = ts('Activities %%StatusMessage%%'); diff --git a/CRM/Activity/Selector/Search.php b/CRM/Activity/Selector/Search.php index 00c576bbf6..2fb16fd79b 100644 --- a/CRM/Activity/Selector/Search.php +++ b/CRM/Activity/Selector/Search.php @@ -194,7 +194,6 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['status'] = ts('Activities %%StatusMessage%%'); diff --git a/CRM/Admin/Page/CMSUser.php b/CRM/Admin/Page/CMSUser.php index f77e25625d..3758fbafb6 100644 --- a/CRM/Admin/Page/CMSUser.php +++ b/CRM/Admin/Page/CMSUser.php @@ -46,7 +46,6 @@ class CRM_Admin_Page_CMSUser extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * */ public function run() { //if javascript is enabled diff --git a/CRM/Admin/Page/Extensions.php b/CRM/Admin/Page/Extensions.php index c3e63be686..5e77ae71dc 100644 --- a/CRM/Admin/Page/Extensions.php +++ b/CRM/Admin/Page/Extensions.php @@ -51,7 +51,6 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic { * Obtains the group name from url and sets the title. * * @return void - * */ public function preProcess() { CRM_Utils_System::setTitle(ts('CiviCRM Extensions')); diff --git a/CRM/Admin/Page/Job.php b/CRM/Admin/Page/Job.php index b6871555c0..50cfd0d4f4 100644 --- a/CRM/Admin/Page/Job.php +++ b/CRM/Admin/Page/Job.php @@ -112,7 +112,6 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // set title and breadcrumb diff --git a/CRM/Admin/Page/JobLog.php b/CRM/Admin/Page/JobLog.php index 1db60cc5b4..0c9984b74a 100644 --- a/CRM/Admin/Page/JobLog.php +++ b/CRM/Admin/Page/JobLog.php @@ -74,7 +74,6 @@ class CRM_Admin_Page_JobLog extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // set title and breadcrumb diff --git a/CRM/Admin/Page/Options.php b/CRM/Admin/Page/Options.php index 61c601db98..418a69841f 100644 --- a/CRM/Admin/Page/Options.php +++ b/CRM/Admin/Page/Options.php @@ -85,7 +85,6 @@ class CRM_Admin_Page_Options extends CRM_Core_Page_Basic { * Sets the title. * * @return void - * */ public function preProcess() { if (!self::$_gName && !empty($this->urlPath[3])) { diff --git a/CRM/Admin/Page/PaymentProcessor.php b/CRM/Admin/Page/PaymentProcessor.php index ed306ba22a..6964e218ed 100644 --- a/CRM/Admin/Page/PaymentProcessor.php +++ b/CRM/Admin/Page/PaymentProcessor.php @@ -100,7 +100,6 @@ class CRM_Admin_Page_PaymentProcessor extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // set title and breadcrumb diff --git a/CRM/Admin/Page/PreferencesDate.php b/CRM/Admin/Page/PreferencesDate.php index a5640c17cc..51955edfb5 100644 --- a/CRM/Admin/Page/PreferencesDate.php +++ b/CRM/Admin/Page/PreferencesDate.php @@ -84,7 +84,6 @@ class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // set title and breadcrumb diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index 9c72ab1edf..ce8e5d04d4 100755 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -40,7 +40,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { /** * Maximum profile fields that will be displayed - * */ protected $_rowCount = 1; diff --git a/CRM/Campaign/BAO/Campaign.php b/CRM/Campaign/BAO/Campaign.php index a2f2aa1d35..8fa0bcae4a 100644 --- a/CRM/Campaign/BAO/Campaign.php +++ b/CRM/Campaign/BAO/Campaign.php @@ -235,7 +235,6 @@ Order By camp.title"; /** * Wrapper to self::getCampaigns( ) * w/ permissions and component check. - * */ public static function getPermissionedCampaigns( $includeId = NULL, @@ -543,7 +542,6 @@ INNER JOIN civicrm_group grp ON ( grp.id = campgrp.entity_id ) /* * Add select element for campaign * and assign needful info to templates. - * */ /** * @param CRM_Core_Form $form diff --git a/CRM/Campaign/BAO/Petition.php b/CRM/Campaign/BAO/Petition.php index ec1bca6ded..637f07e69c 100644 --- a/CRM/Campaign/BAO/Petition.php +++ b/CRM/Campaign/BAO/Petition.php @@ -34,7 +34,6 @@ */ class CRM_Campaign_BAO_Petition extends CRM_Campaign_BAO_Survey { /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Campaign/BAO/Survey.php b/CRM/Campaign/BAO/Survey.php index a241005785..ce1221c03d 100644 --- a/CRM/Campaign/BAO/Survey.php +++ b/CRM/Campaign/BAO/Survey.php @@ -48,7 +48,6 @@ class CRM_Campaign_BAO_Survey extends CRM_Campaign_DAO_Survey { * (reference ) an assoc array of name/value pairs. * @param array $defaults * (reference ) an assoc array to hold the flattened values. - * */ /** @@ -403,7 +402,6 @@ SELECT survey.id as id, * * @return mixed|null * @static - * */ public static function del($id) { if (!$id) { @@ -885,7 +883,6 @@ INNER JOIN civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a /** * Retrieve survey associated profile id. - * */ public static function getSurveyProfileId($surveyId) { if (!$surveyId) { @@ -932,7 +929,6 @@ INNER JOIN civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a /** * Decides the contact type for given survey. - * */ public static function getSurveyContactType($surveyId) { $contactType = NULL; @@ -951,7 +947,6 @@ INNER JOIN civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a /** * Get survey supportable profile types - * */ public static function surveyProfileTypes() { static $profileTypes; diff --git a/CRM/Campaign/Form/Petition.php b/CRM/Campaign/Form/Petition.php index 72d4927fbe..418d7a12a7 100644 --- a/CRM/Campaign/Form/Petition.php +++ b/CRM/Campaign/Form/Petition.php @@ -253,7 +253,6 @@ class CRM_Campaign_Form_Petition extends CRM_Core_Form { /** * Global validation rules for the form - * */ public static function formRule($fields, $files, $form) { $errors = array(); diff --git a/CRM/Campaign/Form/Petition/Signature.php b/CRM/Campaign/Form/Petition/Signature.php index b11a11aafc..a948de77d8 100644 --- a/CRM/Campaign/Form/Petition/Signature.php +++ b/CRM/Campaign/Form/Petition/Signature.php @@ -137,7 +137,6 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form { protected $_defaults = NULL; /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Campaign/Form/Search.php b/CRM/Campaign/Form/Search.php index ea22e89e47..7cb09b82ff 100755 --- a/CRM/Campaign/Form/Search.php +++ b/CRM/Campaign/Form/Search.php @@ -63,7 +63,6 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search { /** * Prefix for the controller - * */ protected $_prefix = "survey_"; diff --git a/CRM/Campaign/Form/Survey/Results.php b/CRM/Campaign/Form/Survey/Results.php index de176da02f..b389ff3b69 100644 --- a/CRM/Campaign/Form/Survey/Results.php +++ b/CRM/Campaign/Form/Survey/Results.php @@ -208,7 +208,6 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey { /** * Global validation rules for the form - * */ public static function formRule($fields, $files, $form) { $errors = array(); diff --git a/CRM/Campaign/Form/Task/Interview.php b/CRM/Campaign/Form/Task/Interview.php index 811c8a2bea..617b887863 100755 --- a/CRM/Campaign/Form/Task/Interview.php +++ b/CRM/Campaign/Form/Task/Interview.php @@ -47,7 +47,6 @@ class CRM_Campaign_Form_Task_Interview extends CRM_Campaign_Form_Task { /** * Variable to store redirect path - * */ private $_userContext; diff --git a/CRM/Campaign/Page/Campaign.php b/CRM/Campaign/Page/Campaign.php index 0e231e3dc1..a80f2335e6 100644 --- a/CRM/Campaign/Page/Campaign.php +++ b/CRM/Campaign/Page/Campaign.php @@ -51,7 +51,6 @@ class CRM_Campaign_Page_Campaign extends CRM_Core_Page { * Get the action links for this page. * * @return array - * */ public function &actionLinks() { // check if variable _actionsLinks is populated diff --git a/CRM/Campaign/Page/DashBoard.php b/CRM/Campaign/Page/DashBoard.php index fa41b14c73..a9e3f84b7c 100644 --- a/CRM/Campaign/Page/DashBoard.php +++ b/CRM/Campaign/Page/DashBoard.php @@ -51,7 +51,6 @@ class CRM_Campaign_Page_DashBoard extends CRM_Core_Page { * Get the action links for this page. * * @return array - * */ public function &campaignActionLinks() { // check if variable _actionsLinks is populated diff --git a/CRM/Campaign/Page/SurveyType.php b/CRM/Campaign/Page/SurveyType.php index 81d12a2b13..21c9a281e0 100644 --- a/CRM/Campaign/Page/SurveyType.php +++ b/CRM/Campaign/Page/SurveyType.php @@ -76,7 +76,6 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic { * Obtains the group name from url and sets the title. * * @return void - * */ public function preProcess() { $this->_gName = 'activity_type'; diff --git a/CRM/Campaign/PseudoConstant.php b/CRM/Campaign/PseudoConstant.php index fa9dbd47ad..0f06ded249 100755 --- a/CRM/Campaign/PseudoConstant.php +++ b/CRM/Campaign/PseudoConstant.php @@ -103,7 +103,6 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant { * * @return array * array reference of all campaign types. - * */ public static function &campaignType() { if (!self::$campaignType) { @@ -123,7 +122,6 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant { * * @return array * array reference of all campaign status. - * */ public static function &campaignStatus() { if (!self::$campaignStatus) { diff --git a/CRM/Campaign/Selector/Search.php b/CRM/Campaign/Selector/Search.php index e5ff4c4d5b..7806b61269 100755 --- a/CRM/Campaign/Selector/Search.php +++ b/CRM/Campaign/Selector/Search.php @@ -186,7 +186,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM * - Edit * * @return array - * */ static public function &links() { @@ -198,7 +197,6 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['csvString'] = NULL; diff --git a/CRM/Case/Audit/Audit.php b/CRM/Case/Audit/Audit.php index afbbecdc15..630be4d9b0 100644 --- a/CRM/Case/Audit/Audit.php +++ b/CRM/Case/Audit/Audit.php @@ -182,7 +182,6 @@ class CRM_Case_Audit_Audit { * * This is intended to be called as a sort callback function, returning whether an activity's date is earlier or later than another's. * The type of date to use is specified in the config. - * */ /** diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index aa9ce51c02..408eef5d96 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -48,7 +48,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { static $_exportableFields = NULL; /** - * */ public function __construct() { parent::__construct(); @@ -479,8 +478,6 @@ WHERE civicrm_case.id = %1"; * ID of the case. * * @return array - * - * */ public static function getContactNames($caseId) { $contactNames = array(); @@ -526,7 +523,6 @@ WHERE civicrm_case.id = %1"; * @param null $caseType * * @return array - * */ public static function retrieveCaseIdsByContactId($contactID, $includeDeleted = FALSE, $caseType = NULL) { $query = " @@ -730,7 +726,6 @@ LEFT JOIN civicrm_option_group aog ON aog.name='activity_type' * * @return array * Array of Cases - * */ public static function getCases($allCases = TRUE, $userID = NULL, $type = 'upcoming', $context = 'dashboard') { $condition = NULL; @@ -1577,8 +1572,6 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c * ID of the activity type. * * @return array - * - * */ public static function getCaseActivityCount($caseId, $activityTypeId) { $queryParam = array( @@ -2195,7 +2188,6 @@ LEFT JOIN civicrm_case_contact ON ( civicrm_case.id = civicrm_case_contact.case * Do not include deleted cases. * * @return an array of cases. - * */ public static function getContactCases($contactId, $excludeDeleted = TRUE) { $cases = array(); @@ -2239,7 +2231,6 @@ INNER JOIN civicrm_case_contact ON ( civicrm_case.id = civicrm_case_contact.cas * Do not include deleted cases. * * @return an array of related cases. - * */ public static function getRelatedCases($mainCaseId, $contactId, $excludeDeleted = TRUE) { //FIXME : do check for permissions. diff --git a/CRM/Case/Form/CustomData.php b/CRM/Case/Form/CustomData.php index cb21b67fae..4441ce1e83 100644 --- a/CRM/Case/Form/CustomData.php +++ b/CRM/Case/Form/CustomData.php @@ -72,8 +72,6 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form { * @param * * @return void - * - * */ public function preProcess() { $this->_groupID = CRM_Utils_Request::retrieve('groupID', 'Positive', $this, TRUE); diff --git a/CRM/Case/Form/Search.php b/CRM/Case/Form/Search.php index e06308b82f..b509a9c2d1 100644 --- a/CRM/Case/Form/Search.php +++ b/CRM/Case/Form/Search.php @@ -61,7 +61,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { /** * Prefix for the controller - * */ protected $_prefix = 'case_'; diff --git a/CRM/Case/Page/DashBoard.php b/CRM/Case/Page/DashBoard.php index 67ab6baf0d..58b2c82a75 100644 --- a/CRM/Case/Page/DashBoard.php +++ b/CRM/Case/Page/DashBoard.php @@ -45,7 +45,6 @@ class CRM_Case_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { //check for civicase access. diff --git a/CRM/Case/Selector/Search.php b/CRM/Case/Selector/Search.php index 052b4ad10e..e0550729aa 100644 --- a/CRM/Case/Selector/Search.php +++ b/CRM/Case/Selector/Search.php @@ -250,7 +250,6 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['status'] = ts('Case') . ' %%StatusMessage%%'; diff --git a/CRM/Case/StateMachine/Search.php b/CRM/Case/StateMachine/Search.php index d391bf267c..26bee4b885 100644 --- a/CRM/Case/StateMachine/Search.php +++ b/CRM/Case/StateMachine/Search.php @@ -105,7 +105,6 @@ class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine { /** * Since this is a state machine for search and we want to come back to the same state * we dont want to issue a reset of the state session when we are done processing a task - * */ public function shouldReset() { return FALSE; diff --git a/CRM/Case/XMLProcessor/Report.php b/CRM/Case/XMLProcessor/Report.php index ee118512d4..0b4e3600ef 100644 --- a/CRM/Case/XMLProcessor/Report.php +++ b/CRM/Case/XMLProcessor/Report.php @@ -42,7 +42,6 @@ class CRM_Case_XMLProcessor_Report extends CRM_Case_XMLProcessor { protected $_isRedact; /** - * */ public function __construct() { } diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index e499430b8f..a4607977eb 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -95,7 +95,6 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact { * @return \CRM_Contact_DAO_Contact */ /** - * */ public function __construct() { parent::__construct(); @@ -1099,7 +1098,6 @@ WHERE id={$id}; "; * * * @static - * */ public static function getContactType($id) { return CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', $id, 'contact_type'); @@ -1143,7 +1141,6 @@ WHERE id={$id}; "; * * * @static - * */ public static function getContactTypes($id) { $params = array('id' => $id); diff --git a/CRM/Contact/BAO/Contact/Utils.php b/CRM/Contact/BAO/Contact/Utils.php index a34b01321d..a5eaf5c8bf 100644 --- a/CRM/Contact/BAO/Contact/Utils.php +++ b/CRM/Contact/BAO/Contact/Utils.php @@ -406,7 +406,6 @@ UNION * * @param array $currentEmployerParams * Associated array of contact id and its employer id. - * */ public static function setCurrentEmployer($currentEmployerParams) { foreach ($currentEmployerParams as $contactId => $orgId) { @@ -425,7 +424,6 @@ WHERE contact_a.id ={$contactId} AND contact_b.id={$orgId}; "; * * @param int $organizationId * Current employer id. - * */ public static function updateCurrentEmployer($organizationId) { $query = "UPDATE civicrm_contact contact_a,civicrm_contact contact_b @@ -442,7 +440,6 @@ WHERE contact_a.employer_id=contact_b.id AND contact_b.id={$organizationId}; "; * Contact id ( mostly individual contact id). * @param int $employerId * Contact id ( mostly organization contact id). - * */ public static function clearCurrentEmployer($contactId, $employerId = NULL) { $query = "UPDATE civicrm_contact @@ -566,7 +563,6 @@ WHERE id={$contactId}; "; * * @param int $employerId * Contact id of employer ( organization id ). - * */ public static function clearAllEmployee($employerId) { $query = " diff --git a/CRM/Contact/BAO/ContactType.php b/CRM/Contact/BAO/ContactType.php index 968d9a798b..cf0235eb7c 100644 --- a/CRM/Contact/BAO/ContactType.php +++ b/CRM/Contact/BAO/ContactType.php @@ -472,7 +472,6 @@ AND ( p.is_active = 1 OR p.id IS NULL ) * @param array/string $subType contact subType. * @return array/string of basicTypes. * @static - * */ public static function getBasicType($subType) { static $_cache = NULL; diff --git a/CRM/Contact/BAO/DashboardContact.php b/CRM/Contact/BAO/DashboardContact.php index 7cb881cec6..d4ddda8a5d 100644 --- a/CRM/Contact/BAO/DashboardContact.php +++ b/CRM/Contact/BAO/DashboardContact.php @@ -29,7 +29,6 @@ * @package CRM * @copyright CiviCRM LLC (c) 2004-2014 * $Id$ - * */ class CRM_Contact_BAO_DashboardContact extends CRM_Contact_DAO_DashboardContact { } diff --git a/CRM/Contact/BAO/Group.php b/CRM/Contact/BAO/Group.php index 8283ae49da..57e727032d 100644 --- a/CRM/Contact/BAO/Group.php +++ b/CRM/Contact/BAO/Group.php @@ -76,7 +76,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * * @return NULL * @static - * */ public static function discard($id) { CRM_Utils_Hook::pre('delete', 'Group', $id, CRM_Core_DAO::$_nullArray); @@ -144,7 +143,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { /** * Returns an array of the contacts in the given group. - * */ public static function getGroupContacts($id) { $params = array(array('group', 'IN', array($id => 1), 0, 0)); diff --git a/CRM/Contact/BAO/GroupContactCache.php b/CRM/Contact/BAO/GroupContactCache.php index fee28ef28c..dabeebe47c 100644 --- a/CRM/Contact/BAO/GroupContactCache.php +++ b/CRM/Contact/BAO/GroupContactCache.php @@ -428,7 +428,6 @@ WHERE id = %1 * The smart group that needs to be loaded. * @param bool $force * Should we force a search through. - * */ public static function load(&$group, $force = FALSE) { $groupID = $group->id; diff --git a/CRM/Contact/BAO/GroupNesting.php b/CRM/Contact/BAO/GroupNesting.php index 0851fb5611..78c9816dec 100644 --- a/CRM/Contact/BAO/GroupNesting.php +++ b/CRM/Contact/BAO/GroupNesting.php @@ -306,7 +306,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * The id of the child group being removed. * * @return void - * */ public static function remove($parentID, $childID) { $dao = new CRM_Contact_DAO_GroupNesting(); @@ -323,7 +322,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * The id of the child group being removed. * * @return void - * */ public static function removeAllParentForChild($childID) { $dao = new CRM_Contact_DAO_GroupNesting(); @@ -342,7 +340,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean * True if association is found, false otherwise. - * */ public static function isParentChild($parentID, $childID) { $dao = new CRM_Contact_DAO_GroupNesting(); @@ -363,7 +360,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean * True if 1 or more child groups are found, false otherwise. - * */ public static function hasChildGroups($groupId) { $dao = new CRM_Contact_DAO_GroupNesting(); @@ -407,7 +403,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean * True if $checkGroupId points to a group that is a parent of one of the $groupIds groups, false otherwise. - * */ public static function isParentGroup($groupIds, $checkGroupId) { if (!is_array($groupIds)) { @@ -440,7 +435,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean * True if $checkGroupId points to a group that is a child of one of the $groupIds groups, false otherwise. - * */ public static function isChildGroup($groupIds, $checkGroupId) { @@ -475,7 +469,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean * True if $checkGroupId points to a group that is an ancestor of one of the $groupIds groups, false otherwise. - * */ public static function isAncestorGroup($groupIds, $checkGroupId) { if (!is_array($groupIds)) { @@ -517,7 +510,6 @@ class CRM_Contact_BAO_GroupNesting extends CRM_Contact_DAO_GroupNesting implemen * * @return boolean * True if $checkGroupId points to a group that is a descendent of one of the $groupIds groups, false otherwise. - * */ public static function isDescendentGroup($groupIds, $checkGroupId) { if (!is_array($groupIds)) { diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 3e88c46927..c5a9cb07fc 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -132,7 +132,6 @@ class CRM_Contact_BAO_Query { * The where string * * @var string - * */ public $_whereClause; @@ -140,7 +139,6 @@ class CRM_Contact_BAO_Query { * Additional permission Where Clause * * @var string - * */ public $_permissionWhereClause; @@ -148,7 +146,6 @@ class CRM_Contact_BAO_Query { * The from string * * @var string - * */ public $_fromClause; @@ -156,7 +153,6 @@ class CRM_Contact_BAO_Query { * Additional permission from clause * * @var string - * */ public $_permissionFromClause; @@ -172,7 +168,6 @@ class CRM_Contact_BAO_Query { * The having values * * @var string - * */ public $_having; diff --git a/CRM/Contact/BAO/Query/Hook.php b/CRM/Contact/BAO/Query/Hook.php index 055259a7d5..b5ae9f0e51 100644 --- a/CRM/Contact/BAO/Query/Hook.php +++ b/CRM/Contact/BAO/Query/Hook.php @@ -48,7 +48,6 @@ class CRM_Contact_BAO_Query_Hook { * * @return object * @static - * */ public static function singleton() { static $singleton = NULL; diff --git a/CRM/Contact/BAO/Relationship.php b/CRM/Contact/BAO/Relationship.php index 11ebf22a9c..f9b3099efc 100644 --- a/CRM/Contact/BAO/Relationship.php +++ b/CRM/Contact/BAO/Relationship.php @@ -1261,7 +1261,6 @@ LEFT JOIN civicrm_country ON (civicrm_address.country_id = civicrm_country.id) * * @return array * array reference of all relationship types with context to current contact type . - * */ public function getRelationType($targetContactType) { $relationshipType = array(); @@ -1519,7 +1518,6 @@ SELECT count(*) * not. * * @static - * */ public static function isDeleteRelatedMembership($relTypeIds, $contactId, $mainRelatedContactId, $relTypeId, $relIds) { if (in_array($relTypeId, $relTypeIds)) { @@ -1594,7 +1592,6 @@ WHERE id IN ( {$contacts} ) * * @return array * array of employers. - * */ public static function getPermissionedEmployer($contactID, $name = NULL) { //get the relationship id diff --git a/CRM/Contact/BAO/RelationshipType.php b/CRM/Contact/BAO/RelationshipType.php index e443192b48..cdcf3717a7 100644 --- a/CRM/Contact/BAO/RelationshipType.php +++ b/CRM/Contact/BAO/RelationshipType.php @@ -89,7 +89,6 @@ class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType * * @return CRM_Contact_DAO_RelationshipType * @static - * */ public static function add(&$params, &$ids) { //to change name, CRM-3336 diff --git a/CRM/Contact/BAO/SavedSearch.php b/CRM/Contact/BAO/SavedSearch.php index 8b82ca3524..31c70839f2 100644 --- a/CRM/Contact/BAO/SavedSearch.php +++ b/CRM/Contact/BAO/SavedSearch.php @@ -53,7 +53,6 @@ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch { * * @return array * contains the search name as value and and id as key - * */ public function getAll() { $savedSearch = new CRM_Contact_DAO_SavedSearch(); diff --git a/CRM/Contact/BAO/SubscriptionHistory.php b/CRM/Contact/BAO/SubscriptionHistory.php index b54ff60603..b9cc900021 100644 --- a/CRM/Contact/BAO/SubscriptionHistory.php +++ b/CRM/Contact/BAO/SubscriptionHistory.php @@ -43,7 +43,6 @@ class CRM_Contact_BAO_SubscriptionHistory extends CRM_Contact_DAO_SubscriptionHi * @return \CRM_Contact_DAO_SubscriptionHistory */ /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index cb8435e865..c0c8f865d1 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -452,7 +452,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { /** * Do the set default related to location type id, * primary location, default country - * */ public function blockSetDefaults(&$defaults) { $locationTypeKeys = array_filter(array_keys(CRM_Core_PseudoConstant::get('CRM_Core_DAO_Address', 'location_type_id')), 'is_int'); @@ -1111,7 +1110,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * Contact id. * @param string $contactType * Contact type. - * */ public static function checkDuplicateContacts(&$fields, &$errors, $contactID, $contactType) { // if this is a forced save, ignore find duplicate rule diff --git a/CRM/Contact/Form/CustomData.php b/CRM/Contact/Form/CustomData.php index 7bb59a2d4b..9e805a5a51 100644 --- a/CRM/Contact/Form/CustomData.php +++ b/CRM/Contact/Form/CustomData.php @@ -110,8 +110,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * @param * * @return void - * - * */ public function preProcess() { $this->_cdType = CRM_Utils_Array::value('type', $_GET); diff --git a/CRM/Contact/Form/DedupeFind.php b/CRM/Contact/Form/DedupeFind.php index ba5939a6fd..a6db634f61 100644 --- a/CRM/Contact/Form/DedupeFind.php +++ b/CRM/Contact/Form/DedupeFind.php @@ -41,7 +41,6 @@ class CRM_Contact_Form_DedupeFind extends CRM_Admin_Form { /** * Defined defaults - * */ public $_defaults; diff --git a/CRM/Contact/Form/Domain.php b/CRM/Contact/Form/Domain.php index 8008b6667c..603cfaa20d 100644 --- a/CRM/Contact/Form/Domain.php +++ b/CRM/Contact/Form/Domain.php @@ -104,7 +104,6 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form { * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/Contact/Form/Merge.php b/CRM/Contact/Form/Merge.php index 5b110413b1..4a08100576 100644 --- a/CRM/Contact/Form/Merge.php +++ b/CRM/Contact/Form/Merge.php @@ -249,7 +249,6 @@ class CRM_Contact_Form_Merge extends CRM_Core_Form { * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index 9818d7d5b3..47352ad2cf 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -55,25 +55,21 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { /** * This is a string which is either a_b or b_a used to determine the relationship between to contacts - * */ public $_rtype; /** * This is a string which is used to determine the relationship between to contacts - * */ public $_rtypeId; /** * Display name of contact a - * */ public $_display_name_a; /** * Display name of contact b - * */ public $_display_name_b; diff --git a/CRM/Contact/Form/Search/Custom.php b/CRM/Contact/Form/Search/Custom.php index 057b9254da..a1e2dcd954 100644 --- a/CRM/Contact/Form/Search/Custom.php +++ b/CRM/Contact/Form/Search/Custom.php @@ -97,7 +97,6 @@ class CRM_Contact_Form_Search_Custom extends CRM_Contact_Form_Search { * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/Contact/Form/Search/Interface.php b/CRM/Contact/Form/Search/Interface.php index ccec49a809..50e9b041b4 100644 --- a/CRM/Contact/Form/Search/Interface.php +++ b/CRM/Contact/Form/Search/Interface.php @@ -83,7 +83,6 @@ interface CRM_Contact_Form_Search_Interface { * The from clause should be a valid sql from clause including the word FROM * CiviMail will pick up the contacts where the email is primary and * is not on hold / opt out / do not email - * */ /** diff --git a/CRM/Contact/Form/Task/Batch.php b/CRM/Contact/Form/Task/Batch.php index 2a9a9d9a1d..f56373ce8b 100644 --- a/CRM/Contact/Form/Task/Batch.php +++ b/CRM/Contact/Form/Task/Batch.php @@ -47,19 +47,16 @@ class CRM_Contact_Form_Task_Batch extends CRM_Contact_Form_Task { /** * Maximum contacts that should be allowed to update - * */ protected $_maxContacts = 100; /** * Maximum profile fields that will be displayed - * */ protected $_maxFields = 9; /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Contact/Form/Task/EmailCommon.php b/CRM/Contact/Form/Task/EmailCommon.php index 9b490f6939..14588baa7d 100644 --- a/CRM/Contact/Form/Task/EmailCommon.php +++ b/CRM/Contact/Form/Task/EmailCommon.php @@ -325,7 +325,6 @@ class CRM_Contact_Form_Task_EmailCommon { * Additional values form 'this'. * * @return TRUE if no errors, else array of errors - * */ public static function formRule($fields, $dontCare, $self) { $errors = array(); diff --git a/CRM/Contact/Form/Task/PDF.php b/CRM/Contact/Form/Task/PDF.php index 61a801d83a..9c00d677f0 100644 --- a/CRM/Contact/Form/Task/PDF.php +++ b/CRM/Contact/Form/Task/PDF.php @@ -94,7 +94,6 @@ class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task { * @return void */ /** - * */ public function setDefaultValues() { $defaults = array(); diff --git a/CRM/Contact/Form/Task/PDFLetterCommon.php b/CRM/Contact/Form/Task/PDFLetterCommon.php index 7cfe3a757a..8ebdc65f10 100644 --- a/CRM/Contact/Form/Task/PDFLetterCommon.php +++ b/CRM/Contact/Form/Task/PDFLetterCommon.php @@ -211,7 +211,6 @@ class CRM_Contact_Form_Task_PDFLetterCommon { * * @return bool * TRUE if no errors, else array of errors. - * */ public static function formRule($fields, $dontCare, $self) { $errors = array(); diff --git a/CRM/Contact/Form/Task/PickProfile.php b/CRM/Contact/Form/Task/PickProfile.php index af224eeea4..c59a397687 100644 --- a/CRM/Contact/Form/Task/PickProfile.php +++ b/CRM/Contact/Form/Task/PickProfile.php @@ -47,19 +47,16 @@ class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task { /** * Maximum contacts that should be allowed to update - * */ protected $_maxContacts = 100; /** * Maximum profile fields that will be displayed - * */ protected $_maxFields = 9; /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Contact/Form/Task/SMSCommon.php b/CRM/Contact/Form/Task/SMSCommon.php index 2ca5b46f16..e1bca8a50e 100644 --- a/CRM/Contact/Form/Task/SMSCommon.php +++ b/CRM/Contact/Form/Task/SMSCommon.php @@ -308,7 +308,6 @@ class CRM_Contact_Form_Task_SMSCommon { * Additional values form 'this'. * * @return true if no errors, else array of errors - * */ public static function formRule($fields, $dontCare, $self) { $errors = array(); diff --git a/CRM/Contact/Import/Form/DataSource.php b/CRM/Contact/Import/Form/DataSource.php index 3bec47f3b4..43191809b4 100644 --- a/CRM/Contact/Import/Form/DataSource.php +++ b/CRM/Contact/Import/Form/DataSource.php @@ -239,7 +239,6 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form { * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/Contact/Import/Importer.php b/CRM/Contact/Import/Importer.php index 71f4fdf28e..f53b6ea6d6 100644 --- a/CRM/Contact/Import/Importer.php +++ b/CRM/Contact/Import/Importer.php @@ -39,7 +39,6 @@ */ class CRM_Contact_Import_Importer { /** - * */ public function __construct() { // may not need this diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index a0051d2f9e..0aff98cc66 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -1110,7 +1110,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * * @param null $csType * @param null $relationships - * */ public static function isErrorInCustomData($params, &$errorMessage, $csType = NULL, $relationships = NULL) { $session = CRM_Core_Session::singleton(); @@ -1328,7 +1327,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param array $params * @param string $errorMessage * A string containing all the error-fields. - * */ public function isErrorInCoreData($params, &$errorMessage) { foreach ($params as $key => $value) { @@ -1601,7 +1599,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * @param $valueArray * * @return bool - * */ public function in_value($value, $valueArray) { foreach ($valueArray as $key => $v) { @@ -1634,8 +1631,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { /** * Method for creating contact - * - * */ public function createContact(&$formatted, &$contactFields, $onDuplicate, $contactId = NULL, $requiredCheck = TRUE, $dedupeRuleGroupID = NULL) { $dupeCheck = FALSE; diff --git a/CRM/Contact/Page/AJAX.php b/CRM/Contact/Page/AJAX.php index 1cb76fd5d3..e7ddfec6b3 100644 --- a/CRM/Contact/Page/AJAX.php +++ b/CRM/Contact/Page/AJAX.php @@ -520,7 +520,6 @@ ORDER BY sort_name "; /** * Delete custom value - * */ public static function deleteCustomValue() { $customValueID = CRM_Utils_Type::escape($_REQUEST['valueID'], 'Positive'); @@ -539,7 +538,6 @@ ORDER BY sort_name "; /** * Perform enable / disable actions on record. - * */ public static function enableDisable() { $op = CRM_Utils_Type::escape($_REQUEST['op'], 'String'); @@ -583,7 +581,6 @@ ORDER BY sort_name "; /** * check the CMS username - * */ static public function checkUserName() { $signer = new CRM_Utils_Signer(CRM_Core_Key::privateKey(), array('for', 'ts')); @@ -897,7 +894,6 @@ LIMIT {$offset}, {$rowCount} /** * Process dupes. - * */ public static function processDupes() { $oper = CRM_Utils_Type::escape($_REQUEST['op'], 'String'); diff --git a/CRM/Contact/Page/CustomSearch.php b/CRM/Contact/Page/CustomSearch.php index 80875354d7..d48774d05d 100644 --- a/CRM/Contact/Page/CustomSearch.php +++ b/CRM/Contact/Page/CustomSearch.php @@ -80,7 +80,6 @@ ORDER By v.weight * Browse all custom searches. * * @return content of the parents run method - * */ public function browse() { $rows = self::info(); diff --git a/CRM/Contact/Page/DedupeException.php b/CRM/Contact/Page/DedupeException.php index 7c899f138b..64801beaec 100644 --- a/CRM/Contact/Page/DedupeException.php +++ b/CRM/Contact/Page/DedupeException.php @@ -44,7 +44,6 @@ class CRM_Contact_Page_DedupeException extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { //fetch the dedupe exception contacts. diff --git a/CRM/Contact/Page/DedupeRules.php b/CRM/Contact/Page/DedupeRules.php index 73aabfa7e5..2e33abe12b 100644 --- a/CRM/Contact/Page/DedupeRules.php +++ b/CRM/Contact/Page/DedupeRules.php @@ -102,7 +102,6 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic { * method. * * @return void - * */ public function run() { // get the requested action, default to 'browse' diff --git a/CRM/Contact/Page/Inline/Actions.php b/CRM/Contact/Page/Inline/Actions.php index 016f953599..98d2f7c3ea 100644 --- a/CRM/Contact/Page/Inline/Actions.php +++ b/CRM/Contact/Page/Inline/Actions.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Actions extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { $contactId = CRM_Utils_Request::retrieve('cid', 'Positive', CRM_Core_DAO::$_nullObject, TRUE, NULL, $_REQUEST); diff --git a/CRM/Contact/Page/Inline/Address.php b/CRM/Contact/Page/Inline/Address.php index 18fb9a03ca..c31943c4f8 100644 --- a/CRM/Contact/Page/Inline/Address.php +++ b/CRM/Contact/Page/Inline/Address.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Address extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/CommunicationPreferences.php b/CRM/Contact/Page/Inline/CommunicationPreferences.php index f138987e35..0087351e7c 100644 --- a/CRM/Contact/Page/Inline/CommunicationPreferences.php +++ b/CRM/Contact/Page/Inline/CommunicationPreferences.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_CommunicationPreferences extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/ContactInfo.php b/CRM/Contact/Page/Inline/ContactInfo.php index 44cd2c1385..767f406b7e 100644 --- a/CRM/Contact/Page/Inline/ContactInfo.php +++ b/CRM/Contact/Page/Inline/ContactInfo.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_ContactInfo extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/ContactName.php b/CRM/Contact/Page/Inline/ContactName.php index 90b8b9b0bd..94eaf48903 100644 --- a/CRM/Contact/Page/Inline/ContactName.php +++ b/CRM/Contact/Page/Inline/ContactName.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_ContactName extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/CustomData.php b/CRM/Contact/Page/Inline/CustomData.php index d12b456b5c..90735344e2 100644 --- a/CRM/Contact/Page/Inline/CustomData.php +++ b/CRM/Contact/Page/Inline/CustomData.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_CustomData extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/Demographics.php b/CRM/Contact/Page/Inline/Demographics.php index b213a36fea..49119c1f52 100644 --- a/CRM/Contact/Page/Inline/Demographics.php +++ b/CRM/Contact/Page/Inline/Demographics.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Demographics extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/Email.php b/CRM/Contact/Page/Inline/Email.php index f4ae51d7ba..16231be561 100644 --- a/CRM/Contact/Page/Inline/Email.php +++ b/CRM/Contact/Page/Inline/Email.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Email extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/IM.php b/CRM/Contact/Page/Inline/IM.php index 18f1cc992e..376e394a48 100644 --- a/CRM/Contact/Page/Inline/IM.php +++ b/CRM/Contact/Page/Inline/IM.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_IM extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/OpenID.php b/CRM/Contact/Page/Inline/OpenID.php index f7a61bc4d4..260d9421d2 100644 --- a/CRM/Contact/Page/Inline/OpenID.php +++ b/CRM/Contact/Page/Inline/OpenID.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_OpenID extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/Phone.php b/CRM/Contact/Page/Inline/Phone.php index 73cd2fb8ac..3dd2ba576b 100644 --- a/CRM/Contact/Page/Inline/Phone.php +++ b/CRM/Contact/Page/Inline/Phone.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Phone extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/Inline/Website.php b/CRM/Contact/Page/Inline/Website.php index 58412f3d8d..50b5af159f 100644 --- a/CRM/Contact/Page/Inline/Website.php +++ b/CRM/Contact/Page/Inline/Website.php @@ -45,7 +45,6 @@ class CRM_Contact_Page_Inline_Website extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { // get the emails for this contact diff --git a/CRM/Contact/Page/SavedSearch.php b/CRM/Contact/Page/SavedSearch.php index 7776453909..a513e09df2 100644 --- a/CRM/Contact/Page/SavedSearch.php +++ b/CRM/Contact/Page/SavedSearch.php @@ -54,7 +54,6 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page { * Id of saved search. * * @return void - * */ public function delete($id) { // first delete the group associated with this saved search @@ -75,7 +74,6 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page { * Browse all saved searches. * * @return content of the parents run method - * */ public function browse() { $rows = array(); diff --git a/CRM/Contact/Page/View.php b/CRM/Contact/Page/View.php index e66a6eafa9..c33f3c8ac2 100644 --- a/CRM/Contact/Page/View.php +++ b/CRM/Contact/Page/View.php @@ -72,7 +72,6 @@ class CRM_Contact_Page_View extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { // process url params diff --git a/CRM/Contact/Page/View/CustomData.php b/CRM/Contact/Page/View/CustomData.php index c3d5263f6b..511bd859ec 100644 --- a/CRM/Contact/Page/View/CustomData.php +++ b/CRM/Contact/Page/View/CustomData.php @@ -59,7 +59,6 @@ class CRM_Contact_Page_View_CustomData extends CRM_Core_Page { * Add a few specific things to view contact * * @return void - * */ public function preProcess() { $this->_contactId = CRM_Utils_Request::retrieve('cid', 'Positive', $this, TRUE); diff --git a/CRM/Contact/Page/View/Print.php b/CRM/Contact/Page/View/Print.php index 073b373fc9..d28510a543 100644 --- a/CRM/Contact/Page/View/Print.php +++ b/CRM/Contact/Page/View/Print.php @@ -44,7 +44,6 @@ class CRM_Contact_Page_View_Print extends CRM_Contact_Page_View_Summary { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function run() { $this->_print = CRM_Core_Smarty::PRINT_PAGE; diff --git a/CRM/Contact/Page/View/Relationship.php b/CRM/Contact/Page/View/Relationship.php index 7633cdc772..ed73699a9a 100644 --- a/CRM/Contact/Page/View/Relationship.php +++ b/CRM/Contact/Page/View/Relationship.php @@ -56,7 +56,6 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { * View details of a relationship * * @return void - * */ public function view() { $viewRelationship = CRM_Contact_BAO_Relationship::getRelationship($this->_contactId, NULL, NULL, NULL, $this->_id); diff --git a/CRM/Contact/Page/View/Summary.php b/CRM/Contact/Page/View/Summary.php index 8239dea8b5..24eb69dd2a 100644 --- a/CRM/Contact/Page/View/Summary.php +++ b/CRM/Contact/Page/View/Summary.php @@ -44,7 +44,6 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { parent::preProcess(); @@ -90,7 +89,6 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function run() { $this->preProcess(); diff --git a/CRM/Contact/Page/View/UserDashBoard.php b/CRM/Contact/Page/View/UserDashBoard.php index 98edf3b279..3b1db77572 100644 --- a/CRM/Contact/Page/View/UserDashBoard.php +++ b/CRM/Contact/Page/View/UserDashBoard.php @@ -202,7 +202,6 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page { * Perform actions and display for user dashboard * * @return void - * */ public function run() { $this->preProcess(); diff --git a/CRM/Contact/Page/View/Useradd.php b/CRM/Contact/Page/View/Useradd.php index 8b8a205093..6376225004 100755 --- a/CRM/Contact/Page/View/Useradd.php +++ b/CRM/Contact/Page/View/Useradd.php @@ -44,7 +44,6 @@ class CRM_Contact_Page_View_Useradd extends CRM_Core_Page { * This method is called after the page is created. * * @return void - * */ public function run() { $controller = new CRM_Core_Controller_Simple('CRM_Contact_Form_Task_Useradd', diff --git a/CRM/Contact/Selector.php b/CRM/Contact/Selector.php index 4ccc9c8fc8..f2914c6506 100644 --- a/CRM/Contact/Selector.php +++ b/CRM/Contact/Selector.php @@ -224,7 +224,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * - Edit * * @return array - * */ public static function &links() { list($context, $contextMenu, $key) = func_get_args(); @@ -298,7 +297,6 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['status'] = ts('Contact %%StatusMessage%%'); diff --git a/CRM/Contact/Selector/Custom.php b/CRM/Contact/Selector/Custom.php index 641ffa8dec..c8acb4d0df 100644 --- a/CRM/Contact/Selector/Custom.php +++ b/CRM/Contact/Selector/Custom.php @@ -164,7 +164,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * - Edit * * @return array - * */ public static function &links() { list($key) = func_get_args(); @@ -208,7 +207,6 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['status'] = ts('Contact %%StatusMessage%%'); diff --git a/CRM/Contact/StateMachine/Search.php b/CRM/Contact/StateMachine/Search.php index 7a3deca013..2b35e17f34 100644 --- a/CRM/Contact/StateMachine/Search.php +++ b/CRM/Contact/StateMachine/Search.php @@ -131,7 +131,6 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine { /** * Since this is a state machine for search and we want to come back to the same state * we dont want to issue a reset of the state session when we are done processing a task - * */ public function shouldReset() { return FALSE; diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index f065901e59..7e6d19644f 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -75,7 +75,6 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { * @return \CRM_Contribute_DAO_Contribution */ /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Contribute/BAO/Contribution/Utils.php b/CRM/Contribute/BAO/Contribution/Utils.php index 79ba2272a0..fc85bb7b97 100644 --- a/CRM/Contribute/BAO/Contribution/Utils.php +++ b/CRM/Contribute/BAO/Contribution/Utils.php @@ -900,7 +900,6 @@ LIMIT 1 * array of tax amount * * @static - * */ public static function calculateTaxAmount($amount, $taxRate) { $taxAmount = array(); diff --git a/CRM/Contribute/BAO/ContributionRecur.php b/CRM/Contribute/BAO/ContributionRecur.php index 6b639372c7..153fa200dd 100644 --- a/CRM/Contribute/BAO/ContributionRecur.php +++ b/CRM/Contribute/BAO/ContributionRecur.php @@ -42,7 +42,6 @@ class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_Contributi * * @return object * activity contact object - * */ public static function create(&$params) { return self::add($params); diff --git a/CRM/Contribute/BAO/ContributionSoft.php b/CRM/Contribute/BAO/ContributionSoft.php index 62451a5343..f27bc3cb7e 100644 --- a/CRM/Contribute/BAO/ContributionSoft.php +++ b/CRM/Contribute/BAO/ContributionSoft.php @@ -49,7 +49,6 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio * * @return object * soft contribution of object that is added - * */ public static function add(&$params) { $contributionSoft = new CRM_Contribute_DAO_ContributionSoft(); diff --git a/CRM/Contribute/Form/AdditionalPayment.php b/CRM/Contribute/Form/AdditionalPayment.php index 3c955e53cb..7aaff931d6 100644 --- a/CRM/Contribute/Form/AdditionalPayment.php +++ b/CRM/Contribute/Form/AdditionalPayment.php @@ -155,7 +155,6 @@ class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_Abstract * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index 8a0f7f8c83..790b23d291 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -1881,7 +1881,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr * $this->_params['amount'] = null; * * @param int $priceSetID - * */ public function setFormAmountFields($priceSetID) { $isQuickConfig = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', $this->_params['priceSetId'], 'is_quick_config'); diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index 929fa14009..61a5d49dff 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -41,7 +41,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu /** * Define default MembershipType Id - * */ public $_defaultMemTypeId; @@ -189,7 +188,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu * @return void */ /** - * */ public function setDefaultValues() { // check if the user is registered and we have a contact ID @@ -626,7 +624,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu /** * Build elements to enable pay on behalf of an organization. - * */ public function buildOnBehalfOrganization() { if ($this->_membershipContactID) { diff --git a/CRM/Contribute/Form/Contribution/ThankYou.php b/CRM/Contribute/Form/Contribution/ThankYou.php index 15637dd705..931324b4f7 100644 --- a/CRM/Contribute/Form/Contribution/ThankYou.php +++ b/CRM/Contribute/Form/Contribution/ThankYou.php @@ -40,7 +40,6 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont /** * Membership price set status - * */ public $_useForMember; diff --git a/CRM/Contribute/Form/ContributionPage/Delete.php b/CRM/Contribute/Form/ContributionPage/Delete.php index 12d2cd7bab..147429315f 100644 --- a/CRM/Contribute/Form/ContributionPage/Delete.php +++ b/CRM/Contribute/Form/ContributionPage/Delete.php @@ -47,7 +47,6 @@ class CRM_Contribute_Form_ContributionPage_Delete extends CRM_Contribute_Form_Co /** * Check if there are any related contributions - * */ protected $_relatedContributions; diff --git a/CRM/Contribute/Form/ContributionPage/Widget.php b/CRM/Contribute/Form/ContributionPage/Widget.php index 0080b68ccc..2a34d9f257 100644 --- a/CRM/Contribute/Form/ContributionPage/Widget.php +++ b/CRM/Contribute/Form/ContributionPage/Widget.php @@ -138,7 +138,6 @@ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_Co * @return void */ /** - * */ public function setDefaultValues() { $defaults = array(); diff --git a/CRM/Contribute/Form/Search.php b/CRM/Contribute/Form/Search.php index cc38b5821d..1be52e0b30 100644 --- a/CRM/Contribute/Form/Search.php +++ b/CRM/Contribute/Form/Search.php @@ -67,7 +67,6 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { /** * Prefix for the controller - * */ protected $_prefix = "contribute_"; diff --git a/CRM/Contribute/Form/Task/Batch.php b/CRM/Contribute/Form/Task/Batch.php index 65c470afd2..c193d2cdbd 100644 --- a/CRM/Contribute/Form/Task/Batch.php +++ b/CRM/Contribute/Form/Task/Batch.php @@ -47,13 +47,11 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task { /** * Maximum profile fields that will be displayed - * */ protected $_maxFields = 9; /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Contribute/Form/Task/Invoice.php b/CRM/Contribute/Form/Task/Invoice.php index b4fe5fd076..22975e53b2 100644 --- a/CRM/Contribute/Form/Task/Invoice.php +++ b/CRM/Contribute/Form/Task/Invoice.php @@ -47,19 +47,16 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { /** * Gives all the statues for conribution - * */ public $_contributionStatusId; /** * Gives the HTML template of PDF Invoice - * */ public $_messageInvoice; /** * This variable is used to assign parameters for HTML template of PDF Invoice - * */ public $_invoiceTemplate; @@ -249,7 +246,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task { * @param CRM_Core_Form $form * Form object. * @static - * */ public static function printPDF($contribIDs, &$params, $contactIds, &$form) { // get all the details needed to generate a invoice diff --git a/CRM/Contribute/Form/Task/PDFLetter.php b/CRM/Contribute/Form/Task/PDFLetter.php index 3a722e2a2c..f1311255a0 100644 --- a/CRM/Contribute/Form/Task/PDFLetter.php +++ b/CRM/Contribute/Form/Task/PDFLetter.php @@ -85,7 +85,6 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task { * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/Contribute/Form/Task/PDFLetterCommon.php b/CRM/Contribute/Form/Task/PDFLetterCommon.php index 23799c2382..c89b77962f 100644 --- a/CRM/Contribute/Form/Task/PDFLetterCommon.php +++ b/CRM/Contribute/Form/Task/PDFLetterCommon.php @@ -216,7 +216,6 @@ class CRM_Contribute_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDF * @param string $separator * * @return array - * */ public static function buildContributionArray($groupBy, $form, $returnProperties, $skipOnHold, $skipDeceased, $messageToken, $task, $separator) { $contributions = $contacts = $notSent = array(); diff --git a/CRM/Contribute/Form/Task/PickProfile.php b/CRM/Contribute/Form/Task/PickProfile.php index 2f895163dd..30c3aec438 100644 --- a/CRM/Contribute/Form/Task/PickProfile.php +++ b/CRM/Contribute/Form/Task/PickProfile.php @@ -47,13 +47,11 @@ class CRM_Contribute_Form_Task_PickProfile extends CRM_Contribute_Form_Task { /** * Maximum contributions that should be allowed to update - * */ protected $_maxContributions = 100; /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Contribute/Form/UpdateBilling.php b/CRM/Contribute/Form/UpdateBilling.php index a856a81d6a..41cf445314 100644 --- a/CRM/Contribute/Form/UpdateBilling.php +++ b/CRM/Contribute/Form/UpdateBilling.php @@ -137,7 +137,6 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Core_Form { * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/Contribute/Info.php b/CRM/Contribute/Info.php index 18b9c2f6b3..36af5e6983 100644 --- a/CRM/Contribute/Info.php +++ b/CRM/Contribute/Info.php @@ -49,7 +49,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * * @return array * collection of required component settings - * */ /** * @return array @@ -114,7 +113,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ /** * @return array|null @@ -135,7 +133,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ /** * @return array|null @@ -155,7 +152,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * */ /** * @return array|null @@ -175,7 +171,6 @@ class CRM_Contribute_Info extends CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * */ /** * @return array|null diff --git a/CRM/Contribute/Page/DashBoard.php b/CRM/Contribute/Page/DashBoard.php index a99ce6c96a..10c23d773a 100644 --- a/CRM/Contribute/Page/DashBoard.php +++ b/CRM/Contribute/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Contribute_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { CRM_Utils_System::setTitle(ts('CiviContribute')); diff --git a/CRM/Contribute/Page/ManagePremiums.php b/CRM/Contribute/Page/ManagePremiums.php index a3d0f3d3e0..56850757bc 100644 --- a/CRM/Contribute/Page/ManagePremiums.php +++ b/CRM/Contribute/Page/ManagePremiums.php @@ -108,7 +108,6 @@ class CRM_Contribute_Page_ManagePremiums extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { diff --git a/CRM/Contribute/Page/Premium.php b/CRM/Contribute/Page/Premium.php index e295cbc7f4..e9f450866a 100644 --- a/CRM/Contribute/Page/Premium.php +++ b/CRM/Contribute/Page/Premium.php @@ -100,7 +100,6 @@ class CRM_Contribute_Page_Premium extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Contribute/StateMachine/Search.php b/CRM/Contribute/StateMachine/Search.php index 6bfc9afd79..7c752e0103 100644 --- a/CRM/Contribute/StateMachine/Search.php +++ b/CRM/Contribute/StateMachine/Search.php @@ -102,7 +102,6 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine { /** * Since this is a state machine for search and we want to come back to the same state * we dont want to issue a reset of the state session when we are done processing a task - * */ public function shouldReset() { return FALSE; diff --git a/CRM/Core/Action.php b/CRM/Core/Action.php index 8e39a3f523..353df9efc5 100644 --- a/CRM/Core/Action.php +++ b/CRM/Core/Action.php @@ -42,7 +42,6 @@ class CRM_Core_Action { * constant from CRM_Core_Form for various modes. * * @var integer const - * */ const NONE = 0, @@ -78,7 +77,6 @@ class CRM_Core_Action { * @var array $_names type of variable name to action constant * * @static - * */ static $_names = array( 'add' => self::ADD, @@ -137,7 +135,6 @@ class CRM_Core_Action { * @return int * the action mask corresponding to the input args * @static - * */ public static function map($item) { $mask = 0; @@ -162,7 +159,6 @@ class CRM_Core_Action { * @return int * the action mask corresponding to the input string * @static - * */ public static function mapItem($item) { $mask = CRM_Utils_Array::value(trim($item), self::$_names); @@ -179,7 +175,6 @@ class CRM_Core_Action { * @return string * the corresponding action description * @static - * */ public static function description($mask) { if (!isset($_description)) { diff --git a/CRM/Core/BAO/ActionSchedule.php b/CRM/Core/BAO/ActionSchedule.php index 2b697c8071..ff5e4935e8 100644 --- a/CRM/Core/BAO/ActionSchedule.php +++ b/CRM/Core/BAO/ActionSchedule.php @@ -591,7 +591,6 @@ AND cas.entity_value = $id AND * * @return CRM_Core_DAO_ActionSchedule * @static - * */ public static function add(&$params, $ids = array()) { $actionSchedule = new CRM_Core_DAO_ActionSchedule(); diff --git a/CRM/Core/BAO/Block.php b/CRM/Core/BAO/Block.php index 6fc42383e7..64e77630f8 100644 --- a/CRM/Core/BAO/Block.php +++ b/CRM/Core/BAO/Block.php @@ -517,7 +517,6 @@ class CRM_Core_BAO_Block { * Sort location array so primary element is first * * @param array $locations - * */ public static function sortPrimaryFirst(&$locations) { uasort($locations, 'self::primaryComparison'); diff --git a/CRM/Core/BAO/Cache.php b/CRM/Core/BAO/Cache.php index 31691b1151..b9cf8013f8 100644 --- a/CRM/Core/BAO/Cache.php +++ b/CRM/Core/BAO/Cache.php @@ -231,7 +231,6 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { * The next two functions are internal functions used to store and retrieve session from * the database cache. This keeps the session to a limited size and allows us to * create separate session scopes for each form in a tab - * */ /** diff --git a/CRM/Core/BAO/CustomField.php b/CRM/Core/BAO/CustomField.php index c5e7b84ba3..5f0db6eacc 100644 --- a/CRM/Core/BAO/CustomField.php +++ b/CRM/Core/BAO/CustomField.php @@ -366,7 +366,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * name * * @static - * */ public static function getTitle($id) { return CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomField', $id, 'label'); @@ -1099,7 +1098,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * @return boolean * * @static - * */ public static function deleteField($field) { CRM_Utils_System::flushCache(); @@ -2388,7 +2386,6 @@ WHERE ( f.label = %1 OR f.name = %1 ) /** * Given ID of a custom field, return its name as well as the name of the custom group it belongs to. - * */ public static function getNameFromID($ids) { if (is_array($ids)) { diff --git a/CRM/Core/BAO/CustomGroup.php b/CRM/Core/BAO/CustomGroup.php index 6d8b8e71bb..acbba504d3 100644 --- a/CRM/Core/BAO/CustomGroup.php +++ b/CRM/Core/BAO/CustomGroup.php @@ -882,7 +882,6 @@ ORDER BY civicrm_custom_group.weight, * title * * @static - * */ public static function getTitle($id) { return CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $id, 'title'); @@ -1256,7 +1255,6 @@ ORDER BY civicrm_custom_group.weight, * false if field exists for this group, true if group gets deleted. * * @static - * */ public static function deleteGroup($group, $force = FALSE) { diff --git a/CRM/Core/BAO/CustomQuery.php b/CRM/Core/BAO/CustomQuery.php index e212a0a3ac..dd6c1feedf 100644 --- a/CRM/Core/BAO/CustomQuery.php +++ b/CRM/Core/BAO/CustomQuery.php @@ -141,7 +141,6 @@ class CRM_Core_BAO_CustomQuery { * * @param bool $contactSearch * @param array $locationSpecificFields - * */ public function __construct($ids, $contactSearch = FALSE, $locationSpecificFields = array()) { $this->_ids = &$ids; @@ -329,7 +328,6 @@ SELECT label, value * @param NULL * * @return void - * */ public function where() { foreach ($this->_ids as $id => $values) { diff --git a/CRM/Core/BAO/Discount.php b/CRM/Core/BAO/Discount.php index c4c7b03b00..a177744758 100644 --- a/CRM/Core/BAO/Discount.php +++ b/CRM/Core/BAO/Discount.php @@ -92,7 +92,6 @@ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount { * * @return array * option group Ids associated with discount - * */ public static function getOptionGroup($entityId, $entityTable) { $optionGroupIDs = array(); diff --git a/CRM/Core/BAO/EntityTag.php b/CRM/Core/BAO/EntityTag.php index 98b0eb5013..374f99be01 100644 --- a/CRM/Core/BAO/EntityTag.php +++ b/CRM/Core/BAO/EntityTag.php @@ -120,7 +120,6 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag { * * @return CRM_Core_BAO_EntityTag object * @static - * */ public static function del(&$params) { $entityTag = new CRM_Core_BAO_EntityTag(); diff --git a/CRM/Core/BAO/FinancialTrxn.php b/CRM/Core/BAO/FinancialTrxn.php index bd769ca5e6..a46997d38b 100644 --- a/CRM/Core/BAO/FinancialTrxn.php +++ b/CRM/Core/BAO/FinancialTrxn.php @@ -40,7 +40,6 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn { * @return \CRM_Financial_DAO_FinancialTrxn */ /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Core/BAO/Location.php b/CRM/Core/BAO/Location.php index 65ba7ab125..48b425ee9b 100644 --- a/CRM/Core/BAO/Location.php +++ b/CRM/Core/BAO/Location.php @@ -97,7 +97,6 @@ class CRM_Core_BAO_Location extends CRM_Core_DAO { /** * Creates the entry in the civicrm_loc_block - * */ public static function createLocBlock(&$location, &$entityElements) { $locId = self::findExisting($entityElements); diff --git a/CRM/Core/BAO/MailSettings.php b/CRM/Core/BAO/MailSettings.php index 9d9b552f2b..aabd033750 100644 --- a/CRM/Core/BAO/MailSettings.php +++ b/CRM/Core/BAO/MailSettings.php @@ -199,7 +199,6 @@ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings { * * @return mixed|null * @static - * */ public static function deleteMailSettings($id) { $results = NULL; diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php index ae3374a289..567073d793 100644 --- a/CRM/Core/BAO/Mapping.php +++ b/CRM/Core/BAO/Mapping.php @@ -71,7 +71,6 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { * * @return boolean * @static - * */ public static function del($id) { // delete from mapping_field table diff --git a/CRM/Core/BAO/OptionValue.php b/CRM/Core/BAO/OptionValue.php index eca85e0233..0f62fe48b8 100644 --- a/CRM/Core/BAO/OptionValue.php +++ b/CRM/Core/BAO/OptionValue.php @@ -280,7 +280,6 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { * title * * @static - * */ public static function getTitle($id) { return CRM_Core_DAO::getFieldValue('CRM_Core_DAO_OptionValue', $id, 'label'); diff --git a/CRM/Core/BAO/Tag.php b/CRM/Core/BAO/Tag.php index e6d1efdf7d..60eb5fe251 100644 --- a/CRM/Core/BAO/Tag.php +++ b/CRM/Core/BAO/Tag.php @@ -322,7 +322,6 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag { * * @return boolean * @static - * */ public static function del($id) { // since this is a destructive operation, lets make sure diff --git a/CRM/Core/BAO/UFField.php b/CRM/Core/BAO/UFField.php index 4d062734dd..935abc5143 100644 --- a/CRM/Core/BAO/UFField.php +++ b/CRM/Core/BAO/UFField.php @@ -71,7 +71,6 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField { * title * * @static - * */ public static function getTitle($id) { return CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFField', $groupId, 'title'); @@ -113,7 +112,6 @@ class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField { * @return boolean * * @static - * */ public static function del($id) { //delete field field @@ -208,7 +206,6 @@ WHERE cf.id IN (" . $customFieldIds . ") AND is_multiple = 1 LIMIT 0,1"; * @return CRM_Core_BAO_UFField object * * @static - * */ public static function add(&$params, $ids = array()) { // set values for uf field properties and save @@ -774,7 +771,6 @@ SELECT id * @param int $profileID * * @return void - * */ public function resetInSelectorANDSearchable($profileID) { if (!$profileID) { diff --git a/CRM/Core/BAO/UFGroup.php b/CRM/Core/BAO/UFGroup.php index b3de37652c..d45ea03520 100644 --- a/CRM/Core/BAO/UFGroup.php +++ b/CRM/Core/BAO/UFGroup.php @@ -107,7 +107,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * title * * @static - * */ public static function getTitle($id) { return CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFGroup', $id, 'title'); @@ -1389,7 +1388,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @return boolean * * @static - * */ public static function usedByModule($id) { //check whether this group is used by any module(check uf join records) @@ -1416,7 +1414,6 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup { * @return boolean * * @static - * */ public static function del($id) { //check whether this group contains any profile fields @@ -3243,7 +3240,6 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param bool $isStandalone * * @return void - * */ public static function setComponentDefaults(&$fields, $componentId, $component, &$defaults, $isStandalone = FALSE) { if (!$componentId || diff --git a/CRM/Core/BAO/WordReplacement.php b/CRM/Core/BAO/WordReplacement.php index 6c0c3a33b3..3f6493d262 100644 --- a/CRM/Core/BAO/WordReplacement.php +++ b/CRM/Core/BAO/WordReplacement.php @@ -44,7 +44,6 @@ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement { * @return \CRM_Core_DAO_WordReplacement */ /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Core/Block.php b/CRM/Core/Block.php index e055213ee8..0422e4964f 100644 --- a/CRM/Core/Block.php +++ b/CRM/Core/Block.php @@ -61,7 +61,6 @@ class CRM_Core_Block { /** * Class constructor - * */ public function __construct() { } diff --git a/CRM/Core/ClassLoader.php b/CRM/Core/ClassLoader.php index 6ba1658c12..4ec6230e47 100644 --- a/CRM/Core/ClassLoader.php +++ b/CRM/Core/ClassLoader.php @@ -61,7 +61,6 @@ class CRM_Core_ClassLoader { protected $_registered; /** - * */ protected function __construct() { $this->_registered = FALSE; diff --git a/CRM/Core/CodeGen/BaseTask.php b/CRM/Core/CodeGen/BaseTask.php index 98dfe73a6a..b9890e9bf4 100644 --- a/CRM/Core/CodeGen/BaseTask.php +++ b/CRM/Core/CodeGen/BaseTask.php @@ -7,7 +7,6 @@ abstract class CRM_Core_CodeGen_BaseTask implements CRM_Core_CodeGen_ITask { protected $config; /** - * */ public function __construct() { } diff --git a/CRM/Core/CodeGen/Main.php b/CRM/Core/CodeGen/Main.php index 585e386d7d..fe7009f43c 100644 --- a/CRM/Core/CodeGen/Main.php +++ b/CRM/Core/CodeGen/Main.php @@ -63,7 +63,6 @@ class CRM_Core_CodeGen_Main { /** * Automatically generate a variety of files - * */ public function main() { if (!empty($this->digestPath) && file_exists($this->digestPath) && $this->hasExpectedFiles()) { diff --git a/CRM/Core/CodeGen/Schema.php b/CRM/Core/CodeGen/Schema.php index ee6eb8bcd5..e973204c32 100644 --- a/CRM/Core/CodeGen/Schema.php +++ b/CRM/Core/CodeGen/Schema.php @@ -5,7 +5,6 @@ */ class CRM_Core_CodeGen_Schema extends CRM_Core_CodeGen_BaseTask { /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Core/Component.php b/CRM/Core/Component.php index 0a7fe2a69c..ddd9138a2b 100644 --- a/CRM/Core/Component.php +++ b/CRM/Core/Component.php @@ -439,7 +439,6 @@ class CRM_Core_Component { /** * Get components info from info file - * */ public static function getComponentsFromFile($crmFolderDir) { $components = array(); diff --git a/CRM/Core/Component/Info.php b/CRM/Core/Component/Info.php index a5e1fffe53..e7c7b8099c 100644 --- a/CRM/Core/Component/Info.php +++ b/CRM/Core/Component/Info.php @@ -130,7 +130,6 @@ abstract class CRM_Core_Component_Info { * * @return array * collection of required component settings - * */ abstract public function getInfo(); @@ -191,7 +190,6 @@ abstract class CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ abstract public function getUserDashboardElement(); @@ -201,7 +199,6 @@ abstract class CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ abstract public function registerTab(); @@ -211,7 +208,6 @@ abstract class CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * */ abstract public function registerAdvancedSearchPane(); @@ -222,7 +218,6 @@ abstract class CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * */ abstract public function getActivityTypes(); @@ -232,7 +227,6 @@ abstract class CRM_Core_Component_Info { * * @return boolean * true if component is enabled, false if not - * */ public function isEnabled() { $config = CRM_Core_Config::singleton(); @@ -246,7 +240,6 @@ abstract class CRM_Core_Component_Info { * Provides component's configuration object. * * @return mixed component's configuration object - * */ public function getConfigObject() { return $this->_instantiate(self::COMPONENT_CONFIG_CLASS); @@ -256,7 +249,6 @@ abstract class CRM_Core_Component_Info { * Provides component's menu definition object. * * @return mixed component's menu definition object - * */ public function getMenuObject() { return $this->_instantiate(self::COMPONENT_MENU_CLASS); @@ -266,7 +258,6 @@ abstract class CRM_Core_Component_Info { * Provides component's invocation object. * * @return mixed component's invocation object - * */ public function getInvokeObject() { return $this->_instantiate(self::COMPONENT_INVOKE_CLASS); @@ -276,7 +267,6 @@ abstract class CRM_Core_Component_Info { * Provides component's BAO Query object. * * @return mixed component's BAO Query object - * */ public function getBAOQueryObject() { return $this->_instantiate(self::COMPONENT_BAO_QUERY_CLASS); @@ -284,8 +274,6 @@ abstract class CRM_Core_Component_Info { /** * Builds advanced search form's component specific pane. - * - * */ public function buildAdvancedSearchPaneForm(&$form) { $bao = $this->getBAOQueryObject(); @@ -296,7 +284,6 @@ abstract class CRM_Core_Component_Info { * Provides component's user dashboard page object. * * @return mixed component's User Dashboard applet object - * */ public function getUserDashboardObject() { return $this->_instantiate(self::COMPONENT_USERDASHBOARD_CLASS); @@ -306,7 +293,6 @@ abstract class CRM_Core_Component_Info { * Provides component's contact record tab object. * * @return mixed component's contact record tab object - * */ public function getTabObject() { return $this->_instantiate(self::COMPONENT_TAB_CLASS); @@ -317,7 +303,6 @@ abstract class CRM_Core_Component_Info { * * @return string * component's advanced search pane's template path - * */ public function getAdvancedSearchPaneTemplatePath() { $fullpath = $this->namespace . '_' . self::COMPONENT_ADVSEARCHPANE_CLASS; @@ -329,7 +314,6 @@ abstract class CRM_Core_Component_Info { * * @return boolean * true if component needs search integration - * */ public function usesSearch() { return $this->info['search'] ? TRUE : FALSE; @@ -340,7 +324,6 @@ abstract class CRM_Core_Component_Info { * * @return array * array of menu files - * */ public function menuFiles() { return CRM_Utils_File::getFilesByExtension($this->_getMenuXMLPath(), 'xml'); @@ -353,7 +336,6 @@ abstract class CRM_Core_Component_Info { * * @return string * component keyword - * */ public function getKeyword() { return $this->keyword; @@ -363,7 +345,6 @@ abstract class CRM_Core_Component_Info { * Helper for figuring out menu XML file location. * * @return mixed component's element as class instance - * */ private function _getMenuXMLPath() { global $civicrm_root; diff --git a/CRM/Core/Controller.php b/CRM/Core/Controller.php index a626a29b52..4a2bce9ece 100644 --- a/CRM/Core/Controller.php +++ b/CRM/Core/Controller.php @@ -386,7 +386,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * * * @return void - * */ public function addActions($uploadDirectory = NULL, $uploadNames = NULL) { $names = array( @@ -526,7 +525,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * * * @return void - * */ public function set($name, $value = NULL) { self::$_session->set($name, $value, $this->_scope); @@ -541,7 +539,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * * @return mixed - * */ public function get($name) { return self::$_session->get($name, $this->_scope); @@ -855,7 +852,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller { * and present the user a better message and/or redirect to the same page with a reset url * * @return void - * */ public function invalidKey() { self::invalidKeyCommon(); diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index 39a41273f5..18a4cffd5a 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -115,7 +115,6 @@ class CRM_Core_DAO extends DB_DataObject { * @param string $fieldName * @param $fieldDef * @param array $params - * */ protected function assignTestFK($fieldName, $fieldDef, $params) { $required = CRM_Utils_Array::value('required', $fieldDef); @@ -274,7 +273,6 @@ class CRM_Core_DAO extends DB_DataObject { * by resetting some of DAO's internal fields. Use this with caution * * @return void - * */ public function reset() { diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index 026a932bd1..a1605e02fb 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -290,7 +290,6 @@ class CRM_Core_Error extends PEAR_ErrorStack { * Also, if we do not return any value the PEAR_ErrorStack::push() then does the * action of PEAR_ERRORSTACK_PUSHANDLOG which displays the errors on the screen, * since the logger set for this error stack is 'display' - see CRM_Core_Config::getLog(); - * */ public static function handlePES($pearError) { return PEAR_ERRORSTACK_PUSH; diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index 0cc1b549ad..82b2d6dc8c 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -218,7 +218,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Register all the standard rules that most forms potentially use * * @return void - * */ public function registerRules() { static $rules = array( @@ -301,7 +300,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * * @return void - * */ public function preProcess() { } @@ -316,7 +314,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * * @return void - * */ public function postProcess() { } @@ -348,7 +345,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * case it needs to call this function so other modules can do the needful * Calling this function directly should be avoided if possible. In general a * better way is to do setUserContext so the framework does the redirect - * */ public function postProcessHook() { CRM_Utils_Hook::postProcess(get_class($this), $this); @@ -361,7 +357,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * * @return void - * */ public function buildQuickForm() { } @@ -374,7 +369,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * @return array * reference to the array of default values - * */ public function setDefaultValues() { } @@ -386,7 +380,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * * @return void - * */ public function addRules() { } @@ -433,7 +426,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * Core function that builds the form. We redefine this function * here and expect all CRM forms to build their form in the function * buildQuickForm. - * */ public function buildForm() { $this->_formBuilt = TRUE; @@ -494,8 +486,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * formats * * @return void - * - * */ public function addButtons($params) { $prevnext = $spacing = array(); @@ -756,7 +746,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * * @return void - * */ public function set($name, $value) { $this->controller->set($name, $value); @@ -769,7 +758,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * * * @return mixed - * */ public function get($name) { return $this->controller->get($name); @@ -1280,7 +1268,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { * ); * @param bool $required * True if required. - * */ public function addDate($name, $label, $required = FALSE, $attributes = NULL) { if (!empty($attributes['formatType'])) { @@ -1532,7 +1519,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { /** * Function that can be defined in Form to override or * perform specific action on cancel action - * */ public function cancelAction() { } @@ -1656,7 +1642,6 @@ class CRM_Core_Form extends HTML_QuickForm_Page { } /** - * */ public function canUseAjaxContactLookups() { if (0 < (civicrm_api3('contact', 'getcount', array('check_permissions' => 1))) && diff --git a/CRM/Core/Form/Renderer.php b/CRM/Core/Form/Renderer.php index a39d0521c8..890b5ca58c 100644 --- a/CRM/Core/Form/Renderer.php +++ b/CRM/Core/Form/Renderer.php @@ -68,7 +68,6 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty { /** * Constructor - * */ function __construct() { $template = CRM_Core_Smarty::singleton(); diff --git a/CRM/Core/I18n/Form.php b/CRM/Core/I18n/Form.php index 06d7246f50..4107d889aa 100644 --- a/CRM/Core/I18n/Form.php +++ b/CRM/Core/I18n/Form.php @@ -86,7 +86,6 @@ class CRM_Core_I18n_Form extends CRM_Core_Form { * * @return array * reference to the array of default values - * */ public function setDefaultValues() { return $this->_defaults; diff --git a/CRM/Core/IDS.php b/CRM/Core/IDS.php index b71c771a43..df9bf7d397 100644 --- a/CRM/Core/IDS.php +++ b/CRM/Core/IDS.php @@ -242,8 +242,6 @@ class CRM_Core_IDS { /** * //todo - * - * */ private function warn($result) { return $result; @@ -251,8 +249,6 @@ class CRM_Core_IDS { /** * //todo - * - * */ private function kick($result) { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Core/JobManager.php b/CRM/Core/JobManager.php index a7cdfa88b4..e9755e071f 100644 --- a/CRM/Core/JobManager.php +++ b/CRM/Core/JobManager.php @@ -55,10 +55,8 @@ class CRM_Core_JobManager { * Class constructor * * @param void - * */ /** - * */ public function __construct() { $config = CRM_Core_Config::singleton(); @@ -70,7 +68,6 @@ class CRM_Core_JobManager { /* * * @param void - * */ /** * @param bool $auth @@ -100,7 +97,6 @@ class CRM_Core_JobManager { * Class destructor * * @param void - * */ public function __destruct() {} @@ -155,7 +151,6 @@ class CRM_Core_JobManager { * @param void * @return array * ($id => CRM_Core_ScheduledJob) - * */ /** * @return array @@ -179,7 +174,6 @@ class CRM_Core_JobManager { * and creates ScheduledJob object. * * @param void - * */ /** * @param int $id @@ -221,7 +215,6 @@ class CRM_Core_JobManager { /* * * @return array|null collection of permissions, null if none - * */ /** * @param $message diff --git a/CRM/Core/Menu.php b/CRM/Core/Menu.php index 0ef616d720..1ca3cfa431 100644 --- a/CRM/Core/Menu.php +++ b/CRM/Core/Menu.php @@ -243,7 +243,6 @@ class CRM_Core_Menu { * 2. Compute local tasks value if any * 3. Propagate access argument, access callback, page callback to the menu item * 4. Build the global navigation block - * */ public static function build(&$menu) { foreach ($menu as $path => $menuItems) { diff --git a/CRM/Core/OptionGroup.php b/CRM/Core/OptionGroup.php index 5969ae0802..0a268cb7de 100644 --- a/CRM/Core/OptionGroup.php +++ b/CRM/Core/OptionGroup.php @@ -39,7 +39,6 @@ class CRM_Core_OptionGroup { /* * $_domainIDGroups array maintains the list of option groups for whom * domainID is to be considered. - * */ static $_domainIDGroups = array( 'from_email_address', diff --git a/CRM/Core/Page.php b/CRM/Core/Page.php index 8bccb11369..5045352543 100644 --- a/CRM/Core/Page.php +++ b/CRM/Core/Page.php @@ -252,7 +252,6 @@ class CRM_Core_Page { * * * @return void - * */ public function set($name, $value = NULL) { self::$_session->set($name, $value, $this->_name); @@ -265,7 +264,6 @@ class CRM_Core_Page { * * * @return mixed - * */ public function get($name) { return self::$_session->get($name, $this->_name); diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index 9a9961a383..d9550928d8 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -54,7 +54,6 @@ abstract class CRM_Core_Payment { * direct debit * or both * @todo create option group - nb omnipay uses a 3rd type - transparent redirect cc - * */ const PAYMENT_TYPE_CREDIT_CARD = 1, @@ -63,7 +62,6 @@ abstract class CRM_Core_Payment { /** * Subscription / Recurring payment Status * START, END - * */ const RECURRING_PAYMENT_START = 'START', @@ -178,7 +176,6 @@ abstract class CRM_Core_Payment { * Setter for the payment form that wants to use the processor * @deprecated * @param CRM_Core_Form $paymentForm - * */ public function setForm(&$paymentForm) { $this->_paymentForm = $paymentForm; diff --git a/CRM/Core/Payment/Google.php b/CRM/Core/Payment/Google.php index 0835a4be7b..e16428036e 100644 --- a/CRM/Core/Payment/Google.php +++ b/CRM/Core/Payment/Google.php @@ -201,7 +201,6 @@ class CRM_Core_Payment_Google extends CRM_Core_Payment { * Object of googel cart. * * @return void - * */ public function submitPostParams($params, $component, $cart) { $url = rtrim($this->_paymentProcessor['url_site'], '/') . '/cws/v2/Merchant/' . $this->_paymentProcessor['user_name'] . '/checkout'; diff --git a/CRM/Core/Payment/GoogleIPN.php b/CRM/Core/Payment/GoogleIPN.php index 2d2a59ef22..8d12bdc93f 100644 --- a/CRM/Core/Payment/GoogleIPN.php +++ b/CRM/Core/Payment/GoogleIPN.php @@ -518,7 +518,6 @@ WHERE contribution_recur_id = {$ids['contributionRecur']} /** * This method is handles the response that will be invoked (from extern/googleNotify) every time * a notification or request is sent by the Google Server. - * */ public static function main($xml_response) { require_once 'Google/library/googleresponse.php'; diff --git a/CRM/Core/Payment/PayflowPro.php b/CRM/Core/Payment/PayflowPro.php index b4ae921d6c..2f5a159723 100644 --- a/CRM/Core/Payment/PayflowPro.php +++ b/CRM/Core/Payment/PayflowPro.php @@ -407,7 +407,6 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment { * The mode we are operating in (live or test) - not used. * * returns string $errorMsg if any errors found - null if OK - * */ // function checkConfig( $mode ) // CiviCRM V1.9 Declaration @@ -461,7 +460,6 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment { * Submit transaction using CuRL * @submiturl string Url to direct HTTPS GET to * @payflow_query value string to be posted - * */ /** * @param $submiturl diff --git a/CRM/Core/Payment/Realex.php b/CRM/Core/Payment/Realex.php index 06186d5ec0..5708060918 100644 --- a/CRM/Core/Payment/Realex.php +++ b/CRM/Core/Payment/Realex.php @@ -29,7 +29,6 @@ * Licensed to CiviCRM under the Academic Free License version 3.0. * * Written and contributed by Kirkdesigns (http://www.kirkdesigns.co.uk) - * */ /** diff --git a/CRM/Core/Permission/DrupalBase.php b/CRM/Core/Permission/DrupalBase.php index 7d0e9c2971..f479f5187a 100644 --- a/CRM/Core/Permission/DrupalBase.php +++ b/CRM/Core/Permission/DrupalBase.php @@ -261,7 +261,6 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base { * * @return boolean * true if yes, else false - * */ public function checkGroupRole($array) { if (function_exists('user_load') && isset($array)) { @@ -322,7 +321,6 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base { /** * {@inheritdoc} - * */ public function upgradePermissions($permissions) { if (empty($permissions)) { diff --git a/CRM/Core/PseudoConstant.php b/CRM/Core/PseudoConstant.php index b4a96af61b..2afe385da2 100644 --- a/CRM/Core/PseudoConstant.php +++ b/CRM/Core/PseudoConstant.php @@ -1775,7 +1775,6 @@ WHERE id = %1 * * @return array * array reference of default greetings. - * */ public static function &greetingDefaults() { if (!self::$greetingDefaults) { diff --git a/CRM/Core/Selector/API.php b/CRM/Core/Selector/API.php index 2ffc53a216..0d48abc5f5 100644 --- a/CRM/Core/Selector/API.php +++ b/CRM/Core/Selector/API.php @@ -55,8 +55,6 @@ interface CRM_Core_Selector_API { * @param array params the array that the pagerParams will be inserted into * * @return void - * - * */ public function getPagerParams($action, &$params); @@ -67,7 +65,6 @@ interface CRM_Core_Selector_API { * * @return array * the elements that can be sorted along with their properties - * */ public function &getSortOrder($action); @@ -92,8 +89,6 @@ interface CRM_Core_Selector_API { * * @return int * the total number of rows for this action - * - * */ public function getTotalCount($action); @@ -123,7 +118,6 @@ interface CRM_Core_Selector_API { * The action being performed. * * @return string - * */ public function getTemplateFileName($action = NULL); @@ -135,7 +129,6 @@ interface CRM_Core_Selector_API { * @return string * the fileName which we will munge to skip spaces and * special characters to avoid various browser issues - * */ public function getExportFileName($type = 'csv'); } diff --git a/CRM/Core/Selector/Base.php b/CRM/Core/Selector/Base.php index 36fa9fa600..8f1ec0a27c 100644 --- a/CRM/Core/Selector/Base.php +++ b/CRM/Core/Selector/Base.php @@ -68,8 +68,6 @@ class CRM_Core_Selector_Base { * * @return string * the attribute that matches the action if any - * - * */ public function getActionAttribute($match, $attribute = 'name') { $links = &$this->links(); diff --git a/CRM/Core/Selector/Controller.php b/CRM/Core/Selector/Controller.php index 74cccbff10..cc2c5d48e1 100644 --- a/CRM/Core/Selector/Controller.php +++ b/CRM/Core/Selector/Controller.php @@ -300,7 +300,6 @@ class CRM_Core_Selector_Controller { * * * @return void - * */ public function run() { diff --git a/CRM/Core/Session.php b/CRM/Core/Session.php index c84983e2c2..0c9133346f 100644 --- a/CRM/Core/Session.php +++ b/CRM/Core/Session.php @@ -232,7 +232,6 @@ class CRM_Core_Session { * A string to prefix the keys in the session with. * * @return void - * */ public function set($name, $value = NULL, $prefix = NULL) { // create session scope @@ -268,7 +267,6 @@ class CRM_Core_Session { * : adds another level of scope to the session. * * @return mixed - * */ public function get($name, $prefix = NULL) { // create session scope @@ -302,7 +300,6 @@ class CRM_Core_Session { * Will be stripped from the key before putting it in the return. * * @return void - * */ public function getVars(&$vars, $prefix = '') { // create session scope @@ -335,7 +332,6 @@ class CRM_Core_Session { * : expiry time (in seconds). * * @return mixed - * */ public function timer($name, $expire) { $ts = $this->get($name, 'timer'); @@ -355,8 +351,6 @@ class CRM_Core_Session { * Should we do a dupe checking with the top element. * * @return void - * - * */ public function pushUserContext($userContext, $check = TRUE) { if (empty($userContext)) { @@ -394,8 +388,6 @@ class CRM_Core_Session { * The url to return to when done. * * @return void - * - * */ public function replaceUserContext($userContext) { if (empty($userContext)) { @@ -413,7 +405,6 @@ class CRM_Core_Session { * * @return string * the top of the userContext stack (also pops the top element) - * */ public function popUserContext() { $this->createScope(self::USER_CONTEXT); @@ -426,7 +417,6 @@ class CRM_Core_Session { * * @return string * the top of the userContext stack - * */ public function readUserContext() { $this->createScope(self::USER_CONTEXT); diff --git a/CRM/Custom/Page/Group.php b/CRM/Custom/Page/Group.php index 6f777d9d70..2737323aa3 100644 --- a/CRM/Custom/Page/Group.php +++ b/CRM/Custom/Page/Group.php @@ -111,7 +111,6 @@ class CRM_Custom_Page_Group extends CRM_Core_Page { * @param null * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Dashlet/Page/Activity.php b/CRM/Dashlet/Page/Activity.php index edeebd4791..fb997ed76b 100644 --- a/CRM/Dashlet/Page/Activity.php +++ b/CRM/Dashlet/Page/Activity.php @@ -43,7 +43,6 @@ class CRM_Dashlet_Page_Activity extends CRM_Core_Page { * List activities as dashlet * * @return void - * */ public function run() { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Dashlet/Page/AllCases.php b/CRM/Dashlet/Page/AllCases.php index 94be3d9c6b..5e0f90f9ac 100644 --- a/CRM/Dashlet/Page/AllCases.php +++ b/CRM/Dashlet/Page/AllCases.php @@ -43,7 +43,6 @@ class CRM_Dashlet_Page_AllCases extends CRM_Core_Page { * List activities as dashlet * * @return void - * */ public function run() { $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'dashlet'); diff --git a/CRM/Dashlet/Page/Blog.php b/CRM/Dashlet/Page/Blog.php index c4bc03a89c..be8b462feb 100644 --- a/CRM/Dashlet/Page/Blog.php +++ b/CRM/Dashlet/Page/Blog.php @@ -59,7 +59,6 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page { /** * List blog articles as dashlet - * */ public function run() { $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'dashlet'); @@ -75,7 +74,6 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page { * Refresh cache if expired * * @return array - * */ private function _getBlog() { // Fetch data from cache @@ -103,7 +101,6 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page { * @param $url * * @return array|NULL array of blog items; or NULL if not available - * */ public function _getFeed($url) { $httpClient = new CRM_Utils_HttpClient(self::CHECK_TIMEOUT); diff --git a/CRM/Dashlet/Page/CaseDashboard.php b/CRM/Dashlet/Page/CaseDashboard.php index 048eba8a8f..16d78b4eb4 100644 --- a/CRM/Dashlet/Page/CaseDashboard.php +++ b/CRM/Dashlet/Page/CaseDashboard.php @@ -43,7 +43,6 @@ class CRM_Dashlet_Page_CaseDashboard extends CRM_Core_Page { * Case dashboard as dashlet * * @return void - * */ public function run() { diff --git a/CRM/Dashlet/Page/MyCases.php b/CRM/Dashlet/Page/MyCases.php index 326c7f70d7..284cc2b854 100644 --- a/CRM/Dashlet/Page/MyCases.php +++ b/CRM/Dashlet/Page/MyCases.php @@ -43,7 +43,6 @@ class CRM_Dashlet_Page_MyCases extends CRM_Core_Page { * List activities as dashlet * * @return void - * */ public function run() { $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'dashlet'); diff --git a/CRM/Dedupe/BAO/RuleGroup.php b/CRM/Dedupe/BAO/RuleGroup.php index 035844f73c..744e118c6a 100644 --- a/CRM/Dedupe/BAO/RuleGroup.php +++ b/CRM/Dedupe/BAO/RuleGroup.php @@ -339,7 +339,6 @@ class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_DAO_RuleGroup { * default is to always check permissioning but public pages for example might not want * permission to be checked for anonymous users. Refer CRM-6211. We might be beaking * Multi-Site dedupe for public pages. - * */ public function thresholdQuery($checkPermission = TRUE) { $this->_aclFrom = ''; diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index f04953b2a6..8bbb8c8282 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -126,7 +126,6 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { * * @return object * @static - * */ public static function create(&$params) { $transaction = new CRM_Core_Transaction(); @@ -185,7 +184,6 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { * * @return mixed|null * @static - * */ public static function del($id) { if (!$id) { diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index 941740fa8a..ca1a28299d 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -68,7 +68,6 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant { ); /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Event/Badge.php b/CRM/Event/Badge.php index 0b9b59b21c..5baee3d5a4 100644 --- a/CRM/Event/Badge.php +++ b/CRM/Event/Badge.php @@ -44,7 +44,6 @@ */ class CRM_Event_Badge { /** - * */ public function __construct() { $this->style = array('width' => 0.1, 'cap' => 'round', 'join' => 'round', 'dash' => '2,2', 'color' => array(0, 0, 200)); diff --git a/CRM/Event/Badge/Logo.php b/CRM/Event/Badge/Logo.php index dbc170172f..575631f22f 100644 --- a/CRM/Event/Badge/Logo.php +++ b/CRM/Event/Badge/Logo.php @@ -5,7 +5,6 @@ */ class CRM_Event_Badge_Logo extends CRM_Event_Badge { /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Event/Badge/Logo5395.php b/CRM/Event/Badge/Logo5395.php index 5f6ff40942..9fb927d4d9 100644 --- a/CRM/Event/Badge/Logo5395.php +++ b/CRM/Event/Badge/Logo5395.php @@ -5,7 +5,6 @@ */ class CRM_Event_Badge_Logo5395 extends CRM_Event_Badge { /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Event/Badge/NameTent.php b/CRM/Event/Badge/NameTent.php index a701ae9ece..6345be427c 100644 --- a/CRM/Event/Badge/NameTent.php +++ b/CRM/Event/Badge/NameTent.php @@ -39,7 +39,6 @@ */ class CRM_Event_Badge_NameTent extends CRM_Event_Badge { /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Event/Cart/BAO/EventInCart.php b/CRM/Event/Cart/BAO/EventInCart.php index b786cbe20a..f1cbf8562a 100644 --- a/CRM/Event/Cart/BAO/EventInCart.php +++ b/CRM/Event/Cart/BAO/EventInCart.php @@ -11,7 +11,6 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl public $participants = array(); /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Event/Form/ManageEvent/Location.php b/CRM/Event/Form/ManageEvent/Location.php index a3cff722d2..ceb4cb239d 100644 --- a/CRM/Event/Form/ManageEvent/Location.php +++ b/CRM/Event/Form/ManageEvent/Location.php @@ -64,7 +64,6 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { /** * Get the db values for this form - * */ public $_values = array(); diff --git a/CRM/Event/Form/ManageEvent/Registration.php b/CRM/Event/Form/ManageEvent/Registration.php index a894ba77b5..010168182b 100644 --- a/CRM/Event/Form/ManageEvent/Registration.php +++ b/CRM/Event/Form/ManageEvent/Registration.php @@ -805,7 +805,6 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent /** * Add additional profiles from the form to an array of profile ids. - * */ public static function addMultipleProfiles(&$profileIds, $values, $field) { if ($multipleProfiles = CRM_Utils_Array::value($field, $values)) { diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 434cbd6d15..4a247eca19 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -863,7 +863,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment /** * Process the form submission - * */ public function postProcess() { // get the submitted form values. diff --git a/CRM/Event/Form/Registration/AdditionalParticipant.php b/CRM/Event/Form/Registration/AdditionalParticipant.php index 8f202f5c95..9b86dfcd3c 100644 --- a/CRM/Event/Form/Registration/AdditionalParticipant.php +++ b/CRM/Event/Form/Registration/AdditionalParticipant.php @@ -42,13 +42,11 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R /** * The defaults involved in this page - * */ public $_defaults = array(); /** * Pre-registered additional participant id. - * */ public $additionalParticipantId = NULL; diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index 32b5c0be30..0e28ad1809 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -42,19 +42,16 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { /** * The fields involved in this page - * */ public $_fields; /** * The defaults involved in this page - * */ public $_defaults; /** * The status message that user view. - * */ protected $_waitlistMsg = NULL; protected $_requireApprovalMsg = NULL; @@ -951,7 +948,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { /** * Check if profiles are complete when event registration occurs(CRM-9587) - * */ public static function checkProfileComplete($fields, &$errors, $eventId) { $email = ''; @@ -1218,7 +1214,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { * * @return void * access public - * */ /** * @param array $params diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index 95bab0c8df..3f6312759f 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -65,7 +65,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { /** * Prefix for the controller - * */ protected $_prefix = "event_"; diff --git a/CRM/Event/Form/Task/Batch.php b/CRM/Event/Form/Task/Batch.php index ceac39f145..50e93a14ff 100644 --- a/CRM/Event/Form/Task/Batch.php +++ b/CRM/Event/Form/Task/Batch.php @@ -47,19 +47,16 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { /** * Maximum profile fields that will be displayed - * */ protected $_maxFields = 9; /** * Variable to store redirect path - * */ protected $_userContext; /** * Variable to store previous status id. - * */ protected $_fromStatusIds; diff --git a/CRM/Event/Form/Task/Cancel.php b/CRM/Event/Form/Task/Cancel.php index 59e3a88bb2..a53ced764d 100644 --- a/CRM/Event/Form/Task/Cancel.php +++ b/CRM/Event/Form/Task/Cancel.php @@ -40,7 +40,6 @@ class CRM_Event_Form_Task_Cancel extends CRM_Event_Form_Task { /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Event/Form/Task/PickProfile.php b/CRM/Event/Form/Task/PickProfile.php index f66a7b2429..932b05b95c 100644 --- a/CRM/Event/Form/Task/PickProfile.php +++ b/CRM/Event/Form/Task/PickProfile.php @@ -47,13 +47,11 @@ class CRM_Event_Form_Task_PickProfile extends CRM_Event_Form_Task { /** * Maximum event participations that should be allowed to update - * */ protected $_maxParticipations = 100; /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Event/Page/DashBoard.php b/CRM/Event/Page/DashBoard.php index dbf6f27b27..c10d80bba0 100644 --- a/CRM/Event/Page/DashBoard.php +++ b/CRM/Event/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Event_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { CRM_Utils_System::setTitle(ts('CiviEvent')); diff --git a/CRM/Event/Page/EventInfo.php b/CRM/Event/Page/EventInfo.php index 37f9fd085e..72a73962e4 100644 --- a/CRM/Event/Page/EventInfo.php +++ b/CRM/Event/Page/EventInfo.php @@ -46,7 +46,6 @@ class CRM_Event_Page_EventInfo extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * */ public function run() { //get the event id. diff --git a/CRM/Event/Page/ManageEvent.php b/CRM/Event/Page/ManageEvent.php index afd1942865..82a5105208 100644 --- a/CRM/Event/Page/ManageEvent.php +++ b/CRM/Event/Page/ManageEvent.php @@ -188,7 +188,6 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Event/Selector/Search.php b/CRM/Event/Selector/Search.php index dfefd6f4d8..ea97eb5afb 100644 --- a/CRM/Event/Selector/Search.php +++ b/CRM/Event/Selector/Search.php @@ -199,7 +199,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * * @param int $limit * How many participations do we want returned. - * */ public function setLimit($limit) { $this->_limit = $limit; @@ -261,7 +260,6 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['status'] = ts('Event') . ' %%StatusMessage%%'; diff --git a/CRM/Event/StateMachine/Search.php b/CRM/Event/StateMachine/Search.php index 48f516cd47..ae055cc242 100644 --- a/CRM/Event/StateMachine/Search.php +++ b/CRM/Event/StateMachine/Search.php @@ -104,7 +104,6 @@ class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine { /** * Since this is a state machine for search and we want to come back to the same state * we dont want to issue a reset of the state session when we are done processing a task - * */ public function shouldReset() { return FALSE; diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index 8d3d513ef5..f7693dac62 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -1233,7 +1233,6 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c /** * Handle import error file creation. - * */ public static function invoke() { $type = CRM_Utils_Request::retrieve('type', 'Positive', CRM_Core_DAO::$_nullObject); @@ -1693,7 +1692,6 @@ WHERE id IN ( $deleteIDString ) * The function unsets static part of the string, if token is the dynamic part. * Example: 'Hello {contact.first_name}' => converted to => '{contact.first_name}' * i.e 'Hello Alan' => converted to => 'Alan' - * */ static function _trimNonTokens( &$parsedString, $defaultGreeting, @@ -1962,7 +1960,6 @@ LIMIT $offset, $limit /** * Manipulate header rows for relationship fields - * */ public static function manipulateHeaderRows(&$headerRows, $contactRelationshipTypes) { foreach ($headerRows as & $header) { @@ -1977,7 +1974,6 @@ LIMIT $offset, $limit /** * Exclude contacts who are deceased, have "Do not mail" privacy setting, * or have no street address - * */ public static function postalMailingFormat($exportTempTable, &$headerRows, &$sqlColumns, $exportParams) { $whereClause = array(); diff --git a/CRM/Export/Form/Select.php b/CRM/Export/Form/Select.php index e716a8be51..d71207aa35 100644 --- a/CRM/Export/Form/Select.php +++ b/CRM/Export/Form/Select.php @@ -449,7 +449,6 @@ FROM {$this->_componentTable} /** * Build mapping form element - * */ public function buildMapping() { switch ($this->_exportMode) { diff --git a/CRM/Extension/Manager/Report.php b/CRM/Extension/Manager/Report.php index 21f3f2f4f2..b1d9313a4c 100644 --- a/CRM/Extension/Manager/Report.php +++ b/CRM/Extension/Manager/Report.php @@ -36,12 +36,10 @@ class CRM_Extension_Manager_Report extends CRM_Extension_Manager_Base { /** - * */ const REPORT_GROUP_NAME = 'report_template'; /** - * */ public function __construct() { parent::__construct(TRUE); diff --git a/CRM/Extension/Manager/Search.php b/CRM/Extension/Manager/Search.php index 9c03fb52c8..311f57f1e9 100644 --- a/CRM/Extension/Manager/Search.php +++ b/CRM/Extension/Manager/Search.php @@ -36,12 +36,10 @@ class CRM_Extension_Manager_Search extends CRM_Extension_Manager_Base { /** - * */ const CUSTOM_SEARCH_GROUP_NAME = 'custom_search'; /** - * */ public function __construct() { parent::__construct(TRUE); diff --git a/CRM/Financial/BAO/ExportFormat/CSV.php b/CRM/Financial/BAO/ExportFormat/CSV.php index d9327ecd75..393c9a33f9 100644 --- a/CRM/Financial/BAO/ExportFormat/CSV.php +++ b/CRM/Financial/BAO/ExportFormat/CSV.php @@ -168,7 +168,6 @@ class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat * Generate CSV array for export * * @param array $export - * */ public function makeCSV($export) { foreach ($export as $batchId => $dao) { diff --git a/CRM/Financial/Page/AJAX.php b/CRM/Financial/Page/AJAX.php index d91d819b57..78e57f2b73 100644 --- a/CRM/Financial/Page/AJAX.php +++ b/CRM/Financial/Page/AJAX.php @@ -41,7 +41,6 @@ class CRM_Financial_Page_AJAX { /* * get financial accounts of required account relationship * $financialAccountType array with key account relationship and value financial account type option groups - * */ /** * @param $config diff --git a/CRM/Financial/Page/BatchTransaction.php b/CRM/Financial/Page/BatchTransaction.php index cb1afa1254..9b755a7e24 100644 --- a/CRM/Financial/Page/BatchTransaction.php +++ b/CRM/Financial/Page/BatchTransaction.php @@ -92,7 +92,6 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Financial/Page/FinancialAccount.php b/CRM/Financial/Page/FinancialAccount.php index 096ec2c582..85016d9dcd 100644 --- a/CRM/Financial/Page/FinancialAccount.php +++ b/CRM/Financial/Page/FinancialAccount.php @@ -101,7 +101,6 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Financial/Page/FinancialBatch.php b/CRM/Financial/Page/FinancialBatch.php index 48050b168c..69f16a72cd 100644 --- a/CRM/Financial/Page/FinancialBatch.php +++ b/CRM/Financial/Page/FinancialBatch.php @@ -77,7 +77,6 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { $context = CRM_Utils_Request::retrieve('context', 'String', $this); diff --git a/CRM/Financial/Page/FinancialType.php b/CRM/Financial/Page/FinancialType.php index 17884c3af1..3a9eff5642 100644 --- a/CRM/Financial/Page/FinancialType.php +++ b/CRM/Financial/Page/FinancialType.php @@ -107,7 +107,6 @@ class CRM_Financial_Page_FinancialType extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Financial/Page/FinancialTypeAccount.php b/CRM/Financial/Page/FinancialTypeAccount.php index 282a1708f2..b8d4ef4700 100644 --- a/CRM/Financial/Page/FinancialTypeAccount.php +++ b/CRM/Financial/Page/FinancialTypeAccount.php @@ -97,7 +97,6 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Friend/BAO/Friend.php b/CRM/Friend/BAO/Friend.php index 78ac9e23ea..f9141f7b38 100644 --- a/CRM/Friend/BAO/Friend.php +++ b/CRM/Friend/BAO/Friend.php @@ -39,7 +39,6 @@ */ class CRM_Friend_BAO_Friend extends CRM_Friend_DAO_Friend { /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Grant/BAO/Grant.php b/CRM/Grant/BAO/Grant.php index c7ed660303..4b5764d104 100644 --- a/CRM/Grant/BAO/Grant.php +++ b/CRM/Grant/BAO/Grant.php @@ -259,7 +259,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { * * @return object * @static - * */ public static function create(&$params, &$ids) { $transaction = new CRM_Core_Transaction(); @@ -338,7 +337,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { * * @return bool|mixed * @static - * */ public static function del($id) { CRM_Utils_Hook::pre('delete', 'Grant', $id, CRM_Core_DAO::$_nullArray); diff --git a/CRM/Grant/Form/Search.php b/CRM/Grant/Form/Search.php index 6932a8fbb1..83b163d68d 100644 --- a/CRM/Grant/Form/Search.php +++ b/CRM/Grant/Form/Search.php @@ -65,7 +65,6 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { /** * Prefix for the controller - * */ protected $_prefix = "grant_"; diff --git a/CRM/Grant/Page/DashBoard.php b/CRM/Grant/Page/DashBoard.php index c67e46bb08..d53f7c04cc 100644 --- a/CRM/Grant/Page/DashBoard.php +++ b/CRM/Grant/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Grant_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { $admin = CRM_Core_Permission::check('administer CiviCRM'); diff --git a/CRM/Grant/Selector/Search.php b/CRM/Grant/Selector/Search.php index 669ac6768e..09e9b67acf 100644 --- a/CRM/Grant/Selector/Search.php +++ b/CRM/Grant/Selector/Search.php @@ -225,7 +225,6 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['status'] = ts('Grant') . ' %%StatusMessage%%'; diff --git a/CRM/Import/DataSource.php b/CRM/Import/DataSource.php index f3b420b26e..35acb7a570 100644 --- a/CRM/Import/DataSource.php +++ b/CRM/Import/DataSource.php @@ -44,14 +44,11 @@ abstract class CRM_Import_DataSource { * * @return array * collection of info about this data source - * - * */ abstract public function getInfo(); /** * Set variables up before form is built - * */ abstract public function preProcess(&$form); @@ -69,7 +66,6 @@ abstract class CRM_Import_DataSource { /** * Process the form submission - * */ abstract public function postProcess(&$params, &$db, &$form); } diff --git a/CRM/Import/DataSource/CSV.php b/CRM/Import/DataSource/CSV.php index 3ebad91666..91e83aa5ee 100644 --- a/CRM/Import/DataSource/CSV.php +++ b/CRM/Import/DataSource/CSV.php @@ -41,8 +41,6 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource { * * @return array * collection of info about this data source - * - * */ public function getInfo() { return array('title' => ts('Comma-Separated Values (CSV)')); @@ -50,7 +48,6 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource { /** * Set variables up before form is built - * */ public function preProcess(&$form) { } @@ -84,7 +81,6 @@ class CRM_Import_DataSource_CSV extends CRM_Import_DataSource { /** * Process the form submission - * */ public function postProcess(&$params, &$db, &$form) { $file = $params['uploadFile']['name']; diff --git a/CRM/Import/DataSource/SQL.php b/CRM/Import/DataSource/SQL.php index 43abe5609a..a415c3872c 100644 --- a/CRM/Import/DataSource/SQL.php +++ b/CRM/Import/DataSource/SQL.php @@ -39,8 +39,6 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource { * * @return array * collection of info about this data source - * - * */ public function getInfo() { return array('title' => ts('SQL Query')); @@ -48,7 +46,6 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource { /** * Set variables up before form is built - * */ public function preProcess(&$form) { } @@ -92,7 +89,6 @@ class CRM_Import_DataSource_SQL extends CRM_Import_DataSource { /** * Process the form submission - * */ public function postProcess(&$params, &$db, &$form) { $importJob = new CRM_Contact_Import_ImportJob( diff --git a/CRM/Import/StateMachine.php b/CRM/Import/StateMachine.php index 881bb7c1dd..dbbd91b627 100644 --- a/CRM/Import/StateMachine.php +++ b/CRM/Import/StateMachine.php @@ -43,7 +43,6 @@ class CRM_Import_StateMachine extends CRM_Core_StateMachine { * * @param object $controller * @param \const|int $action - * */ public function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); diff --git a/CRM/Logging/ReportDetail.php b/CRM/Logging/ReportDetail.php index cc2f7ee7fa..91b1736c16 100644 --- a/CRM/Logging/ReportDetail.php +++ b/CRM/Logging/ReportDetail.php @@ -50,7 +50,6 @@ class CRM_Logging_ReportDetail extends CRM_Report_Form { protected $summary; /** - * */ public function __construct() { // don’t display the ‘Add these Contacts to Group’ button diff --git a/CRM/Logging/ReportSummary.php b/CRM/Logging/ReportSummary.php index 1f4f58424d..db82501a6a 100644 --- a/CRM/Logging/ReportSummary.php +++ b/CRM/Logging/ReportSummary.php @@ -40,7 +40,6 @@ class CRM_Logging_ReportSummary extends CRM_Report_Form { protected $loggingDB; /** - * */ public function __construct() { // don’t display the ‘Add these Contacts to Group’ button diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 7381ed024a..cb17d3bb80 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -1412,7 +1412,6 @@ ORDER BY civicrm_email.is_bulkmail DESC * * get mailing object and replaces subscribeInvite, * domain and mailing tokens - * */ public static function tokenReplace(&$mailing) { $domain = CRM_Core_BAO_Domain::getDomain(); @@ -1436,7 +1435,6 @@ ORDER BY civicrm_email.is_bulkmail DESC * * getTokenData receives a token from an email * and returns the appropriate data for the token - * */ private function getTokenData(&$token_a, $html = FALSE, &$contact, &$verp, &$urls, $event_queue_id) { $type = $token_a['type']; diff --git a/CRM/Mailing/Form/Browse.php b/CRM/Mailing/Form/Browse.php index 4593ead8eb..1bf8016eba 100644 --- a/CRM/Mailing/Form/Browse.php +++ b/CRM/Mailing/Form/Browse.php @@ -48,7 +48,6 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { $this->_mailingId = CRM_Utils_Request::retrieve('mid', 'Positive', $this); diff --git a/CRM/Mailing/Page/Browse.php b/CRM/Mailing/Page/Browse.php index c2b8ce7aff..be654cea04 100644 --- a/CRM/Mailing/Page/Browse.php +++ b/CRM/Mailing/Page/Browse.php @@ -81,7 +81,6 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { $this->_unscheduled = $this->_archived = $archiveLinks = FALSE; diff --git a/CRM/Mailing/Selector/Browse.php b/CRM/Mailing/Selector/Browse.php index c0c98b1bb4..44d3b49bda 100644 --- a/CRM/Mailing/Selector/Browse.php +++ b/CRM/Mailing/Selector/Browse.php @@ -70,7 +70,6 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_ * This method returns the links that are given for each search row. * * @return array - * */ public static function &links() { return self::$_links; @@ -81,7 +80,6 @@ class CRM_Mailing_Selector_Browse extends CRM_Core_Selector_Base implements CRM_ * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['csvString'] = NULL; diff --git a/CRM/Mailing/Selector/Event.php b/CRM/Mailing/Selector/Event.php index deb1889117..4a36c1cb26 100644 --- a/CRM/Mailing/Selector/Event.php +++ b/CRM/Mailing/Selector/Event.php @@ -121,7 +121,6 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['csvString'] = NULL; diff --git a/CRM/Mailing/Selector/Search.php b/CRM/Mailing/Selector/Search.php index f59b12a60c..d1d93befcf 100644 --- a/CRM/Mailing/Selector/Search.php +++ b/CRM/Mailing/Selector/Search.php @@ -191,7 +191,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ * - Edit * * @return array - * */ public static function &links() { if (!(self::$_links)) { @@ -228,7 +227,6 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_ * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['status'] = ts('Mailing Recipient') . ' %%StatusMessage%%'; diff --git a/CRM/Member/BAO/Membership.php b/CRM/Member/BAO/Membership.php index f71013600f..7e39c076a2 100644 --- a/CRM/Member/BAO/Membership.php +++ b/CRM/Member/BAO/Membership.php @@ -52,7 +52,6 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership { * @return \CRM_Member_DAO_Membership */ /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Member/Form/MembershipView.php b/CRM/Member/Form/MembershipView.php index 1478b49d88..94b9cca7c6 100644 --- a/CRM/Member/Form/MembershipView.php +++ b/CRM/Member/Form/MembershipView.php @@ -95,7 +95,6 @@ class CRM_Member_Form_MembershipView extends CRM_Core_Form { * Create or delete. * @param array $owner * Primary membership info (membership_id, contact_id, membership_type ...). - * */ public function relAction($action, $owner) { switch ($action) { diff --git a/CRM/Member/Form/Search.php b/CRM/Member/Form/Search.php index fd8f755c42..6effb09b56 100644 --- a/CRM/Member/Form/Search.php +++ b/CRM/Member/Form/Search.php @@ -67,7 +67,6 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search { /** * Prefix for the controller - * */ protected $_prefix = "member_"; diff --git a/CRM/Member/Form/Task/Batch.php b/CRM/Member/Form/Task/Batch.php index ea61ee9148..ce1a96102a 100644 --- a/CRM/Member/Form/Task/Batch.php +++ b/CRM/Member/Form/Task/Batch.php @@ -47,13 +47,11 @@ class CRM_Member_Form_Task_Batch extends CRM_Member_Form_Task { /** * Maximum profile fields that will be displayed - * */ protected $_maxFields = 9; /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Member/Form/Task/PickProfile.php b/CRM/Member/Form/Task/PickProfile.php index b8191bdee5..5286f67049 100644 --- a/CRM/Member/Form/Task/PickProfile.php +++ b/CRM/Member/Form/Task/PickProfile.php @@ -47,13 +47,11 @@ class CRM_Member_Form_Task_PickProfile extends CRM_Member_Form_Task { /** * Maximum members that should be allowed to update - * */ protected $_maxMembers = 100; /** * Variable to store redirect path - * */ protected $_userContext; diff --git a/CRM/Member/Import/Parser/Membership.php b/CRM/Member/Import/Parser/Membership.php index 224c88c760..c55de5a87d 100644 --- a/CRM/Member/Import/Parser/Membership.php +++ b/CRM/Member/Import/Parser/Membership.php @@ -596,7 +596,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser { * * @return Array * formatted containing date values - * */ public function formattedDates($calcDates, &$formatted) { $dates = array( diff --git a/CRM/Member/Info.php b/CRM/Member/Info.php index 3dd121129a..2e3e5c31fc 100644 --- a/CRM/Member/Info.php +++ b/CRM/Member/Info.php @@ -48,7 +48,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * * @return array * collection of required component settings - * */ /** * @return array @@ -97,7 +96,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ /** * @return array|null @@ -121,7 +119,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ /** * @return array|null @@ -141,7 +138,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * */ /** * @return array|null @@ -161,7 +157,6 @@ class CRM_Member_Info extends CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * */ /** * @return array|null diff --git a/CRM/Member/Page/DashBoard.php b/CRM/Member/Page/DashBoard.php index 4f6c81b7d1..9981175ef6 100644 --- a/CRM/Member/Page/DashBoard.php +++ b/CRM/Member/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Member_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { diff --git a/CRM/Member/Page/MembershipStatus.php b/CRM/Member/Page/MembershipStatus.php index 9d0e517669..5246526ee1 100644 --- a/CRM/Member/Page/MembershipStatus.php +++ b/CRM/Member/Page/MembershipStatus.php @@ -102,7 +102,6 @@ class CRM_Member_Page_MembershipStatus extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Member/Page/MembershipType.php b/CRM/Member/Page/MembershipType.php index 7c654505e2..7f8a6336b0 100644 --- a/CRM/Member/Page/MembershipType.php +++ b/CRM/Member/Page/MembershipType.php @@ -92,7 +92,6 @@ class CRM_Member_Page_MembershipType extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * */ public function run() { $this->browse(); diff --git a/CRM/Member/StateMachine/Search.php b/CRM/Member/StateMachine/Search.php index 7fc2a5ab6b..c3f8ce5e0e 100644 --- a/CRM/Member/StateMachine/Search.php +++ b/CRM/Member/StateMachine/Search.php @@ -102,7 +102,6 @@ class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine { /** * Since this is a state machine for search and we want to come back to the same state * we dont want to issue a reset of the state session when we are done processing a task - * */ public function shouldReset() { return FALSE; diff --git a/CRM/PCP/BAO/PCP.php b/CRM/PCP/BAO/PCP.php index faa031215f..fbae546a15 100644 --- a/CRM/PCP/BAO/PCP.php +++ b/CRM/PCP/BAO/PCP.php @@ -43,7 +43,6 @@ class CRM_PCP_BAO_PCP extends CRM_PCP_DAO_PCP { static $_pcpLinks = NULL; /** - * */ public function __construct() { parent::__construct(); @@ -358,7 +357,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * * @return null * @static - * */ public static function deleteById($id) { CRM_Utils_Hook::pre('delete', 'Campaign', $id, CRM_Core_DAO::$_nullArray); @@ -795,7 +793,6 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * * @return Boolean * @static - * */ public static function getPcpBlockInUse($id) { $query = " diff --git a/CRM/PCP/Form/PCPAccount.php b/CRM/PCP/Form/PCPAccount.php index 091c5babbc..a7f7c354d7 100644 --- a/CRM/PCP/Form/PCPAccount.php +++ b/CRM/PCP/Form/PCPAccount.php @@ -41,7 +41,6 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form { /** * Variable defined for Contribution Page Id - * */ public $_pageId = NULL; diff --git a/CRM/PCP/Page/PCPInfo.php b/CRM/PCP/Page/PCPInfo.php index 6e9f9cd38e..39a5ef1c10 100644 --- a/CRM/PCP/Page/PCPInfo.php +++ b/CRM/PCP/Page/PCPInfo.php @@ -47,7 +47,6 @@ class CRM_PCP_Page_PCPInfo extends CRM_Core_Page { * Finally it calls the parent's run method. * * @return void - * */ public function run() { $session = CRM_Core_Session::singleton(); diff --git a/CRM/Pledge/BAO/Pledge.php b/CRM/Pledge/BAO/Pledge.php index c095e3b355..bde6c1610b 100644 --- a/CRM/Pledge/BAO/Pledge.php +++ b/CRM/Pledge/BAO/Pledge.php @@ -263,7 +263,6 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge { * * @return mixed * @static - * */ public static function deletePledge($id) { CRM_Utils_Hook::pre('delete', 'Pledge', $id, CRM_Core_DAO::$_nullArray); @@ -501,7 +500,6 @@ GROUP BY currency * An assoc array of name/value pairs. * * @return void - * */ public static function sendAcknowledgment(&$form, $params) { //handle Acknowledgment. diff --git a/CRM/Pledge/BAO/PledgePayment.php b/CRM/Pledge/BAO/PledgePayment.php index a591549ed9..c84430af2f 100644 --- a/CRM/Pledge/BAO/PledgePayment.php +++ b/CRM/Pledge/BAO/PledgePayment.php @@ -261,7 +261,6 @@ WHERE pledge_id = %1 * * @return bool * @static - * */ public static function deletePayments($id) { if (!CRM_Utils_Rule::positiveInteger($id)) { @@ -565,7 +564,6 @@ WHERE civicrm_pledge.id = %2 * be equal to basePaymentDate normalised to fit the 'pledge pattern' + number of installments * * @return formatted date - * */ public static function calculateNextScheduledDate(&$params, $paymentNo, $basePaymentDate = NULL) { if (!$basePaymentDate) { diff --git a/CRM/Pledge/Form/Search.php b/CRM/Pledge/Form/Search.php index 852234ae08..aab523ec5f 100644 --- a/CRM/Pledge/Form/Search.php +++ b/CRM/Pledge/Form/Search.php @@ -61,7 +61,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search { /** * Prefix for the controller - * */ protected $_prefix = "pledge_"; diff --git a/CRM/Pledge/Info.php b/CRM/Pledge/Info.php index d8811484b4..d7e3beab41 100644 --- a/CRM/Pledge/Info.php +++ b/CRM/Pledge/Info.php @@ -92,7 +92,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ /** * @return array|null @@ -114,7 +113,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ /** * @return array|null @@ -134,7 +132,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * */ /** * @return array|null @@ -154,7 +151,6 @@ class CRM_Pledge_Info extends CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * */ /** * @return array|null diff --git a/CRM/Pledge/Page/DashBoard.php b/CRM/Pledge/Page/DashBoard.php index 46f5e6f3b9..49573392a7 100644 --- a/CRM/Pledge/Page/DashBoard.php +++ b/CRM/Pledge/Page/DashBoard.php @@ -43,7 +43,6 @@ class CRM_Pledge_Page_DashBoard extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { CRM_Utils_System::setTitle(ts('CiviPledge')); diff --git a/CRM/Pledge/Selector/Search.php b/CRM/Pledge/Selector/Search.php index c061f1b3b3..1f867ceb8d 100644 --- a/CRM/Pledge/Selector/Search.php +++ b/CRM/Pledge/Selector/Search.php @@ -186,7 +186,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { * - Edit * * @return array - * */ public static function &links() { $args = func_get_args(); @@ -236,7 +235,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $params['status'] = ts('Pledge') . ' %%StatusMessage%%'; diff --git a/CRM/Pledge/StateMachine/Search.php b/CRM/Pledge/StateMachine/Search.php index 09b120d805..52c31332bd 100644 --- a/CRM/Pledge/StateMachine/Search.php +++ b/CRM/Pledge/StateMachine/Search.php @@ -104,7 +104,6 @@ class CRM_Pledge_StateMachine_Search extends CRM_Core_StateMachine { /** * Since this is a state machine for search and we want to come back to the same state * we dont want to issue a reset of the state session when we are done processing a task - * */ public function shouldReset() { return FALSE; diff --git a/CRM/Price/BAO/PriceField.php b/CRM/Price/BAO/PriceField.php index de0c471419..595f84ca51 100644 --- a/CRM/Price/BAO/PriceField.php +++ b/CRM/Price/BAO/PriceField.php @@ -218,7 +218,6 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { * name * * @static - * */ public static function getTitle($id) { return CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceField', $id, 'label'); @@ -634,7 +633,6 @@ WHERE * @return boolean * * @static - * */ public static function deleteField($id) { $field = new CRM_Price_DAO_PriceField(); @@ -786,7 +784,6 @@ WHERE id IN (" . implode(',', array_keys($priceFields)) . ')'; * tax label for custom field * * @static - * */ public static function getTaxLabel($opt, $valueFieldName, $displayOpt, $taxTerm) { if ($displayOpt == 'Do_not_show') { diff --git a/CRM/Price/BAO/PriceFieldValue.php b/CRM/Price/BAO/PriceFieldValue.php index 0c933dd741..2c26b8b448 100644 --- a/CRM/Price/BAO/PriceFieldValue.php +++ b/CRM/Price/BAO/PriceFieldValue.php @@ -181,7 +181,6 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { * name * * @static - * */ public static function getOptionLabel($id) { return CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceFieldValue', $id, 'label'); diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index e5f96fe684..c6d0c1668e 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -120,7 +120,6 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet { * default price set * * @static - * */ public static function getDefaultPriceSet($entity = 'contribution') { if (!empty(self::$_defaultPriceSet[$entity])) { @@ -167,7 +166,6 @@ WHERE ps.name = '{$entityName}' * title * * @static - * */ public static function getTitle($id) { return CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', $id, 'title'); @@ -1336,7 +1334,6 @@ GROUP BY mt.member_of_contact_id"; * user to select both auto-renew and non-auto-renew memberships * * @static - * */ public static function checkMembershipPriceSet($id) { $query = @@ -1422,8 +1419,6 @@ WHERE ps.id = %1 /* * Function to set tax_amount and tax_rate in LineItem - * - * */ public static function setLineItem($field, $lineItem, $optionValueId) { if ($field['html_type'] == 'Text') { diff --git a/CRM/Price/Page/Set.php b/CRM/Price/Page/Set.php index 99fb264c4b..a5963aa6c5 100644 --- a/CRM/Price/Page/Set.php +++ b/CRM/Price/Page/Set.php @@ -122,7 +122,6 @@ class CRM_Price_Page_Set extends CRM_Core_Page { * @param null * * @return void - * */ public function run() { // get the requested action diff --git a/CRM/Profile/Form.php b/CRM/Profile/Form.php index 87fe91307b..5533c3d691 100644 --- a/CRM/Profile/Form.php +++ b/CRM/Profile/Form.php @@ -184,7 +184,6 @@ class CRM_Profile_Form extends CRM_Core_Form { * @param * * @return void - * */ public function preProcess() { $this->_id = $this->get('id'); diff --git a/CRM/Profile/Form/Dynamic.php b/CRM/Profile/Form/Dynamic.php index eb99256d9c..441fb3d3a8 100644 --- a/CRM/Profile/Form/Dynamic.php +++ b/CRM/Profile/Form/Dynamic.php @@ -49,8 +49,6 @@ class CRM_Profile_Form_Dynamic extends CRM_Profile_Form { * @param * * @return void - * - * */ public function preProcess() { if ($this->get('register')) { diff --git a/CRM/Profile/Form/Edit.php b/CRM/Profile/Form/Edit.php index 43f721b309..5f9cf1cfe4 100644 --- a/CRM/Profile/Form/Edit.php +++ b/CRM/Profile/Form/Edit.php @@ -55,8 +55,6 @@ class CRM_Profile_Form_Edit extends CRM_Profile_Form { * @param * * @return void - * - * */ public function preProcess() { $this->_mode = CRM_Profile_Form::MODE_CREATE; diff --git a/CRM/Profile/Form/Search.php b/CRM/Profile/Form/Search.php index 772e579d47..dad1aa5188 100644 --- a/CRM/Profile/Form/Search.php +++ b/CRM/Profile/Form/Search.php @@ -49,8 +49,6 @@ class CRM_Profile_Form_Search extends CRM_Profile_Form { * @param * * @return void - * - * */ public function preProcess() { $this->_mode = CRM_Profile_Form::MODE_SEARCH; diff --git a/CRM/Profile/Page/Dynamic.php b/CRM/Profile/Page/Dynamic.php index d37a3a266e..d2b79d9f6f 100644 --- a/CRM/Profile/Page/Dynamic.php +++ b/CRM/Profile/Page/Dynamic.php @@ -166,7 +166,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * Get the action links for this page. * * @return array - * */ public function &actionLinks() { return NULL; @@ -179,7 +178,6 @@ class CRM_Profile_Page_Dynamic extends CRM_Core_Page { * type of action and executes that action. * * @return void - * */ public function run() { $template = CRM_Core_Smarty::singleton(); diff --git a/CRM/Profile/Page/Listings.php b/CRM/Profile/Page/Listings.php index b56a54c8d0..afe07f12c9 100644 --- a/CRM/Profile/Page/Listings.php +++ b/CRM/Profile/Page/Listings.php @@ -94,7 +94,6 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { * the selector object to do a query * * @return void - * */ public function preProcess() { diff --git a/CRM/Profile/Page/MultipleRecordFieldsListing.php b/CRM/Profile/Page/MultipleRecordFieldsListing.php index 4ad7933086..b925a0f17f 100644 --- a/CRM/Profile/Page/MultipleRecordFieldsListing.php +++ b/CRM/Profile/Page/MultipleRecordFieldsListing.php @@ -139,7 +139,6 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic { * method. * * @return void - * */ public function run() { // get the requested action, default to 'browse' diff --git a/CRM/Profile/Page/View.php b/CRM/Profile/Page/View.php index f0c4fb2f04..14709c61ba 100644 --- a/CRM/Profile/Page/View.php +++ b/CRM/Profile/Page/View.php @@ -58,7 +58,6 @@ class CRM_Profile_Page_View extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. * * @return void - * */ public function preProcess() { $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', @@ -166,7 +165,6 @@ class CRM_Profile_Page_View extends CRM_Core_Page { * Build the outcome basing on the CRM_Profile_Page_Dynamic's HTML * * @return void - * */ public function run() { $this->preProcess(); diff --git a/CRM/Profile/Selector/Listings.php b/CRM/Profile/Selector/Listings.php index 26f81509f8..1d8cbffcdd 100644 --- a/CRM/Profile/Selector/Listings.php +++ b/CRM/Profile/Selector/Listings.php @@ -275,7 +275,6 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR * * @param $action * @param array $params - * */ public function getPagerParams($action, &$params) { $status = diff --git a/CRM/Queue/Service.php b/CRM/Queue/Service.php index f0c1ba29b6..091c1fc8b3 100644 --- a/CRM/Queue/Service.php +++ b/CRM/Queue/Service.php @@ -75,7 +75,6 @@ class CRM_Queue_Service { public $queues; /** - * */ public function __construct() { $this->queues = array(); diff --git a/CRM/Report/BAO/Hook.php b/CRM/Report/BAO/Hook.php index e5fb62841a..338e5d1b25 100644 --- a/CRM/Report/BAO/Hook.php +++ b/CRM/Report/BAO/Hook.php @@ -49,7 +49,6 @@ class CRM_Report_BAO_Hook { * * @return object * @static - * */ public static function singleton() { static $singleton = NULL; diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 1d58bad427..0e1b048482 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -143,13 +143,11 @@ class CRM_Report_Form extends CRM_Core_Form { /** * Build tags filter - * */ protected $_tagFilter = FALSE; /** * Build groups filter - * */ protected $_groupFilter = FALSE; @@ -298,7 +296,6 @@ class CRM_Report_Form extends CRM_Core_Form { protected $_currencyColumn = NULL; /** - * */ public function __construct() { parent::__construct(); @@ -2935,7 +2932,6 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND /* * Get Template file name - use default form template if a specific one has not been set up for this report - * */ /** * Use the form name to create the tpl file name diff --git a/CRM/Report/Form/Activity.php b/CRM/Report/Form/Activity.php index 4237e76d58..c1c7a09b35 100644 --- a/CRM/Report/Form/Activity.php +++ b/CRM/Report/Form/Activity.php @@ -42,10 +42,8 @@ class CRM_Report_Form_Activity extends CRM_Report_Form { protected $_nonDisplayFields = array(); /** - * */ /** - * */ public function __construct() { // There could be multiple contacts. We not clear on which contact id to display. diff --git a/CRM/Report/Form/ActivitySummary.php b/CRM/Report/Form/ActivitySummary.php index 807d92d17e..35c3d859b0 100644 --- a/CRM/Report/Form/ActivitySummary.php +++ b/CRM/Report/Form/ActivitySummary.php @@ -39,10 +39,8 @@ class CRM_Report_Form_ActivitySummary extends CRM_Report_Form { protected $_phoneField = FALSE; /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Campaign/SurveyDetails.php b/CRM/Report/Form/Campaign/SurveyDetails.php index f5e0571de3..6ee444f9b9 100644 --- a/CRM/Report/Form/Campaign/SurveyDetails.php +++ b/CRM/Report/Form/Campaign/SurveyDetails.php @@ -54,10 +54,8 @@ class CRM_Report_Form_Campaign_SurveyDetails extends CRM_Report_Form { private static $_surveyRespondentStatus; /** - * */ /** - * */ public function __construct() { //filter options for survey activity status. diff --git a/CRM/Report/Form/Case/Demographics.php b/CRM/Report/Form/Case/Demographics.php index 2dd854bbdd..fe48fd4876 100644 --- a/CRM/Report/Form/Case/Demographics.php +++ b/CRM/Report/Form/Case/Demographics.php @@ -42,10 +42,8 @@ class CRM_Report_Form_Case_Demographics extends CRM_Report_Form { protected $_phoneField = FALSE; /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Case/Detail.php b/CRM/Report/Form/Case/Detail.php index 1ce27a138a..fd5d96f5f0 100644 --- a/CRM/Report/Form/Case/Detail.php +++ b/CRM/Report/Form/Case/Detail.php @@ -54,10 +54,8 @@ class CRM_Report_Form_Case_Detail extends CRM_Report_Form { protected $_caseDetailExtra = array(); /** - * */ /** - * */ public function __construct() { $this->case_statuses = CRM_Core_OptionGroup::values('case_status'); diff --git a/CRM/Report/Form/Case/Summary.php b/CRM/Report/Form/Case/Summary.php index 0d619b9c93..05cbc6c23d 100644 --- a/CRM/Report/Form/Case/Summary.php +++ b/CRM/Report/Form/Case/Summary.php @@ -40,10 +40,8 @@ class CRM_Report_Form_Case_Summary extends CRM_Report_Form { protected $_exposeContactID = FALSE; /** - * */ /** - * */ public function __construct() { $this->case_types = CRM_Case_PseudoConstant::caseType(); diff --git a/CRM/Report/Form/Case/TimeSpent.php b/CRM/Report/Form/Case/TimeSpent.php index cb13438858..5d81ce6ad2 100644 --- a/CRM/Report/Form/Case/TimeSpent.php +++ b/CRM/Report/Form/Case/TimeSpent.php @@ -35,10 +35,8 @@ */ class CRM_Report_Form_Case_TimeSpent extends CRM_Report_Form { /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Contact/CurrentEmployer.php b/CRM/Report/Form/Contact/CurrentEmployer.php index 55e7935629..ce79ccfd7f 100644 --- a/CRM/Report/Form/Contact/CurrentEmployer.php +++ b/CRM/Report/Form/Contact/CurrentEmployer.php @@ -45,10 +45,8 @@ class CRM_Report_Form_Contact_CurrentEmployer extends CRM_Report_Form { public $_drilldownReport = array('contact/detail' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Contact/Detail.php b/CRM/Report/Form/Contact/Detail.php index 5d64032f57..6d3b80d7f2 100644 --- a/CRM/Report/Form/Contact/Detail.php +++ b/CRM/Report/Form/Contact/Detail.php @@ -45,10 +45,8 @@ class CRM_Report_Form_Contact_Detail extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $this->_autoIncludeIndexedFieldsAsOrderBys = 1; diff --git a/CRM/Report/Form/Contact/Log.php b/CRM/Report/Form/Contact/Log.php index 59b0d85163..bdf2e4dd03 100644 --- a/CRM/Report/Form/Contact/Log.php +++ b/CRM/Report/Form/Contact/Log.php @@ -38,10 +38,8 @@ class CRM_Report_Form_Contact_Log extends CRM_Report_Form { protected $_summary = NULL; /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Contact/LoggingDetail.php b/CRM/Report/Form/Contact/LoggingDetail.php index 56decd616f..3ec74470ac 100644 --- a/CRM/Report/Form/Contact/LoggingDetail.php +++ b/CRM/Report/Form/Contact/LoggingDetail.php @@ -35,7 +35,6 @@ */ class CRM_Report_Form_Contact_LoggingDetail extends CRM_Logging_ReportDetail { /** - * */ public function __construct() { $logging = new CRM_Logging_Schema; diff --git a/CRM/Report/Form/Contact/LoggingSummary.php b/CRM/Report/Form/Contact/LoggingSummary.php index ec48efa8c1..d26bc5b77d 100644 --- a/CRM/Report/Form/Contact/LoggingSummary.php +++ b/CRM/Report/Form/Contact/LoggingSummary.php @@ -34,7 +34,6 @@ */ class CRM_Report_Form_Contact_LoggingSummary extends CRM_Logging_ReportSummary { /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Report/Form/Contact/Summary.php b/CRM/Report/Form/Contact/Summary.php index 5f532f367e..82c077e9d8 100644 --- a/CRM/Report/Form/Contact/Summary.php +++ b/CRM/Report/Form/Contact/Summary.php @@ -51,7 +51,6 @@ class CRM_Report_Form_Contact_Summary extends CRM_Report_Form { public $_drilldownReport = array('contact/detail' => 'Link to Detail Report'); /** - * */ public function __construct() { $this->_autoIncludeIndexedFieldsAsOrderBys = 1; diff --git a/CRM/Report/Form/Contribute/Bookkeeping.php b/CRM/Report/Form/Contribute/Bookkeeping.php index 50b3d81555..e5d05ee569 100644 --- a/CRM/Report/Form/Contribute/Bookkeeping.php +++ b/CRM/Report/Form/Contribute/Bookkeeping.php @@ -45,10 +45,8 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Contribute/Detail.php b/CRM/Report/Form/Contribute/Detail.php index 951fcad46c..42b37694d7 100644 --- a/CRM/Report/Form/Contribute/Detail.php +++ b/CRM/Report/Form/Contribute/Detail.php @@ -45,10 +45,8 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form { protected $_customGroupExtends = array('Contribution'); /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Contribute/History.php b/CRM/Report/Form/Contribute/History.php index 2a71bf5b27..02f6bd88e9 100644 --- a/CRM/Report/Form/Contribute/History.php +++ b/CRM/Report/Form/Contribute/History.php @@ -52,10 +52,8 @@ class CRM_Report_Form_Contribute_History extends CRM_Report_Form { protected $_yearStatisticsTo = ''; /** - * */ /** - * */ public function __construct() { $yearsInPast = 4; diff --git a/CRM/Report/Form/Contribute/HouseholdSummary.php b/CRM/Report/Form/Contribute/HouseholdSummary.php index 8182c8a4ee..9f3339a23b 100644 --- a/CRM/Report/Form/Contribute/HouseholdSummary.php +++ b/CRM/Report/Form/Contribute/HouseholdSummary.php @@ -44,10 +44,8 @@ class CRM_Report_Form_Contribute_HouseholdSummary extends CRM_Report_Form { protected $_summary = NULL; /** - * */ /** - * */ public function __construct() { self::validRelationships(); diff --git a/CRM/Report/Form/Contribute/LoggingDetail.php b/CRM/Report/Form/Contribute/LoggingDetail.php index 3da5d478f5..bb0c9a3386 100644 --- a/CRM/Report/Form/Contribute/LoggingDetail.php +++ b/CRM/Report/Form/Contribute/LoggingDetail.php @@ -35,7 +35,6 @@ */ class CRM_Report_Form_Contribute_LoggingDetail extends CRM_Logging_ReportDetail { /** - * */ public function __construct() { $logging = new CRM_Logging_Schema; diff --git a/CRM/Report/Form/Contribute/LoggingSummary.php b/CRM/Report/Form/Contribute/LoggingSummary.php index 33a121c4e9..2655abd061 100644 --- a/CRM/Report/Form/Contribute/LoggingSummary.php +++ b/CRM/Report/Form/Contribute/LoggingSummary.php @@ -35,7 +35,6 @@ */ class CRM_Report_Form_Contribute_LoggingSummary extends CRM_Logging_ReportSummary { /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Contribute/Lybunt.php b/CRM/Report/Form/Contribute/Lybunt.php index 73ff1e4a90..664705aa2d 100644 --- a/CRM/Report/Form/Contribute/Lybunt.php +++ b/CRM/Report/Form/Contribute/Lybunt.php @@ -47,10 +47,8 @@ class CRM_Report_Form_Contribute_Lybunt extends CRM_Report_Form { protected $lifeTime_where = NULL; /** - * */ /** - * */ public function __construct() { $yearsInPast = 10; diff --git a/CRM/Report/Form/Contribute/OrganizationSummary.php b/CRM/Report/Form/Contribute/OrganizationSummary.php index 6cb7dda130..054b6d981c 100644 --- a/CRM/Report/Form/Contribute/OrganizationSummary.php +++ b/CRM/Report/Form/Contribute/OrganizationSummary.php @@ -56,10 +56,8 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form { protected $otherContact; /** - * */ /** - * */ public function __construct() { self::validRelationships(); diff --git a/CRM/Report/Form/Contribute/PCP.php b/CRM/Report/Form/Contribute/PCP.php index 874ace7308..d208b7eeda 100644 --- a/CRM/Report/Form/Contribute/PCP.php +++ b/CRM/Report/Form/Contribute/PCP.php @@ -35,10 +35,8 @@ */ class CRM_Report_Form_Contribute_PCP extends CRM_Report_Form { /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Contribute/Repeat.php b/CRM/Report/Form/Contribute/Repeat.php index c41c9fc4bd..3551899a05 100644 --- a/CRM/Report/Form/Contribute/Repeat.php +++ b/CRM/Report/Form/Contribute/Repeat.php @@ -39,10 +39,8 @@ class CRM_Report_Form_Contribute_Repeat extends CRM_Report_Form { public $_drilldownReport = array('contribute/detail' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Contribute/SoftCredit.php b/CRM/Report/Form/Contribute/SoftCredit.php index 8d095dee6b..e68006ace1 100644 --- a/CRM/Report/Form/Contribute/SoftCredit.php +++ b/CRM/Report/Form/Contribute/SoftCredit.php @@ -46,10 +46,8 @@ class CRM_Report_Form_Contribute_SoftCredit extends CRM_Report_Form { public $_drilldownReport = array('contribute/detail' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Contribute/Summary.php b/CRM/Report/Form/Contribute/Summary.php index 4c0c174276..4fc51f6ec3 100644 --- a/CRM/Report/Form/Contribute/Summary.php +++ b/CRM/Report/Form/Contribute/Summary.php @@ -46,10 +46,8 @@ class CRM_Report_Form_Contribute_Summary extends CRM_Report_Form { public $_drilldownReport = array('contribute/detail' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Contribute/Sybunt.php b/CRM/Report/Form/Contribute/Sybunt.php index ff87350f92..656f6571c9 100644 --- a/CRM/Report/Form/Contribute/Sybunt.php +++ b/CRM/Report/Form/Contribute/Sybunt.php @@ -42,7 +42,6 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { public $_drilldownReport = array('contribute/detail' => 'Link to Detail Report'); /** - * */ public function __construct() { $yearsInPast = 10; diff --git a/CRM/Report/Form/Contribute/TopDonor.php b/CRM/Report/Form/Contribute/TopDonor.php index b2af1b5e96..36c3226113 100644 --- a/CRM/Report/Form/Contribute/TopDonor.php +++ b/CRM/Report/Form/Contribute/TopDonor.php @@ -46,10 +46,8 @@ class CRM_Report_Form_Contribute_TopDonor extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Event/Income.php b/CRM/Report/Form/Event/Income.php index e0c33d31cf..198bdc1d07 100644 --- a/CRM/Report/Form/Event/Income.php +++ b/CRM/Report/Form/Event/Income.php @@ -42,10 +42,8 @@ class CRM_Report_Form_Event_Income extends CRM_Report_Form_Event { protected $_add2groupSupported = FALSE; /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Event/IncomeCountSummary.php b/CRM/Report/Form/Event/IncomeCountSummary.php index 046945d952..ee1756c00f 100644 --- a/CRM/Report/Form/Event/IncomeCountSummary.php +++ b/CRM/Report/Form/Event/IncomeCountSummary.php @@ -51,10 +51,8 @@ class CRM_Report_Form_Event_IncomeCountSummary extends CRM_Report_Form_Event { public $_drilldownReport = array('event/participantlist' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Event/ParticipantListCount.php b/CRM/Report/Form/Event/ParticipantListCount.php index c8e3453640..b0d87a15a2 100644 --- a/CRM/Report/Form/Event/ParticipantListCount.php +++ b/CRM/Report/Form/Event/ParticipantListCount.php @@ -46,10 +46,8 @@ class CRM_Report_Form_Event_ParticipantListCount extends CRM_Report_Form_Event { public $_drilldownReport = array('event/income' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Event/ParticipantListing.php b/CRM/Report/Form/Event/ParticipantListing.php index 6f4af5d2e6..e5cd9e24eb 100644 --- a/CRM/Report/Form/Event/ParticipantListing.php +++ b/CRM/Report/Form/Event/ParticipantListing.php @@ -53,10 +53,8 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event { public $_drilldownReport = array('event/income' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { $this->_autoIncludeIndexedFieldsAsOrderBys = 1; diff --git a/CRM/Report/Form/Event/Summary.php b/CRM/Report/Form/Event/Summary.php index c5a058e1ee..f2fbc92d6e 100644 --- a/CRM/Report/Form/Event/Summary.php +++ b/CRM/Report/Form/Event/Summary.php @@ -51,10 +51,8 @@ class CRM_Report_Form_Event_Summary extends CRM_Report_Form_Event { public $_drilldownReport = array('event/income' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Extended.php b/CRM/Report/Form/Extended.php index 8bd288b192..10d0c36ac2 100644 --- a/CRM/Report/Form/Extended.php +++ b/CRM/Report/Form/Extended.php @@ -43,10 +43,8 @@ class CRM_Report_Form_Extended extends CRM_Report_Form { protected $_baseTable = 'civicrm_contact'; /** - * */ /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/Report/Form/Grant/Detail.php b/CRM/Report/Form/Grant/Detail.php index d09f93bfe2..0e93431e49 100644 --- a/CRM/Report/Form/Grant/Detail.php +++ b/CRM/Report/Form/Grant/Detail.php @@ -42,10 +42,8 @@ class CRM_Report_Form_Grant_Detail extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Grant/Statistics.php b/CRM/Report/Form/Grant/Statistics.php index 9b7bca5704..0f9f28ae5b 100644 --- a/CRM/Report/Form/Grant/Statistics.php +++ b/CRM/Report/Form/Grant/Statistics.php @@ -42,10 +42,8 @@ class CRM_Report_Form_Grant_Statistics extends CRM_Report_Form { protected $_add2groupSupported = FALSE; /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Mailing/Bounce.php b/CRM/Report/Form/Mailing/Bounce.php index 533121d3bd..bfad21ecb7 100644 --- a/CRM/Report/Form/Mailing/Bounce.php +++ b/CRM/Report/Form/Mailing/Bounce.php @@ -58,10 +58,8 @@ class CRM_Report_Form_Mailing_Bounce extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $this->_columns = array(); diff --git a/CRM/Report/Form/Mailing/Clicks.php b/CRM/Report/Form/Mailing/Clicks.php index 15dbd9c735..fb9b50f6db 100644 --- a/CRM/Report/Form/Mailing/Clicks.php +++ b/CRM/Report/Form/Mailing/Clicks.php @@ -55,10 +55,8 @@ class CRM_Report_Form_Mailing_Clicks extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $this->_columns = array(); diff --git a/CRM/Report/Form/Mailing/Detail.php b/CRM/Report/Form/Mailing/Detail.php index 8d0ffd2c1e..6f222bf9e4 100644 --- a/CRM/Report/Form/Mailing/Detail.php +++ b/CRM/Report/Form/Mailing/Detail.php @@ -38,10 +38,8 @@ class CRM_Report_Form_Mailing_Detail extends CRM_Report_Form { protected $_exposeContactID = FALSE; /** - * */ /** - * */ public function __construct() { $this->_columns = array(); diff --git a/CRM/Report/Form/Mailing/Opened.php b/CRM/Report/Form/Mailing/Opened.php index 152387f2fe..bfe148ecce 100644 --- a/CRM/Report/Form/Mailing/Opened.php +++ b/CRM/Report/Form/Mailing/Opened.php @@ -55,10 +55,8 @@ class CRM_Report_Form_Mailing_Opened extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $this->_columns = array(); diff --git a/CRM/Report/Form/Mailing/Summary.php b/CRM/Report/Form/Mailing/Summary.php index 9fd76ebaa0..7871092bcb 100644 --- a/CRM/Report/Form/Mailing/Summary.php +++ b/CRM/Report/Form/Mailing/Summary.php @@ -54,10 +54,8 @@ class CRM_Report_Form_Mailing_Summary extends CRM_Report_Form { public $campaignEnabled = FALSE; /** - * */ /** - * */ public function __construct() { $this->_columns = array(); diff --git a/CRM/Report/Form/Member/ContributionDetail.php b/CRM/Report/Form/Member/ContributionDetail.php index e99cb59c3c..bb4057543a 100644 --- a/CRM/Report/Form/Member/ContributionDetail.php +++ b/CRM/Report/Form/Member/ContributionDetail.php @@ -47,10 +47,8 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $config = CRM_Core_Config::singleton(); diff --git a/CRM/Report/Form/Member/Detail.php b/CRM/Report/Form/Member/Detail.php index 92122e0f2e..19a7f4d684 100644 --- a/CRM/Report/Form/Member/Detail.php +++ b/CRM/Report/Form/Member/Detail.php @@ -48,10 +48,8 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form { protected $_customGroupGroupBy = FALSE; /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Member/Lapse.php b/CRM/Report/Form/Member/Lapse.php index eee3cc3a5d..e71fe22cee 100644 --- a/CRM/Report/Form/Member/Lapse.php +++ b/CRM/Report/Form/Member/Lapse.php @@ -45,10 +45,8 @@ class CRM_Report_Form_Member_Lapse extends CRM_Report_Form { public $_drilldownReport = array('member/detail' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Member/Summary.php b/CRM/Report/Form/Member/Summary.php index 7c2b9871bd..81e2f42238 100644 --- a/CRM/Report/Form/Member/Summary.php +++ b/CRM/Report/Form/Member/Summary.php @@ -48,10 +48,8 @@ class CRM_Report_Form_Member_Summary extends CRM_Report_Form { public $_drilldownReport = array('member/detail' => 'Link to Detail Report'); /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Membership/Summary.php b/CRM/Report/Form/Membership/Summary.php index 599382f036..d911acec18 100644 --- a/CRM/Report/Form/Membership/Summary.php +++ b/CRM/Report/Form/Membership/Summary.php @@ -44,10 +44,8 @@ class CRM_Report_Form_Membership_Summary extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { // UI for selecting columns to appear in the report list diff --git a/CRM/Report/Form/Pledge/Detail.php b/CRM/Report/Form/Pledge/Detail.php index 68f3e524c7..5c7c9545f9 100644 --- a/CRM/Report/Form/Pledge/Detail.php +++ b/CRM/Report/Form/Pledge/Detail.php @@ -54,10 +54,8 @@ class CRM_Report_Form_Pledge_Detail extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $this->_pledgeStatuses = CRM_Contribute_PseudoConstant::contributionStatus(); diff --git a/CRM/Report/Form/Pledge/Pbnp.php b/CRM/Report/Form/Pledge/Pbnp.php index 7771143722..e0c9a0bc9f 100644 --- a/CRM/Report/Form/Pledge/Pbnp.php +++ b/CRM/Report/Form/Pledge/Pbnp.php @@ -45,10 +45,8 @@ class CRM_Report_Form_Pledge_Pbnp extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { diff --git a/CRM/Report/Form/Pledge/Summary.php b/CRM/Report/Form/Pledge/Summary.php index 63ee7991bb..b9afd73e58 100644 --- a/CRM/Report/Form/Pledge/Summary.php +++ b/CRM/Report/Form/Pledge/Summary.php @@ -43,10 +43,8 @@ class CRM_Report_Form_Pledge_Summary extends CRM_Report_Form { protected $_emailField = FALSE; /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Form/Register.php b/CRM/Report/Form/Register.php index 22f8c7a7cf..148c9428b5 100644 --- a/CRM/Report/Form/Register.php +++ b/CRM/Report/Form/Register.php @@ -62,7 +62,6 @@ class CRM_Report_Form_Register extends CRM_Core_Form { * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/Report/Form/Walklist/Walklist.php b/CRM/Report/Form/Walklist/Walklist.php index 1164f84613..0f37f5491f 100644 --- a/CRM/Report/Form/Walklist/Walklist.php +++ b/CRM/Report/Form/Walklist/Walklist.php @@ -52,10 +52,8 @@ class CRM_Report_Form_Walklist_Walklist extends CRM_Report_Form { ); /** - * */ /** - * */ public function __construct() { $this->_columns = array( diff --git a/CRM/Report/Info.php b/CRM/Report/Info.php index d52b804699..c1303681be 100644 --- a/CRM/Report/Info.php +++ b/CRM/Report/Info.php @@ -48,7 +48,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * * @return array * collection of required component settings - * */ /** * @return array @@ -94,7 +93,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ /** * @return array|null @@ -108,7 +106,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * Provides component's user dashboard page object. * * @return mixed component's User Dashboard applet object - * */ /** * @return mixed @@ -125,7 +122,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * * @return array|null collection of required dashboard settings, * null if no element offered - * */ /** * @return array|null @@ -142,7 +138,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * * @return array|null collection of required pane settings, * null if no element offered - * */ /** * @return array|null @@ -160,7 +155,6 @@ class CRM_Report_Info extends CRM_Core_Component_Info { * class. * * @return array|null collection of activity types - * */ /** * @return array|null diff --git a/CRM/Report/Interface.php b/CRM/Report/Interface.php index c5e4d4c8ed..26c64300a8 100644 --- a/CRM/Report/Interface.php +++ b/CRM/Report/Interface.php @@ -87,7 +87,6 @@ interface CRM_Report_Interface { * The from clause should be a valid sql from clause including the word FROM * CiviMail will pick up the contacts where the email is primary and * is not on hold / opt out / do not email - * */ /** diff --git a/CRM/Report/Page/Options.php b/CRM/Report/Page/Options.php index 5f4afa6981..80dc44cb85 100644 --- a/CRM/Report/Page/Options.php +++ b/CRM/Report/Page/Options.php @@ -77,7 +77,6 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic { * Obtains the group name from url and sets the title. * * @return void - * */ public function preProcess() { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE); diff --git a/CRM/SMS/BAO/Provider.php b/CRM/SMS/BAO/Provider.php index f2cd7794b3..910161ac76 100644 --- a/CRM/SMS/BAO/Provider.php +++ b/CRM/SMS/BAO/Provider.php @@ -40,7 +40,6 @@ class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider { * @return \CRM_SMS_DAO_Provider */ /** - * */ public function __construct() { parent::__construct(); diff --git a/CRM/SMS/Form/Provider.php b/CRM/SMS/Form/Provider.php index 7fc2c34dbf..d26a2f97c7 100644 --- a/CRM/SMS/Form/Provider.php +++ b/CRM/SMS/Form/Provider.php @@ -128,7 +128,6 @@ class CRM_SMS_Form_Provider extends CRM_Core_Form { * * @return array * reference to the array of default values - * */ /** * @return array diff --git a/CRM/SMS/Page/Provider.php b/CRM/SMS/Page/Provider.php index a3239c36e1..df8729ab81 100644 --- a/CRM/SMS/Page/Provider.php +++ b/CRM/SMS/Page/Provider.php @@ -102,7 +102,6 @@ class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic { * Finally it calls the parent's run method. * * @return void - * */ public function run() { // set title and breadcrumb diff --git a/CRM/SMS/Provider.php b/CRM/SMS/Provider.php index 274bff6f70..de2fb2d98d 100644 --- a/CRM/SMS/Provider.php +++ b/CRM/SMS/Provider.php @@ -91,13 +91,11 @@ abstract class CRM_SMS_Provider { /** * Send an SMS Message via the API Server - * */ abstract function send($recipients, $header, $message, $dncID = NULL); /** * Return message text. Child class could override this function to have better control over the message being sent. - * */ public function getMessage($message, $contactID, $contactDetails) { $html = $message->getHTMLBody(); diff --git a/CRM/UF/Form/Inline/Preview.php b/CRM/UF/Form/Inline/Preview.php index fd55b05490..6ace64ffe6 100644 --- a/CRM/UF/Form/Inline/Preview.php +++ b/CRM/UF/Form/Inline/Preview.php @@ -48,8 +48,6 @@ class CRM_UF_Form_Inline_Preview extends CRM_UF_Form_AbstractPreview { * @param * * @return void - * - * */ public function preProcess() { if ($_SERVER['REQUEST_METHOD'] != 'POST') { diff --git a/CRM/UF/Form/Inline/PreviewById.php b/CRM/UF/Form/Inline/PreviewById.php index 6b32ec7fca..3d25fe9fc5 100644 --- a/CRM/UF/Form/Inline/PreviewById.php +++ b/CRM/UF/Form/Inline/PreviewById.php @@ -48,8 +48,6 @@ class CRM_UF_Form_Inline_PreviewById extends CRM_UF_Form_AbstractPreview { * @param * * @return void - * - * */ public function preProcess() { // Inline forms don't get menu-level permission checks diff --git a/CRM/UF/Form/Preview.php b/CRM/UF/Form/Preview.php index cc6105482d..591f29f830 100644 --- a/CRM/UF/Form/Preview.php +++ b/CRM/UF/Form/Preview.php @@ -48,8 +48,6 @@ class CRM_UF_Form_Preview extends CRM_UF_Form_AbstractPreview { * @param * * @return void - * - * */ public function preProcess() { $flag = FALSE; diff --git a/CRM/UF/Page/Field.php b/CRM/UF/Page/Field.php index 8c68ef5825..529ce34c7d 100644 --- a/CRM/UF/Page/Field.php +++ b/CRM/UF/Page/Field.php @@ -63,7 +63,6 @@ class CRM_UF_Page_Field extends CRM_Core_Page { * Get the action links for this page. * * @return array - * */ function &actionLinks() { if (!isset(self::$_actionLinks)) { @@ -233,7 +232,6 @@ class CRM_UF_Page_Field extends CRM_Core_Page { * type of action and executes that action. * * @return void - * */ public function run() { // get the group id diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index 7351b157a1..b7035e6fe0 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -56,7 +56,6 @@ class CRM_UF_Page_Group extends CRM_Core_Page { * @param * * @return array - * */ public function &actionLinks() { // check if variable _actionsLinks is populated diff --git a/CRM/Upgrade/Incremental/Legacy.php b/CRM/Upgrade/Incremental/Legacy.php index e2c1b090c6..09932f5916 100644 --- a/CRM/Upgrade/Incremental/Legacy.php +++ b/CRM/Upgrade/Incremental/Legacy.php @@ -345,7 +345,6 @@ SELECT count( id ) as statusCount /** * This function should check if if need to skip current sql file * Name of this function will change according to the latest release - * */ public static function upgrade_2_2_alpha3($rev) { // skip processing sql file, if fresh install - diff --git a/CRM/Upgrade/Incremental/php/FourThree.php b/CRM/Upgrade/Incremental/php/FourThree.php index 9c249fe053..6e3a2817f4 100644 --- a/CRM/Upgrade/Incremental/php/FourThree.php +++ b/CRM/Upgrade/Incremental/php/FourThree.php @@ -1016,7 +1016,6 @@ ALTER TABLE civicrm_financial_account /** * Update financial_account_id for bad data in financial_trxn table * CRM-12844 - * */ public function updateFinancialTrxnData(CRM_Queue_TaskContext $ctx) { $upgrade = new CRM_Upgrade_Form(); @@ -1079,7 +1078,6 @@ id IN (' . implode(',', $val) . ')'; /** * Update financial_account_id for bad data in financial_trxn table * CRM-12844 - * */ public function updateLineItemData(CRM_Queue_TaskContext $ctx) { $sql = "SELECT cc.id contribution_id, cc.contribution_recur_id, diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php index 753f2be29e..6da2674b3c 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php @@ -197,7 +197,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Field extends CRM_Upgrade_Snapshot_V4p * name * * @static - * */ public static function getTitle($id) { return CRM_Core_DAO::getFieldValue('CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field', $id, 'label'); @@ -530,7 +529,6 @@ WHERE * @return boolean * * @static - * */ public static function deleteField($id) { $field = new CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field(); diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php index 86fec2dc85..3285fe9acb 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/FieldValue.php @@ -168,7 +168,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_FieldValue extends CRM_Upgrade_Snapsho * name * * @static - * */ public static function getOptionLabel($id) { return CRM_Core_DAO::getFieldValue('CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue', $id, 'label'); diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php index 1af5289936..dc0c10a10b 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php @@ -104,7 +104,6 @@ class CRM_Upgrade_Snapshot_V4p2_Price_BAO_Set extends CRM_Upgrade_Snapshot_V4p2_ * @return id $priceSetID * * @static - * */ public static function getDefaultPriceSet($entity = 'contribution') { if ($entity == 'contribution') { @@ -144,7 +143,6 @@ WHERE ps.name = '{$entityName}' * title * * @static - * */ public static function getTitle($id) { return CRM_Core_DAO::getFieldValue('CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set', $id, 'title'); diff --git a/CRM/Utils/Array.php b/CRM/Utils/Array.php index 0c76eb7209..ec133f691b 100644 --- a/CRM/Utils/Array.php +++ b/CRM/Utils/Array.php @@ -231,7 +231,6 @@ class CRM_Utils_Array { * (optional) String to prepend to keys. * @param string $seperator * (optional) String that separates the concatenated keys. - * */ public static function flatten(&$list, &$flat, $prefix = '', $seperator = ".") { foreach ($list as $name => $value) { @@ -259,7 +258,6 @@ class CRM_Utils_Array { * * @return array * Array-encoded tree - * */ public function unflatten($delim, &$arr) { $result = array(); @@ -373,7 +371,6 @@ class CRM_Utils_Array { * * @return bool * True if $value was found, false otherwise. - * */ public static function crmInArray($value, $params, $caseInsensitive = TRUE) { foreach ($params as $item) { diff --git a/CRM/Utils/Cache.php b/CRM/Utils/Cache.php index d2aaf38dbc..68c8862fcb 100644 --- a/CRM/Utils/Cache.php +++ b/CRM/Utils/Cache.php @@ -64,7 +64,6 @@ class CRM_Utils_Cache { * * @return object * @static - * */ public static function &singleton() { if (self::$_singleton === NULL) { diff --git a/CRM/Utils/ICalendar.php b/CRM/Utils/ICalendar.php index 86b070c52a..d4dfe043de 100644 --- a/CRM/Utils/ICalendar.php +++ b/CRM/Utils/ICalendar.php @@ -49,7 +49,6 @@ class CRM_Utils_ICalendar { * Text to escape. * * @return Escaped text - * */ public static function formatText($text) { $text = strip_tags($text); diff --git a/CRM/Utils/JSON.php b/CRM/Utils/JSON.php index c70e40d1fa..565bed7cf8 100644 --- a/CRM/Utils/JSON.php +++ b/CRM/Utils/JSON.php @@ -134,7 +134,6 @@ class CRM_Utils_JSON { * @param array $selectorElements * Selector elements. * @return string - * */ public static function encodeDataTableSelector($params, $sEcho, $iTotal, $iFilteredTotal, $selectorElements) { $sOutput = '{'; diff --git a/CRM/Utils/Migrate/Export.php b/CRM/Utils/Migrate/Export.php index a186d556eb..3a0049fbd1 100644 --- a/CRM/Utils/Migrate/Export.php +++ b/CRM/Utils/Migrate/Export.php @@ -53,7 +53,6 @@ class CRM_Utils_Migrate_Export { protected $_xml; /** - * */ public function __construct() { $this->_xml = array( diff --git a/CRM/Utils/Migrate/Import.php b/CRM/Utils/Migrate/Import.php index 30ebc296b3..76e0bfd3d3 100644 --- a/CRM/Utils/Migrate/Import.php +++ b/CRM/Utils/Migrate/Import.php @@ -34,7 +34,6 @@ */ class CRM_Utils_Migrate_Import { /** - * */ public function __construct() { } diff --git a/CRM/Utils/Migrate/ImportJSON.php b/CRM/Utils/Migrate/ImportJSON.php index fd26acae5c..c0af031fb5 100644 --- a/CRM/Utils/Migrate/ImportJSON.php +++ b/CRM/Utils/Migrate/ImportJSON.php @@ -39,7 +39,6 @@ class CRM_Utils_Migrate_ImportJSON { protected $_saveMapping; /** - * */ public function __construct() { $this->_lookupCache = array(); diff --git a/CRM/Utils/PDF/Label.php b/CRM/Utils/PDF/Label.php index 8893b2a29d..3fe0b3bcd9 100644 --- a/CRM/Utils/PDF/Label.php +++ b/CRM/Utils/PDF/Label.php @@ -97,7 +97,6 @@ class CRM_Utils_PDF_Label extends TCPDF { * Either the name of a Label Format in the Option Value table. * or an array of Label Format values. * @param string|\Unit $unit Unit of measure for the PDF document - * */ public function __construct($format, $unit = 'mm') { if (is_array($format)) { diff --git a/CRM/Utils/Pager.php b/CRM/Utils/Pager.php index 4774a6b93e..2aee44bd81 100644 --- a/CRM/Utils/Pager.php +++ b/CRM/Utils/Pager.php @@ -139,7 +139,6 @@ class CRM_Utils_Pager extends Pager_Sliding { * * * @return void - * */ public function initialize(&$params) { /* set the mode for the pager to Sliding */ @@ -230,7 +229,6 @@ class CRM_Utils_Pager extends Pager_Sliding { * * @return int * the rowCount value to use - * */ public function getPageRowCount($defaultPageRowCount = self::ROWCOUNT) { // POST has higher priority than GET vars @@ -253,8 +251,6 @@ class CRM_Utils_Pager extends Pager_Sliding { * * @return array * an array of the pageID and offset - * - * */ public function getOffsetAndRowCount() { $pageId = $this->getCurrentPageID(); diff --git a/CRM/Utils/ReCAPTCHA.php b/CRM/Utils/ReCAPTCHA.php index a8d470872b..23756b3444 100644 --- a/CRM/Utils/ReCAPTCHA.php +++ b/CRM/Utils/ReCAPTCHA.php @@ -58,7 +58,6 @@ class CRM_Utils_ReCAPTCHA { * * @return object * @static - * */ public static function &singleton() { if (self::$_singleton === NULL) { @@ -68,14 +67,12 @@ class CRM_Utils_ReCAPTCHA { } /** - * */ public function __construct() { } /** * Add element to form - * */ public static function add(&$form) { $error = NULL; diff --git a/CRM/Utils/System.php b/CRM/Utils/System.php index a8ef90face..5ec7b8d960 100644 --- a/CRM/Utils/System.php +++ b/CRM/Utils/System.php @@ -182,7 +182,6 @@ class CRM_Utils_System { * (optional) For maintenance mode. * * @return string - * */ static function theme( &$content, @@ -336,7 +335,6 @@ class CRM_Utils_System { * * @param string $title * @param string $pageTitle - * */ public static function setTitle($title, $pageTitle = NULL) { self::$title = $title; @@ -353,7 +351,6 @@ class CRM_Utils_System { * Refererer should match any str in this array. * @param string $default * (optional) The default userContext if no match found. - * */ public static function setUserContext($names, $default = NULL) { $url = $default; @@ -383,7 +380,6 @@ class CRM_Utils_System { * * @return string * The class name of the object. - * */ public static function getClassName($object) { return get_class($object); @@ -394,7 +390,6 @@ class CRM_Utils_System { * * @param string $url * The URL to provide to the browser via the Location header. - * */ public static function redirect($url = NULL) { if (!$url) { @@ -429,7 +424,6 @@ class CRM_Utils_System { * (optional) The page title to use for the redirect page. * @param string $message * (optional) The message to provide in the body of the redirect page. - * */ static function jsRedirect( $url = NULL, @@ -468,7 +462,6 @@ class CRM_Utils_System { * Append an additional breadcrumb tag to the existing breadcrumbs. * * @param $breadCrumbs - * */ public static function appendBreadCrumb($breadCrumbs) { $config = CRM_Core_Config::singleton(); @@ -477,7 +470,6 @@ class CRM_Utils_System { /** * Reset an additional breadcrumb tag to the existing breadcrumb. - * */ public static function resetBreadCrumb() { $config = CRM_Core_Config::singleton(); @@ -488,7 +480,6 @@ class CRM_Utils_System { * Append a string to the head of the HTML file. * * @param string $bc - * */ public static function addHTMLHead($bc) { $config = CRM_Core_Config::singleton(); @@ -511,7 +502,6 @@ class CRM_Utils_System { /** * Rewrite various system URLs to https. - * */ public static function mapConfigToSSL() { $config = CRM_Core_Config::singleton(); @@ -683,7 +673,6 @@ class CRM_Utils_System { * * @param string $message * The message to set. - * */ public static function setUFMessage($message) { $config = CRM_Core_Config::singleton(); @@ -1766,7 +1755,6 @@ class CRM_Utils_System { // getPluginList() /** - * */ public static function executeScheduledJobs() { $facility = new CRM_Core_JobManager(); diff --git a/CRM/Utils/System/Base.php b/CRM/Utils/System/Base.php index e6833116bf..4c3cdacfff 100644 --- a/CRM/Utils/System/Base.php +++ b/CRM/Utils/System/Base.php @@ -295,7 +295,6 @@ abstract class CRM_Utils_System_Base { * @param object $user * Object as described by the User Framework. * @return mixed $uniqueIdentifer Unique identifier from the user Framework system - * */ public function getUniqueIdentifierFromUserObject($user) { } @@ -305,7 +304,6 @@ abstract class CRM_Utils_System_Base { * @param object $user * Object as described by the User Framework. * @return mixed - * */ public function getUserIDFromUserObject($user) { } diff --git a/CRM/Utils/System/Drupal.php b/CRM/Utils/System/Drupal.php index fef504d6cb..e71a3b5ecc 100644 --- a/CRM/Utils/System/Drupal.php +++ b/CRM/Utils/System/Drupal.php @@ -47,8 +47,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * Email id for cms user. * * @return uid if user exists, false otherwise - * - * */ public function createUser(&$params, $mail) { $form_state = form_state_defaults(); @@ -186,7 +184,6 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { * Form object representing the 'current' form - to which the user will be returned. * @return string * destination value for URL - * */ /** * @param CRM_Core_Form $form @@ -599,7 +596,6 @@ AND u.status = 1 * * @param string $message * The message to set. - * */ public function setMessage($message) { drupal_set_message($message); @@ -778,7 +774,6 @@ AND u.status = 1 } /** - * */ public function cmsRootPath($scriptFilename = NULL) { $cmsRoot = $valid = NULL; diff --git a/CRM/Utils/System/Drupal6.php b/CRM/Utils/System/Drupal6.php index 0ef2a08dbd..4da3d34127 100644 --- a/CRM/Utils/System/Drupal6.php +++ b/CRM/Utils/System/Drupal6.php @@ -84,7 +84,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * Email id for cms user. * * @return uid if user exists, false otherwise - * */ public function createUser(&$params, $mail) { $form_state = array(); @@ -225,7 +224,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * Form object representing the 'current' form - to which the user will be returned. * @return string * destination value for URL - * */ public function getLoginDestination(&$form) { $args = NULL; @@ -549,7 +547,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * * @param string $message * The message to set. - * */ public function setMessage($message) { drupal_set_message($message); @@ -722,7 +719,6 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { } /** - * */ public function cmsRootPath($scriptFilename = NULL) { $cmsRoot = $valid = NULL; diff --git a/CRM/Utils/System/Drupal8.php b/CRM/Utils/System/Drupal8.php index 6e83b3da0f..1852235fbe 100644 --- a/CRM/Utils/System/Drupal8.php +++ b/CRM/Utils/System/Drupal8.php @@ -47,8 +47,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * Email id for cms user. * * @return uid if user exists, false otherwise - * - * */ public function createUser(&$params, $mail) { $user = \Drupal::currentUser(); @@ -190,7 +188,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * Form object representing the 'current' form - to which the user will be returned. * @return string * destination value for URL - * */ public function getLoginDestination(&$form) { $args = NULL; @@ -535,7 +532,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * * @param string $message * The message to set. - * */ public function setMessage($message) { drupal_set_message($message); @@ -667,7 +663,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { * Get the default location for CiviCRM blocks * * @return string - * */ public function getDefaultBlockLocation() { return 'sidebar_first'; diff --git a/CRM/Utils/System/DrupalBase.php b/CRM/Utils/System/DrupalBase.php index bc2dea9bac..de90d45d29 100644 --- a/CRM/Utils/System/DrupalBase.php +++ b/CRM/Utils/System/DrupalBase.php @@ -45,7 +45,6 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { */ var $supports_UF_Logging = TRUE; /** - * */ public function __construct() { /** @@ -165,7 +164,6 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { * * @return string * an HTML string containing a link to the given path. - * */ function url( $path = NULL, $query = NULL, $absolute = FALSE, @@ -242,7 +240,6 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { * @param object $user * Object as described by the User Framework. * @return mixed $uniqueIdentifer Unique identifier from the user Framework system - * */ public function getUniqueIdentifierFromUserObject($user) { return empty($user->mail) ? NULL : $user->mail; @@ -327,7 +324,6 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { * * @return array * CRM_Core_Module - * */ public function getModules() { $result = array(); @@ -444,7 +440,6 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { * * @return string * with the locale or null for none - * */ public function getUFLocale() { // return CiviCRM’s xx_YY locale that either matches Drupal’s Chinese locale @@ -478,7 +473,6 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { * @param array params * * FIXME: Document values accepted/required by $params - * */ public function userLoginFinalize($params = array()) { user_login_finalize($params); diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index 109bc1d079..1a5b7205d8 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -38,7 +38,6 @@ */ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { /** - * */ public function __construct() { /** @@ -59,7 +58,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * Email id for cms user. * * @return uid if user exists, false otherwise - * */ public function createUser(&$params, $mail) { $baseDir = JPATH_SITE; @@ -575,7 +573,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * * @param array $data * Array with user specific data. - * */ public function setUserSession($data) { list($userID, $ufID) = $data; @@ -591,7 +588,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * * @param string $message * The message to set. - * */ public function setMessage($message) { return; @@ -748,7 +744,6 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { * @param object $user * Object as described by the User Framework. * @return mixed $uniqueIdentifer Unique identifier from the user Framework system - * */ public function getUniqueIdentifierFromUserObject($user) { return ($user->guest) ? NULL : $user->email; diff --git a/CRM/Utils/System/Soap.php b/CRM/Utils/System/Soap.php index 4d24cc61df..63c74e10bd 100644 --- a/CRM/Utils/System/Soap.php +++ b/CRM/Utils/System/Soap.php @@ -113,7 +113,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { * * @return string * an HTML string containing a link to the given path. - * */ public function url($path = NULL, $query = NULL, $absolute = TRUE, $fragment = NULL) { if (isset(self::$ufClass)) { @@ -173,7 +172,6 @@ class CRM_Utils_System_Soap extends CRM_Utils_System_Base { /** * Swap the current UF for soap - * */ public function swapUF() { $config = CRM_Core_Config::singleton(); diff --git a/CRM/Utils/System/UnitTests.php b/CRM/Utils/System/UnitTests.php index 2c746d41c1..f2513e5293 100644 --- a/CRM/Utils/System/UnitTests.php +++ b/CRM/Utils/System/UnitTests.php @@ -38,7 +38,6 @@ */ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { /** - * */ public function __construct() { $this->is_drupal = FALSE; @@ -172,7 +171,6 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { * * @return string * an HTML string containing a link to the given path. - * */ /** * @param null|string $path @@ -268,7 +266,6 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { * * @param string $message * The message to set. - * */ /** * @param string $message diff --git a/CRM/Utils/System/WordPress.php b/CRM/Utils/System/WordPress.php index 7da8a9b385..e2eec7c879 100644 --- a/CRM/Utils/System/WordPress.php +++ b/CRM/Utils/System/WordPress.php @@ -38,7 +38,6 @@ */ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { /** - * */ public function __construct() { /** @@ -737,7 +736,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * @param object $user * Object as described by the User Framework. * @return mixed $uniqueIdentifer Unique identifier from the user Framework system - * */ public function getUniqueIdentifierFromUserObject($user) { return empty($user->user_email) ? NULL : $user->user_email; @@ -751,7 +749,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * * @return string * loginURL for the current CMS - * */ public function getLoginURL($destination = '') { $config = CRM_Core_Config::singleton(); @@ -772,7 +769,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base { * * @return string * version number - * */ public function getVersion() { if (function_exists('get_bloginfo')) { diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index 8eed46b63c..26f6c3a94f 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -1141,7 +1141,6 @@ class CRM_Utils_Token { * @param $string * @return array * fields to pass in as return properties when populating token - * */ public static function getReturnProperties(&$string) { $returnProperties = array(); @@ -1412,7 +1411,6 @@ class CRM_Utils_Token { } /** * Replace greeting tokens exists in message/subject - * */ public static function replaceGreetingTokens(&$tokenString, $contactDetails = NULL, $contactId = NULL, $className = NULL, $escapeSmarty = FALSE) { @@ -1572,7 +1570,6 @@ class CRM_Utils_Token { } /** - * */ protected static function _buildContributionTokens() { $key = 'contribution'; diff --git a/CRM/Utils/Tree.php b/CRM/Utils/Tree.php index 8750a4951f..b07ad4f6e4 100644 --- a/CRM/Utils/Tree.php +++ b/CRM/Utils/Tree.php @@ -111,7 +111,6 @@ class CRM_Utils_Tree { * * @return array( ref) | false node if found else false - * */ //public function &findNode(&$parentNode, $name) public function &findNode($name, &$parentNode) { @@ -151,7 +150,6 @@ class CRM_Utils_Tree { ref) $node node which needs to checked * * @return boolean - * */ public function isLeafNode(&$node) { return (count($node['children']) ? TRUE : FALSE); @@ -164,7 +162,6 @@ class CRM_Utils_Tree { * * @return array * (ref) - * */ public function &createNode($name) { $node['name'] = $name; @@ -182,7 +179,6 @@ class CRM_Utils_Tree { * @param array (ref) - node to be added * * @return void - * */ public function addNode($parentName, &$node) { $temp = ''; @@ -200,7 +196,6 @@ class CRM_Utils_Tree { * @param string - key to be used (optional) * * @return void - * */ public function addData($parentName, $childName, $data) { $temp = ''; @@ -220,7 +215,6 @@ class CRM_Utils_Tree { * @param none * * @return tree - * */ public function getTree() { return $this->tree; @@ -232,7 +226,6 @@ class CRM_Utils_Tree { * @param none * * @return void - * */ public function display() { print_r($this->tree); diff --git a/CRM/Utils/VersionCheck.php b/CRM/Utils/VersionCheck.php index 39d8b832c5..f7f19905e8 100644 --- a/CRM/Utils/VersionCheck.php +++ b/CRM/Utils/VersionCheck.php @@ -97,7 +97,6 @@ class CRM_Utils_VersionCheck { /** * Class constructor - * */ public function __construct() { global $civicrm_root; diff --git a/CRM/Utils/Wrapper.php b/CRM/Utils/Wrapper.php index 3aa2f7372e..0474c2e5e1 100644 --- a/CRM/Utils/Wrapper.php +++ b/CRM/Utils/Wrapper.php @@ -43,7 +43,6 @@ class CRM_Utils_Wrapper { * Simple Controller * * The controller which will handle the display and processing of this page. - * */ protected $_controller; @@ -60,7 +59,6 @@ class CRM_Utils_Wrapper { * @param bool ignoreKey should we not set a qfKey for this controller (for standalone forms) * * @return void - * */ public function run($formName, $formLabel = NULL, $arguments = NULL) { if (is_array($arguments)) { diff --git a/Civi/API/Provider/MagicFunctionProvider.php b/Civi/API/Provider/MagicFunctionProvider.php index 84f83b8005..8dd97a6289 100644 --- a/Civi/API/Provider/MagicFunctionProvider.php +++ b/Civi/API/Provider/MagicFunctionProvider.php @@ -52,7 +52,6 @@ class MagicFunctionProvider implements EventSubscriberInterface, ProviderInterfa private $cache; /** - * */ public function __construct() { $this->cache = array(); diff --git a/bin/cli.class.php b/bin/cli.class.php index 9b8823472f..639e3d6b6d 100644 --- a/bin/cli.class.php +++ b/bin/cli.class.php @@ -319,7 +319,6 @@ class civicrm_cli_csv_exporter extends civicrm_cli { var $separator = ','; /** - * */ function __construct() { $this->_required_arguments = array('entity'); @@ -365,7 +364,6 @@ class civicrm_cli_csv_file extends civicrm_cli { var $separator = ','; /** - * */ function __construct() { $this->_required_arguments = array('entity', 'file'); diff --git a/bin/deprecated/CiviReportMail.php b/bin/deprecated/CiviReportMail.php index 9c9c66570f..28db57bb8f 100644 --- a/bin/deprecated/CiviReportMail.php +++ b/bin/deprecated/CiviReportMail.php @@ -31,7 +31,6 @@ */ class CiviReportMail { /** - * */ function __construct() { $this->initialize(); diff --git a/bin/deprecated/ParticipantProcessor.php b/bin/deprecated/ParticipantProcessor.php index ecb028ecab..3c04bab561 100644 --- a/bin/deprecated/ParticipantProcessor.php +++ b/bin/deprecated/ParticipantProcessor.php @@ -40,7 +40,6 @@ require_once 'CRM/Core/Config.php'; */ class CRM_ParticipantProcessor { /** - * */ function __construct() { $config = CRM_Core_Config::singleton(); diff --git a/bin/deprecated/RespondentProcessor.php b/bin/deprecated/RespondentProcessor.php index 452969c45b..7f73f669a6 100644 --- a/bin/deprecated/RespondentProcessor.php +++ b/bin/deprecated/RespondentProcessor.php @@ -39,7 +39,6 @@ require_once 'CRM/Core/Config.php'; */ class CRM_RespondentProcessor { /** - * */ function __construct() { $config = CRM_Core_Config::singleton(); diff --git a/bin/deprecated/UpdateGreeting.php b/bin/deprecated/UpdateGreeting.php index 6d2c76e9d5..d91bd5af22 100644 --- a/bin/deprecated/UpdateGreeting.php +++ b/bin/deprecated/UpdateGreeting.php @@ -43,7 +43,6 @@ */ class CRM_UpdateGreeting { /** - * */ function __construct() { $this->initialize(); diff --git a/bin/deprecated/UpdateMembershipRecord.php b/bin/deprecated/UpdateMembershipRecord.php index cf51117d88..8c6140fd9c 100644 --- a/bin/deprecated/UpdateMembershipRecord.php +++ b/bin/deprecated/UpdateMembershipRecord.php @@ -44,7 +44,6 @@ */ class CRM_UpdateMembershipRecord { /** - * */ function __construct() { // you can run this program either from an apache command, or from the cli diff --git a/bin/deprecated/UpdateMembershipReminderDate.php b/bin/deprecated/UpdateMembershipReminderDate.php index ee6f7e2fcf..c511bd3d46 100644 --- a/bin/deprecated/UpdateMembershipReminderDate.php +++ b/bin/deprecated/UpdateMembershipReminderDate.php @@ -36,7 +36,6 @@ */ class CRM_UpdateMembershipReminderDate { /** - * */ function __construct() { // you can run this program either from an apache command, or from the cli diff --git a/bin/deprecated/UpdatePledgeRecord.php b/bin/deprecated/UpdatePledgeRecord.php index 981b8c3482..98da45db94 100644 --- a/bin/deprecated/UpdatePledgeRecord.php +++ b/bin/deprecated/UpdatePledgeRecord.php @@ -41,7 +41,6 @@ require_once 'CRM/Core/Config.php'; */ class CRM_UpdatePledgeRecord { /** - * */ function __construct() { $config = CRM_Core_Config::singleton(); diff --git a/bin/deprecated/action.cronjob.php b/bin/deprecated/action.cronjob.php index 1bb7b84e5d..bd24f1812f 100644 --- a/bin/deprecated/action.cronjob.php +++ b/bin/deprecated/action.cronjob.php @@ -34,7 +34,6 @@ */ class CRM_Cron_Action { /** - * */ function __construct() { // you can run this program either from an apache command, or from the cli diff --git a/tests/extensions/test.extension.manager.paymenttest/main.php b/tests/extensions/test.extension.manager.paymenttest/main.php index b198ce0d8f..5dd879b64a 100644 --- a/tests/extensions/test.extension.manager.paymenttest/main.php +++ b/tests/extensions/test.extension.manager.paymenttest/main.php @@ -20,7 +20,6 @@ class test_extension_manager_paymenttest extends CRM_Core_Payment { * * @return object * @static - * */ static function &singleton($mode = 'test', &$paymentProcessor, &$paymentForm = NULL, $force = FALSE) { $processorName = $paymentProcessor['name']; diff --git a/tests/extensions/test.extension.manager.reporttest/main.php b/tests/extensions/test.extension.manager.reporttest/main.php index a0415cac88..4edf0d4acf 100644 --- a/tests/extensions/test.extension.manager.reporttest/main.php +++ b/tests/extensions/test.extension.manager.reporttest/main.php @@ -5,7 +5,6 @@ */ class test_extension_manager_reporttest extends CRM_Core_Report { /** - * */ function __construct() { $logging = new CRM_Logging_Schema; diff --git a/tests/phpunit/AllTests.php b/tests/phpunit/AllTests.php index 7d73bf1915..29f4df4ecd 100644 --- a/tests/phpunit/AllTests.php +++ b/tests/phpunit/AllTests.php @@ -44,7 +44,6 @@ class AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Activity/AllTests.php b/tests/phpunit/CRM/Activity/AllTests.php index 68509919b6..3efc29f025 100644 --- a/tests/phpunit/CRM/Activity/AllTests.php +++ b/tests/phpunit/CRM/Activity/AllTests.php @@ -44,7 +44,6 @@ class CRM_Activity_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php b/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php index 3ce03b0314..86f355f471 100644 --- a/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php +++ b/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php @@ -38,7 +38,6 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -47,7 +46,6 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { } diff --git a/tests/phpunit/CRM/Activity/BAO/ActivityTargetTest.php b/tests/phpunit/CRM/Activity/BAO/ActivityTargetTest.php index 5f43b66c27..398726ed42 100644 --- a/tests/phpunit/CRM/Activity/BAO/ActivityTargetTest.php +++ b/tests/phpunit/CRM/Activity/BAO/ActivityTargetTest.php @@ -38,7 +38,6 @@ class CRM_Activity_BAO_ActivityTargetTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -47,7 +46,6 @@ class CRM_Activity_BAO_ActivityTargetTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { } diff --git a/tests/phpunit/CRM/AllTests.php b/tests/phpunit/CRM/AllTests.php index f42d8f1a1c..c63f8c95c0 100644 --- a/tests/phpunit/CRM/AllTests.php +++ b/tests/phpunit/CRM/AllTests.php @@ -44,7 +44,6 @@ class CRM_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Batch/Form/EntryTest.php b/tests/phpunit/CRM/Batch/Form/EntryTest.php index c19d811451..8a7a933359 100644 --- a/tests/phpunit/CRM/Batch/Form/EntryTest.php +++ b/tests/phpunit/CRM/Batch/Form/EntryTest.php @@ -125,7 +125,6 @@ class CRM_Batch_Form_EntryTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { diff --git a/tests/phpunit/CRM/Case/AllTests.php b/tests/phpunit/CRM/Case/AllTests.php index e04d6ed59f..261da7350b 100644 --- a/tests/phpunit/CRM/Case/AllTests.php +++ b/tests/phpunit/CRM/Case/AllTests.php @@ -14,7 +14,6 @@ class CRM_Case_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Contact/AllTests.php b/tests/phpunit/CRM/Contact/AllTests.php index 22e4ee421a..a3e808f1ee 100644 --- a/tests/phpunit/CRM/Contact/AllTests.php +++ b/tests/phpunit/CRM/Contact/AllTests.php @@ -44,7 +44,6 @@ class CRM_Contacts_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Contact/BAO/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactTest.php index c12141a9a7..3667e4df71 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactTest.php @@ -1165,7 +1165,6 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase { /** * Test case for getPrimaryEmail( ) - * */ public function testGetPrimaryEmail() { //get the contact params @@ -1189,7 +1188,6 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase { /** * Test case for getPrimaryOpenId( ) - * */ public function testGetPrimaryOpenId() { //get the contact params @@ -1214,7 +1212,6 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase { /** * Test case for matchContactOnEmail( ) - * */ public function testMatchContactOnEmail() { //get the contact params @@ -1236,7 +1233,6 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase { /** * Test case for getContactType( ) - * */ public function testGetContactType() { //get the contact params @@ -1256,7 +1252,6 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase { /** * Test case for displayName( ) - * */ public function testDisplayName() { //get the contact params @@ -1284,7 +1279,6 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase { /** * Test case for getDisplayAndImage( ) - * */ public function testGetDisplayAndImage() { //get the contact params @@ -1331,7 +1325,6 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase { /** * Build common params - * */ private function contactParams() { diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php index c9130eca1f..5e8ad5619e 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php @@ -61,7 +61,6 @@ DELETE FROM civicrm_contact_type /** * Methods create Contact with valid data * success expected - * */ public function testCreateContact() { //check for Type:Individual diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php index f3841f8da9..0b2c19607d 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php @@ -92,7 +92,6 @@ DELETE FROM civicrm_contact_type /** * Methods create relationshipType with valid data * success expected - * */ public function testRelationshipTypeAddIndiviParent() { //check Individual to Parent RelationshipType @@ -152,7 +151,6 @@ DELETE FROM civicrm_contact_type /** * Methods create relationshipe within same contact type with invalid Relationships - * */ public function testRelationshipCreateInvalidWithinSameType() { //check for Individual to Parent @@ -180,7 +178,6 @@ DELETE FROM civicrm_contact_type /** * Methods create relationshipe within diff contact type with invalid Relationships - * */ public function testRelCreateInvalidWithinDiffTypeSpocorIndivi() { //check for Sponcer to Individual @@ -234,7 +231,6 @@ DELETE FROM civicrm_contact_type /** * Methods create relationshipe within same contact type with valid data * success expected - * */ public function testRelationshipCreateWithinSameType() { //check for Individual to Parent @@ -263,7 +259,6 @@ DELETE FROM civicrm_contact_type /** * Methods create relationshipe within different contact type with valid data * success expected - * */ public function testRelCreateWithinDiffTypeSponsorIndivi() { //check for Sponcer to Individual diff --git a/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php b/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php index 163dad82bb..10c28081e9 100644 --- a/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php +++ b/tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php @@ -192,7 +192,6 @@ class CRM_Contact_BAO_GroupContactCacheTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { $this->_testObjects = array(); @@ -202,7 +201,6 @@ class CRM_Contact_BAO_GroupContactCacheTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { parent::tearDown(); diff --git a/tests/phpunit/CRM/Contact/BAO/GroupContactTest.php b/tests/phpunit/CRM/Contact/BAO/GroupContactTest.php index 079966203a..19a0ec7772 100644 --- a/tests/phpunit/CRM/Contact/BAO/GroupContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/GroupContactTest.php @@ -39,7 +39,6 @@ class CRM_Contact_BAO_GroupContactTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -48,7 +47,6 @@ class CRM_Contact_BAO_GroupContactTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { } diff --git a/tests/phpunit/CRM/Contact/BAO/GroupTest.php b/tests/phpunit/CRM/Contact/BAO/GroupTest.php index c6aaf8a8e5..9ebc6ab1b1 100644 --- a/tests/phpunit/CRM/Contact/BAO/GroupTest.php +++ b/tests/phpunit/CRM/Contact/BAO/GroupTest.php @@ -38,7 +38,6 @@ class CRM_Contact_BAO_GroupTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -47,7 +46,6 @@ class CRM_Contact_BAO_GroupTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { $this->quickCleanup(array('civicrm_mapping_field', 'civicrm_mapping', 'civicrm_group', 'civicrm_saved_search')); diff --git a/tests/phpunit/CRM/Contribute/AllTests.php b/tests/phpunit/CRM/Contribute/AllTests.php index 984796b319..269822447d 100644 --- a/tests/phpunit/CRM/Contribute/AllTests.php +++ b/tests/phpunit/CRM/Contribute/AllTests.php @@ -44,7 +44,6 @@ class CRM_Contribute_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Core/AllTests.php b/tests/phpunit/CRM/Core/AllTests.php index 7f3a088f46..7460038140 100644 --- a/tests/phpunit/CRM/Core/AllTests.php +++ b/tests/phpunit/CRM/Core/AllTests.php @@ -44,7 +44,6 @@ class CRM_Core_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php index 7fc8424836..e92a01a9f6 100644 --- a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php +++ b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php @@ -418,7 +418,6 @@ class CRM_Core_BAO_ActionScheduleTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { parent::tearDown(); @@ -567,7 +566,6 @@ class CRM_Core_BAO_ActionScheduleTest extends CiviUnitTestCase { /** * Test that the first and SECOND notifications are sent out - * */ public function testMembershipEndDate_Repeat() { // creates membership with end_date = 20120615 @@ -880,7 +878,6 @@ class CRM_Core_BAO_ActionScheduleTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function _setUp() { $this->_testObjects = array(); @@ -889,7 +886,6 @@ class CRM_Core_BAO_ActionScheduleTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function _tearDown() { parent::tearDown(); diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php index 092f2ee1be..85c5fad585 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php @@ -113,7 +113,6 @@ class CRM_Core_BAO_CustomValueTableSetGetTest extends CiviUnitTestCase { /** * Test setValues() and getValues() methods with custom field YesNo(Boolean) Radio - * */ public function testSetGetValuesYesNoRadio() { $params = array(); diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php index 13ef9f2ba1..e6daee0692 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php @@ -15,7 +15,6 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase { /** * Test store function for country - * */ public function testStoreCountry() { $params = array(); @@ -50,7 +49,6 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase { /** * Test store function for file - * */ public function atestStoreFile() { $params = array(); @@ -85,7 +83,6 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase { /** * Test store function for state province - * */ public function testStoreStateProvince() { $params = array(); @@ -119,7 +116,6 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase { /** * Test store function for date - * */ public function testStoreDate() { $params = array(); @@ -154,7 +150,6 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase { /** * Test store function for rich text editor - * */ public function testStoreRichTextEditor() { $params = array(); @@ -189,7 +184,6 @@ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase { /** * Test getEntityValues function for stored value - * */ public function testgetEntityValues() { diff --git a/tests/phpunit/CRM/Core/BAO/LocationTest.php b/tests/phpunit/CRM/Core/BAO/LocationTest.php index cdd71734da..7378c86453 100644 --- a/tests/phpunit/CRM/Core/BAO/LocationTest.php +++ b/tests/phpunit/CRM/Core/BAO/LocationTest.php @@ -50,7 +50,6 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { $tablesToTruncate = array( @@ -358,7 +357,6 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase { * DeleteLocBlock() method * delete the location block * created with various elements. - * */ public function testDeleteLocBlock() { $this->_contactId = Contact::createIndividual(); diff --git a/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php b/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php index 72f7cd13ed..aaa22cd5f7 100644 --- a/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php +++ b/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php @@ -36,7 +36,6 @@ class CRM_Core_BAO_RecurringEntityTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -45,7 +44,6 @@ class CRM_Core_BAO_RecurringEntityTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { } diff --git a/tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php b/tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php index 59ad720756..983faab657 100644 --- a/tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php @@ -78,7 +78,6 @@ class CRM_Core_Payment_AuthorizeNetIPNTest extends CiviUnitTestCase { } /** - * */ public function getRecurTransaction() { return array( diff --git a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php index fd8f5ba1cb..b3d188cc41 100644 --- a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php @@ -112,7 +112,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { /** * Test the LoadObjects function with recurring membership data - * */ public function testLoadMembershipObjects() { $this->_setUpMembershipObjects(); @@ -127,7 +126,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { } /** * Test the LoadObjects function with recurring membership data - * */ public function testLoadMembershipObjectsLoadAll() { $this->_setUpMembershipObjects(); @@ -146,7 +144,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { } /** * Test the LoadObjects function with recurring membership data - * */ public function testsendMailMembershipObjects() { $this->_setUpMembershipObjects(); @@ -161,7 +158,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { /** * Test the LoadObjects function with recurring membership data - * */ public function testsendMailMembershipWithoutLoadObjects() { $this->_setUpMembershipObjects(); @@ -202,7 +198,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { } /** - * */ public function testComposeMailParticipantObjects() { $this->_setUpParticipantObjects(); @@ -302,7 +297,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { /** * Test the LoadObjects function with a pledge - * */ public function testsendMailPledge() { $this->_setUpPledgeObjects(); @@ -314,7 +308,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { /** * Test that an error is returned if required set & no contribution page - * */ public function testRequiredWithoutProcessorID() { $this->_setUpPledgeObjects(); @@ -343,7 +336,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { /** * Test that an error is returned if required set & contribution page exists - * */ public function testRequiredWithContributionPageError() { $this->_setUpContributionObjects(); diff --git a/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php b/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php index c7901b2b96..9186a17a1c 100644 --- a/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php @@ -275,7 +275,6 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase { ); } /** - * */ public function getPaypalProRecurTransaction() { return array( diff --git a/tests/phpunit/CRM/Event/AllTests.php b/tests/phpunit/CRM/Event/AllTests.php index c6a41fdb4e..88cf4e63b0 100644 --- a/tests/phpunit/CRM/Event/AllTests.php +++ b/tests/phpunit/CRM/Event/AllTests.php @@ -44,7 +44,6 @@ class CRM_Event_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php b/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php index 5d898e44ad..3b83fba3a7 100644 --- a/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php +++ b/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php @@ -38,7 +38,6 @@ class CRM_Event_BAO_ParticipantStatusTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -47,7 +46,6 @@ class CRM_Event_BAO_ParticipantStatusTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { } diff --git a/tests/phpunit/CRM/Extension/AllTests.php b/tests/phpunit/CRM/Extension/AllTests.php index e5da16f22f..98ca8c9e7e 100644 --- a/tests/phpunit/CRM/Extension/AllTests.php +++ b/tests/phpunit/CRM/Extension/AllTests.php @@ -44,7 +44,6 @@ class CRM_Extension_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Extension/Container/AllTests.php b/tests/phpunit/CRM/Extension/Container/AllTests.php index ee94f0d827..2eee6875bf 100644 --- a/tests/phpunit/CRM/Extension/Container/AllTests.php +++ b/tests/phpunit/CRM/Extension/Container/AllTests.php @@ -44,7 +44,6 @@ class CRM_Extension_Container_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Extension/Manager/AllTests.php b/tests/phpunit/CRM/Extension/Manager/AllTests.php index 51dbeb9aea..6fdbd003ec 100644 --- a/tests/phpunit/CRM/Extension/Manager/AllTests.php +++ b/tests/phpunit/CRM/Extension/Manager/AllTests.php @@ -44,7 +44,6 @@ class CRM_Extension_Manager_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Member/AllTests.php b/tests/phpunit/CRM/Member/AllTests.php index bbb1e5490c..269a5a6e51 100644 --- a/tests/phpunit/CRM/Member/AllTests.php +++ b/tests/phpunit/CRM/Member/AllTests.php @@ -44,7 +44,6 @@ class CRM_Member_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php b/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php index e2a7589414..7832167ef7 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php @@ -70,7 +70,6 @@ class CRM_Member_BAO_MembershipLogTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { $this->relationshipTypeDelete($this->_relationshipTypeId); diff --git a/tests/phpunit/CRM/Member/BAO/MembershipTest.php b/tests/phpunit/CRM/Member/BAO/MembershipTest.php index 48826583fb..285a484dee 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipTest.php @@ -66,7 +66,6 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { $this->membershipTypeDelete(array('id' => $this->_membershipTypeID)); @@ -359,7 +358,6 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { * Get membership joins/renewals * for a specified membership * type. - * */ public function testgetMembershipStarts() { $contactId = Contact::createIndividual(); @@ -391,7 +389,6 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { /** * Get a count of membership for a specified membership type, * optionally for a specified date. - * */ public function testGetMembershipCount() { $contactId = Contact::createIndividual(); @@ -424,7 +421,6 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { /** * Take sort name of contact during * batch update member via profile - * */ public function testsortName() { $contactId = Contact::createIndividual(); @@ -459,7 +455,6 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { /** * Delete related memberships - * */ public function testdeleteRelatedMemberships() { $contactId = Contact::createIndividual(); @@ -490,7 +485,6 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { /** * Renew membership with change in membership type - * */ public function testRenewMembership() { $contactId = Contact::createIndividual(); @@ -553,7 +547,6 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { /** * Renew stale membership - * */ public function testStaleMembership() { $statusId = 3; diff --git a/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php b/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php index 253bf8f9f6..97350b4a17 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php @@ -55,7 +55,6 @@ class CRM_Member_BAO_MembershipTypeTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { $this->relationshipTypeDelete($this->_relationshipTypeId); diff --git a/tests/phpunit/CRM/Member/Form/AllTests.php b/tests/phpunit/CRM/Member/Form/AllTests.php index efb4cf5d9d..19e91eb4c8 100644 --- a/tests/phpunit/CRM/Member/Form/AllTests.php +++ b/tests/phpunit/CRM/Member/Form/AllTests.php @@ -44,7 +44,6 @@ class CRM_Member_Form_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php b/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php index b8f1235db0..64e0e5d94c 100644 --- a/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php +++ b/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php @@ -86,7 +86,6 @@ class CRM_Member_Import_Parser_MembershipTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { $tablesToTruncate = array('civicrm_membership', 'civicrm_membership_log', 'civicrm_contribution', 'civicrm_membership_payment'); diff --git a/tests/phpunit/CRM/PCP/BAO/PCPTest.php b/tests/phpunit/CRM/PCP/BAO/PCPTest.php index 791045e0d0..2109d38c09 100644 --- a/tests/phpunit/CRM/PCP/BAO/PCPTest.php +++ b/tests/phpunit/CRM/PCP/BAO/PCPTest.php @@ -38,7 +38,6 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -131,7 +130,6 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase { /** * Build params - * */ private function pcpBlockParams() { $contribPage = CRM_Core_DAO::createTestObject('CRM_Contribute_DAO_ContributionPage'); @@ -156,7 +154,6 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase { /** * Build params - * */ private function pcpParams() { $contact = CRM_Core_DAO::createTestObject('CRM_Contact_DAO_Contact'); @@ -184,7 +181,6 @@ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { } diff --git a/tests/phpunit/CRM/Pledge/AllTests.php b/tests/phpunit/CRM/Pledge/AllTests.php index 53fd640b2f..5df3bacd49 100644 --- a/tests/phpunit/CRM/Pledge/AllTests.php +++ b/tests/phpunit/CRM/Pledge/AllTests.php @@ -44,7 +44,6 @@ class CRM_Pledge_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php b/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php index ee9365aaa6..6554c4c52e 100644 --- a/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php +++ b/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php @@ -39,7 +39,6 @@ class CRM_Pledge_BAO_PledgeBlockTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -49,7 +48,6 @@ class CRM_Pledge_BAO_PledgeBlockTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { } diff --git a/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php b/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php index cc65a250ac..71891f2718 100644 --- a/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php +++ b/tests/phpunit/CRM/Pledge/BAO/PledgePaymentTest.php @@ -38,7 +38,6 @@ class CRM_Pledge_BAO_PledgePaymentTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -47,7 +46,6 @@ class CRM_Pledge_BAO_PledgePaymentTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { } diff --git a/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php b/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php index 860a9f3c09..d78063eec2 100644 --- a/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php +++ b/tests/phpunit/CRM/Pledge/BAO/PledgeTest.php @@ -39,7 +39,6 @@ class CRM_Pledge_BAO_PledgeTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -49,7 +48,6 @@ class CRM_Pledge_BAO_PledgeTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { } diff --git a/tests/phpunit/CRM/Queue/AllTests.php b/tests/phpunit/CRM/Queue/AllTests.php index 4c5a951827..c94da90e3d 100644 --- a/tests/phpunit/CRM/Queue/AllTests.php +++ b/tests/phpunit/CRM/Queue/AllTests.php @@ -44,7 +44,6 @@ class CRM_Queue_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Queue/Queue/AllTests.php b/tests/phpunit/CRM/Queue/Queue/AllTests.php index adf03c9d19..ea3675d9ec 100644 --- a/tests/phpunit/CRM/Queue/Queue/AllTests.php +++ b/tests/phpunit/CRM/Queue/Queue/AllTests.php @@ -44,7 +44,6 @@ class CRM_Queue_Queue_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CRM/Utils/Cache/AllTests.php b/tests/phpunit/CRM/Utils/Cache/AllTests.php index 9f87bede3f..03108aed0e 100644 --- a/tests/phpunit/CRM/Utils/Cache/AllTests.php +++ b/tests/phpunit/CRM/Utils/Cache/AllTests.php @@ -44,7 +44,6 @@ class CRM_Utils_Cache_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/Civi/AllTests.php b/tests/phpunit/Civi/AllTests.php index eb17fbeb37..dc1a56b1cf 100644 --- a/tests/phpunit/Civi/AllTests.php +++ b/tests/phpunit/Civi/AllTests.php @@ -44,7 +44,6 @@ class Civi_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/CiviTest/AuthorizeNet.php b/tests/phpunit/CiviTest/AuthorizeNet.php index 82432f9bf5..b8f9557693 100644 --- a/tests/phpunit/CiviTest/AuthorizeNet.php +++ b/tests/phpunit/CiviTest/AuthorizeNet.php @@ -39,7 +39,6 @@ class AuthorizeNet extends PHPUnit_Framework_Testcase { * to be deleted * @return boolean * true if payment processor deleted, false otherwise - * */ public function delete($id) { $paymentProcessor = new CRM_Financial_DAO_PaymentProcessor(); diff --git a/tests/phpunit/CiviTest/CiviCaseTestCase.php b/tests/phpunit/CiviTest/CiviCaseTestCase.php index e7997e6956..2530261397 100644 --- a/tests/phpunit/CiviTest/CiviCaseTestCase.php +++ b/tests/phpunit/CiviTest/CiviCaseTestCase.php @@ -125,7 +125,6 @@ class CiviCaseTestCase extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { $this->quickCleanup($this->tablesToTruncate, TRUE); diff --git a/tests/phpunit/CiviTest/CiviTestSuite.php b/tests/phpunit/CiviTest/CiviTestSuite.php index cd28f109d4..d5fe148beb 100644 --- a/tests/phpunit/CiviTest/CiviTestSuite.php +++ b/tests/phpunit/CiviTest/CiviTestSuite.php @@ -80,7 +80,6 @@ class CiviTestSuite extends PHPUnit_Framework_TestSuite { } /** - * */ protected function implSuite($myfile) { $name = str_replace('_', diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 930f6130b1..7151be3ac1 100755 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -2340,7 +2340,6 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase { * and debug related fields are unset * * @param array $result - * */ public function tidyExampleResult(&$result) { if (!is_array($result)) { @@ -2571,7 +2570,6 @@ AND ( TABLE_NAME LIKE 'civicrm_value_%' ) * Should the entity be deleted as part of this check. * @param string $errorText * Text to print on error. - * */ /** * @param array $params @@ -2649,7 +2647,6 @@ AND ( TABLE_NAME LIKE 'civicrm_value_%' ) * Actual calculated values. * @param array $expected * Expected values. - * */ public function checkArrayEquals(&$actual, &$expected) { self::unsetId($actual); @@ -2661,7 +2658,6 @@ AND ( TABLE_NAME LIKE 'civicrm_value_%' ) * Unset the key 'id' from the array * @param array $unformattedArray * The array from which the 'id' has to be unset. - * */ public static function unsetId(&$unformattedArray) { $formattedArray = array(); @@ -2979,7 +2975,6 @@ AND ( TABLE_NAME LIKE 'civicrm_value_%' ) * $this->createLoggedInUser(); * $this->_permissionedDisabledGroup = $this->groupCreate(array('title' => 'pick-me-disabled', 'is_active' => 0, 'name' => 'pick-me-disabled')); * $this->_permissionedGroup = $this->groupCreate(array('title' => 'pick-me-active', 'is_active' => 1, 'name' => 'pick-me-active')); - * */ public function setupACL() { global $_REQUEST; diff --git a/tests/phpunit/CiviTest/PCP.php b/tests/phpunit/CiviTest/PCP.php index 5391b3842a..93558d914f 100644 --- a/tests/phpunit/CiviTest/PCP.php +++ b/tests/phpunit/CiviTest/PCP.php @@ -12,7 +12,6 @@ class PCPBlock extends PHPUnit_Framework_Testcase { * to be deleted * @return array * of created pcp block - * */ public function create($contributionPageId) { $profileParams = array( @@ -97,7 +96,6 @@ class PCPBlock extends PHPUnit_Framework_Testcase { * to be deleted * @return boolean * true if success, false otherwise - * */ public function delete($params) { diff --git a/tests/phpunit/WebTest/AllTests.php b/tests/phpunit/WebTest/AllTests.php index f6bb7f4c7c..b9942504eb 100644 --- a/tests/phpunit/WebTest/AllTests.php +++ b/tests/phpunit/WebTest/AllTests.php @@ -39,7 +39,6 @@ class WebTest_AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php index 9ae0031e80..a6aa2a8107 100644 --- a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php +++ b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php @@ -373,7 +373,6 @@ class WebTest_Contact_SearchBuilderTest extends CiviSeleniumTestCase { /* * Webtest for CRM-12148 - * */ public function testSearchBuilderfinancialType() { $this->webtestLogin(); @@ -429,7 +428,6 @@ class WebTest_Contact_SearchBuilderTest extends CiviSeleniumTestCase { /* * Webtest for CRM-12588 - * */ public function testSearchBuilderMembershipType() { $this->webtestLogin(); diff --git a/tests/phpunit/WebTest/Event/AddParticipationTest.php b/tests/phpunit/WebTest/Event/AddParticipationTest.php index f144ca6042..442af61096 100644 --- a/tests/phpunit/WebTest/Event/AddParticipationTest.php +++ b/tests/phpunit/WebTest/Event/AddParticipationTest.php @@ -368,7 +368,6 @@ class WebTest_Event_AddParticipationTest extends CiviSeleniumTestCase { /* * Webtest for CRM-10983 - * */ public function testCheckDuplicateCustomDataLoad() { $this->webtestLogin(); diff --git a/tests/phpunit/WebTest/Event/AddPricesetTest.php b/tests/phpunit/WebTest/Event/AddPricesetTest.php index 63d963d781..48f8a9a740 100644 --- a/tests/phpunit/WebTest/Event/AddPricesetTest.php +++ b/tests/phpunit/WebTest/Event/AddPricesetTest.php @@ -505,7 +505,6 @@ class WebTest_Event_AddPricesetTest extends CiviSeleniumTestCase { * multiple price fields in price-set * CRM-11986 - * */ public function testEventWithPriceSet() { diff --git a/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php b/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php index bfe9aa3a97..3f67491d36 100644 --- a/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php +++ b/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php @@ -55,7 +55,6 @@ class ImportCiviSeleniumTestCase extends CiviSeleniumTestCase { * checkMapperHeaders : to override default check mapper headers * saveMapping : save current mapping? * saveMappingName : to override mapping name - * */ function importCSVComponent( $component, diff --git a/tests/phpunit/WebTest/Member/InheritedMembershipTest.php b/tests/phpunit/WebTest/Member/InheritedMembershipTest.php index a898a998b7..78e5327704 100644 --- a/tests/phpunit/WebTest/Member/InheritedMembershipTest.php +++ b/tests/phpunit/WebTest/Member/InheritedMembershipTest.php @@ -259,7 +259,6 @@ class WebTest_Member_InheritedMembershipTest extends CiviSeleniumTestCase { /* * Webtest for CRM-10146 - * */ public function testInheritedMembershipActivity() { // Log in using webtestLogin() method diff --git a/tests/phpunit/api/v3/APIWrapperTest.php b/tests/phpunit/api/v3/APIWrapperTest.php index 4542170697..d1f27390cf 100644 --- a/tests/phpunit/api/v3/APIWrapperTest.php +++ b/tests/phpunit/api/v3/APIWrapperTest.php @@ -43,7 +43,6 @@ class api_v3_APIWrapperTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); @@ -54,7 +53,6 @@ class api_v3_APIWrapperTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { parent::tearDown(); diff --git a/tests/phpunit/api/v3/ActivityTest.php b/tests/phpunit/api/v3/ActivityTest.php index dc1b8de9ec..2beacc9847 100644 --- a/tests/phpunit/api/v3/ActivityTest.php +++ b/tests/phpunit/api/v3/ActivityTest.php @@ -97,7 +97,6 @@ class api_v3_ActivityTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { $tablesToTruncate = array( diff --git a/tests/phpunit/api/v3/AddressTest.php b/tests/phpunit/api/v3/AddressTest.php index 8f4f80060a..b74c6bf1a9 100644 --- a/tests/phpunit/api/v3/AddressTest.php +++ b/tests/phpunit/api/v3/AddressTest.php @@ -299,7 +299,6 @@ class api_v3_AddressTest extends CiviUnitTestCase { } /** - * */ public function testGetWithCustom() { $ids = $this->entityCustomGroupWithSingleFieldCreate(__FUNCTION__, __FILE__); @@ -320,7 +319,6 @@ class api_v3_AddressTest extends CiviUnitTestCase { } /** - * */ public function testCreateAddressPrimaryHandlingChangeToPrimary() { $params = $this->_params; @@ -337,7 +335,6 @@ class api_v3_AddressTest extends CiviUnitTestCase { } /** - * */ public function testCreateAddressPrimaryHandlingChangeExisting() { $address1 = $this->callAPISuccess('address', 'create', $this->_params); diff --git a/tests/phpunit/api/v3/AllTests.php b/tests/phpunit/api/v3/AllTests.php index 65da48f3ee..467ef7ffc4 100644 --- a/tests/phpunit/api/v3/AllTests.php +++ b/tests/phpunit/api/v3/AllTests.php @@ -51,7 +51,6 @@ class api_v3_AllTests extends CiviTestSuite { } /** - * */ private static function getInstance() { if (is_null(self::$instance)) { diff --git a/tests/phpunit/api/v3/BatchTest.php b/tests/phpunit/api/v3/BatchTest.php index 80b204e4e3..a0e6c343cd 100644 --- a/tests/phpunit/api/v3/BatchTest.php +++ b/tests/phpunit/api/v3/BatchTest.php @@ -40,7 +40,6 @@ class api_v3_BatchTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/api/v3/CaseTypeTest.php b/tests/phpunit/api/v3/CaseTypeTest.php index da563fdda4..b5366899b6 100644 --- a/tests/phpunit/api/v3/CaseTypeTest.php +++ b/tests/phpunit/api/v3/CaseTypeTest.php @@ -65,7 +65,6 @@ class api_v3_CaseTypeTest extends CiviCaseTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ public function tearDown() { parent::tearDown(); diff --git a/tests/phpunit/api/v3/CountryTest.php b/tests/phpunit/api/v3/CountryTest.php index 8fe01544d9..f4e913e91d 100644 --- a/tests/phpunit/api/v3/CountryTest.php +++ b/tests/phpunit/api/v3/CountryTest.php @@ -104,7 +104,6 @@ class api_v3_CountryTest extends CiviUnitTestCase { /** * If a new country is created and it is created again it should not create a second one. * We check on the iso code (there should be only one iso code - * */ public function testCreateDuplicateFail() { $params = $this->_params; diff --git a/tests/phpunit/api/v3/DomainTest.php b/tests/phpunit/api/v3/DomainTest.php index d9fea6e95e..430f74d6cc 100644 --- a/tests/phpunit/api/v3/DomainTest.php +++ b/tests/phpunit/api/v3/DomainTest.php @@ -47,7 +47,6 @@ class api_v3_DomainTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/api/v3/GroupNestingTest.php b/tests/phpunit/api/v3/GroupNestingTest.php index bb13dfaeb8..c5037b8ca2 100644 --- a/tests/phpunit/api/v3/GroupNestingTest.php +++ b/tests/phpunit/api/v3/GroupNestingTest.php @@ -39,7 +39,6 @@ class api_v3_GroupNestingTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { $this->_apiversion = 3; @@ -76,7 +75,6 @@ class api_v3_GroupNestingTest extends CiviUnitTestCase { /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. - * */ protected function tearDown() { // Truncate the tables diff --git a/tests/phpunit/api/v3/GroupOrganizationTest.php b/tests/phpunit/api/v3/GroupOrganizationTest.php index 6119ec9d9b..a8f52b5490 100644 --- a/tests/phpunit/api/v3/GroupOrganizationTest.php +++ b/tests/phpunit/api/v3/GroupOrganizationTest.php @@ -39,7 +39,6 @@ class api_v3_GroupOrganizationTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { $this->_apiversion = 3; diff --git a/tests/phpunit/api/v3/JobProcessMailingTest.php b/tests/phpunit/api/v3/JobProcessMailingTest.php index 376750492c..4abb71115b 100644 --- a/tests/phpunit/api/v3/JobProcessMailingTest.php +++ b/tests/phpunit/api/v3/JobProcessMailingTest.php @@ -73,7 +73,6 @@ class api_v3_JobProcessMailingTest extends CiviUnitTestCase { } /** - * */ public function tearDown() { $this->_mut->stop(); diff --git a/tests/phpunit/api/v3/MessageTemplateTest.php b/tests/phpunit/api/v3/MessageTemplateTest.php index d67d68d5c4..29c1fbb580 100644 --- a/tests/phpunit/api/v3/MessageTemplateTest.php +++ b/tests/phpunit/api/v3/MessageTemplateTest.php @@ -68,7 +68,6 @@ class api_v3_MessageTemplateTest extends CiviUnitTestCase { * Test get function succeeds (this is actually largely tested in the get * action on create. Add extra checks for any 'special' return values or * behaviours - * */ public function testGet() { $result = $this->callAPIAndDocument('MessageTemplate', 'get', $this->params, __FUNCTION__, __FILE__); diff --git a/tests/phpunit/api/v3/PledgeTest.php b/tests/phpunit/api/v3/PledgeTest.php index f2181fa11e..08c4340d06 100644 --- a/tests/phpunit/api/v3/PledgeTest.php +++ b/tests/phpunit/api/v3/PledgeTest.php @@ -102,7 +102,6 @@ class api_v3_PledgeTest extends CiviUnitTestCase { } /* - * */ public function testgetfieldspledge() { $result = $this->callAPISuccess('pledge', 'getfields', array('action' => 'get')); @@ -300,7 +299,6 @@ class api_v3_PledgeTest extends CiviUnitTestCase { * * Pledge status id left empty as it is not a required field * http://issues.civicrm.org/jira/browse/CRM-8551 - * */ public function testCreatePledgeSinglePayment() { $params = array( diff --git a/tests/phpunit/api/v3/PriceSetTest.php b/tests/phpunit/api/v3/PriceSetTest.php index f73f5dc363..359e6665ee 100644 --- a/tests/phpunit/api/v3/PriceSetTest.php +++ b/tests/phpunit/api/v3/PriceSetTest.php @@ -59,7 +59,6 @@ class api_v3_PriceSetTest extends CiviUnitTestCase { } /** - * */ public function testCreatePriceSet() { $result = $this->callAPIAndDocument($this->_entity, 'create', $this->_params, __FUNCTION__, __FILE__); @@ -101,7 +100,6 @@ class api_v3_PriceSetTest extends CiviUnitTestCase { } /** - * */ public function testGetBasicPriceSet() { $getParams = array( diff --git a/tests/phpunit/api/v3/ReportTemplateTest.php b/tests/phpunit/api/v3/ReportTemplateTest.php index 659bff5df1..fa77b7a478 100644 --- a/tests/phpunit/api/v3/ReportTemplateTest.php +++ b/tests/phpunit/api/v3/ReportTemplateTest.php @@ -112,7 +112,6 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase { } /** - * */ public function testReportTemplateGetRowsContactSummary() { $description = "Retrieve rows from a report template (optionally providing the instance_id)"; diff --git a/tests/phpunit/api/v3/SurveyTest.php b/tests/phpunit/api/v3/SurveyTest.php index 1ad88c415f..d417856c96 100644 --- a/tests/phpunit/api/v3/SurveyTest.php +++ b/tests/phpunit/api/v3/SurveyTest.php @@ -79,7 +79,6 @@ class api_v3_SurveyTest extends CiviUnitTestCase { * Test get function succeeds (this is actually largely tested in the get * action on create. Add extra checks for any 'special' return values or * behaviours - * */ public function testGetSurvey() { $this->createTestEntity(); @@ -102,7 +101,6 @@ class api_v3_SurveyTest extends CiviUnitTestCase { * Test & document chained delete pattern. Note that explanation of the pattern * is best put in the $description variable as it will then be displayed in the * test generated examples. (these are to be found in the api/examples folder) - * */ public function testGetSurveyChainDelete() { $description = "demonstrates get + delete in the same call"; diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index 8e8fdcab12..ec1cf5f49e 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -677,7 +677,6 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { * @dataProvider entities_getlimit * * @param string $entityName - * */ public function testLimit($entityName) { $cases = array(); // each case is array(0 => $inputtedApiOptions, 1 => $expectedResultCount) @@ -743,7 +742,6 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { * @dataProvider entities_getSqlOperators * * @param string $entityName - * */ public function testSqlOperators($entityName) { $baoString = _civicrm_api3_get_BAO($entityName); @@ -1203,7 +1201,6 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { * Create two entities and make sure delete action only deletes one! * * @dataProvider entities_getfields - * */ public function testGetfieldsHasTitle($entity) { $entities = $this->getEntitiesSupportingCustomFields(); diff --git a/tests/phpunit/api/v3/SystemTest.php b/tests/phpunit/api/v3/SystemTest.php index ec6e258f14..66b4e788c0 100644 --- a/tests/phpunit/api/v3/SystemTest.php +++ b/tests/phpunit/api/v3/SystemTest.php @@ -40,7 +40,6 @@ class api_v3_SystemTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/api/v3/UtilsTest.php b/tests/phpunit/api/v3/UtilsTest.php index e07a0d83f0..84e0d089fe 100644 --- a/tests/phpunit/api/v3/UtilsTest.php +++ b/tests/phpunit/api/v3/UtilsTest.php @@ -42,7 +42,6 @@ class api_v3_UtilsTest extends CiviUnitTestCase { /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. - * */ protected function setUp() { parent::setUp(); -- 2.25.1