Run 'full drupal strictness' standard over api/v3/examples
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 16 Jan 2022 22:27:35 +0000 (11:27 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 16 Jan 2022 22:27:35 +0000 (11:27 +1300)
commit85651a607a837a25a272516a011f36af5f12650d
tree94a7753c4478be2edfa25d6f6264d1a6a3fc8b49
parent102822230163255407825d0b3ccbfdb10c456208
Run 'full drupal strictness' standard over api/v3/examples

I just removed all the rules we weren't enforcing cos too-hard from
our drupal code standard & ran phpcbf over the directory. I figure
we aren't really updating these so getting them to what strict phpcs will
tolerate could save time when we next tighten the noose
and if someone ever regenerates them
they can deal with re-running it or improving the tpl
305 files changed:
api/v3/examples/Activity/ContactRefCustomField.ex.php
api/v3/examples/Activity/ContactRefCustomFieldGet.ex.php
api/v3/examples/Activity/Create.ex.php
api/v3/examples/Activity/DateTimeHigh.ex.php
api/v3/examples/Activity/DateTimeLow.ex.php
api/v3/examples/Activity/Delete.ex.php
api/v3/examples/Activity/Get.ex.php
api/v3/examples/Activity/GetFields.ex.php
api/v3/examples/Activity/GetTargetandAssignee.ex.php
api/v3/examples/Activity/GetTargetandAssigneeName.ex.php
api/v3/examples/Activity/ReturnAssigneeContact.ex.php
api/v3/examples/ActivityContact/Create.ex.php
api/v3/examples/ActivityContact/Delete.ex.php
api/v3/examples/ActivityType/Create.ex.php
api/v3/examples/ActivityType/Get.ex.php
api/v3/examples/Address/AddressLike.ex.php
api/v3/examples/Address/AddressParse.ex.php
api/v3/examples/Address/AddressSort.ex.php
api/v3/examples/Address/Create.ex.php
api/v3/examples/Address/Delete.ex.php
api/v3/examples/Address/Get.ex.php
api/v3/examples/Address/GetOptions.ex.php
api/v3/examples/Batch/Create.ex.php
api/v3/examples/Batch/Delete.ex.php
api/v3/examples/Batch/Get.ex.php
api/v3/examples/Batch/Update.ex.php
api/v3/examples/Campaign/Create.ex.php
api/v3/examples/Campaign/Delete.ex.php
api/v3/examples/Campaign/Get.ex.php
api/v3/examples/Case/Create.ex.php
api/v3/examples/CaseContact/Create.ex.php
api/v3/examples/CaseContact/Get.ex.php
api/v3/examples/Constant/Get.ex.php
api/v3/examples/Contact/APIChainedArray.ex.php
api/v3/examples/Contact/APIChainedArrayFormats.ex.php
api/v3/examples/Contact/APIChainedArrayMultipleCustom.ex.php
api/v3/examples/Contact/APIChainedArrayValuesFromSiblingFunction.ex.php
api/v3/examples/Contact/ChainTwoWebsites.ex.php
api/v3/examples/Contact/ChainTwoWebsitesSyntax2.ex.php
api/v3/examples/Contact/ContactIDOfLoggedInUserContactAPI.ex.php
api/v3/examples/Contact/Create.ex.php
api/v3/examples/Contact/CreateParticipantPayment.ex.php
api/v3/examples/Contact/CustomFieldGet.ex.php
api/v3/examples/Contact/CustomFieldGetReturnSyntaxVariation.ex.php
api/v3/examples/Contact/Delete.ex.php
api/v3/examples/Contact/FormatIsSuccess_Fail.ex.php
api/v3/examples/Contact/FormatIsSuccess_True.ex.php
api/v3/examples/Contact/FormatOnlyID.ex.php
api/v3/examples/Contact/FormatSingleValue.ex.php
api/v3/examples/Contact/Get.ex.php
api/v3/examples/Contact/GetActions.ex.php
api/v3/examples/Contact/GetCountContact.ex.php
api/v3/examples/Contact/GetFieldsOptions.ex.php
api/v3/examples/Contact/GetMergedfrom.ex.php
api/v3/examples/Contact/GetMergedto.ex.php
api/v3/examples/Contact/GetOptions.ex.php
api/v3/examples/Contact/GetSingleContact.ex.php
api/v3/examples/Contact/GetUnique.ex.php
api/v3/examples/Contact/GroupFilterUsingContactAPI.ex.php
api/v3/examples/Contact/NestedReplaceEmail.ex.php
api/v3/examples/Contribution/ContributionCreateWithHonoreeContact.ex.php
api/v3/examples/Contribution/ContributionCreateWithNote.ex.php
api/v3/examples/Contribution/ContributionCreateWithSoftCredit.ex.php
api/v3/examples/Contribution/ContributionCreateWithSoftCreditDefaults.ex.php
api/v3/examples/Contribution/Create.ex.php
api/v3/examples/Contribution/CreateWithNestedLineItems.ex.php
api/v3/examples/Contribution/Delete.ex.php
api/v3/examples/Contribution/Get.ex.php
api/v3/examples/Contribution/GetUnique.ex.php
api/v3/examples/ContributionPage/Create.ex.php
api/v3/examples/ContributionPage/Delete.ex.php
api/v3/examples/ContributionPage/Get.ex.php
api/v3/examples/ContributionPage/Submit.ex.php
api/v3/examples/ContributionRecur/Create.ex.php
api/v3/examples/ContributionRecur/Delete.ex.php
api/v3/examples/ContributionRecur/Get.ex.php
api/v3/examples/ContributionSoft/Create.ex.php
api/v3/examples/ContributionSoft/Delete.ex.php
api/v3/examples/ContributionSoft/Get.ex.php
api/v3/examples/Country/Create.ex.php
api/v3/examples/Country/Delete.ex.php
api/v3/examples/Country/Get.ex.php
api/v3/examples/CustomField/Create.ex.php
api/v3/examples/CustomField/Delete.ex.php
api/v3/examples/CustomGroup/Create.ex.php
api/v3/examples/CustomGroup/Delete.ex.php
api/v3/examples/CustomGroup/Get.ex.php
api/v3/examples/CustomValue/Create.ex.php
api/v3/examples/CustomValue/FormatFieldName.ex.php
api/v3/examples/CustomValue/Get.ex.php
api/v3/examples/Domain/Create.ex.php
api/v3/examples/Domain/Get.ex.php
api/v3/examples/Email/Create.ex.php
api/v3/examples/Email/Delete.ex.php
api/v3/examples/Email/Replace.ex.php
api/v3/examples/EntityBatch/Create.ex.php
api/v3/examples/EntityBatch/Delete.ex.php
api/v3/examples/EntityBatch/Get.ex.php
api/v3/examples/EntityTag/Create.ex.php
api/v3/examples/EntityTag/Delete.ex.php
api/v3/examples/EntityTag/Get.ex.php
api/v3/examples/Event/ContactRefCustomField.ex.php
api/v3/examples/Event/Create.ex.php
api/v3/examples/Event/Delete.ex.php
api/v3/examples/Event/Get.ex.php
api/v3/examples/Event/IsCurrentOption.ex.php
api/v3/examples/Event/IsFullOption.ex.php
api/v3/examples/Grant/Create.ex.php
api/v3/examples/Grant/Delete.ex.php
api/v3/examples/Grant/Get.ex.php
api/v3/examples/Group/Get.ex.php
api/v3/examples/Group/GetFields.ex.php
api/v3/examples/GroupContact/Create.ex.php
api/v3/examples/GroupContact/Delete.ex.php
api/v3/examples/GroupContact/Get.ex.php
api/v3/examples/GroupContact/GetWithGroupID.ex.php
api/v3/examples/GroupNesting/Create.ex.php
api/v3/examples/GroupNesting/Delete.ex.php
api/v3/examples/GroupNesting/Get.ex.php
api/v3/examples/GroupOrganization/Create.ex.php
api/v3/examples/GroupOrganization/Delete.ex.php
api/v3/examples/GroupOrganization/Get.ex.php
api/v3/examples/Im/Create.ex.php
api/v3/examples/Im/Delete.ex.php
api/v3/examples/Im/Get.ex.php
api/v3/examples/Job/Clone.ex.php
api/v3/examples/Job/Create.ex.php
api/v3/examples/Job/Delete.ex.php
api/v3/examples/LineItem/Create.ex.php
api/v3/examples/LineItem/Delete.ex.php
api/v3/examples/LineItem/Get.ex.php
api/v3/examples/LocBlock/Create.ex.php
api/v3/examples/LocBlock/CreateEntities.ex.php
api/v3/examples/LocBlock/Get.ex.php
api/v3/examples/Logging/Get.ex.php
api/v3/examples/Logging/Revert.ex.php
api/v3/examples/MailSettings/ChainedGetDelete.ex.php
api/v3/examples/MailSettings/Create.ex.php
api/v3/examples/MailSettings/Delete.ex.php
api/v3/examples/MailSettings/Get.ex.php
api/v3/examples/MailSettings/GetOptions.ex.php
api/v3/examples/Mailing/Clone.ex.php
api/v3/examples/Mailing/Create.ex.php
api/v3/examples/Mailing/Delete.ex.php
api/v3/examples/Mailing/GetTokens.ex.php
api/v3/examples/Mailing/Submit.ex.php
api/v3/examples/MailingAB/Create.ex.php
api/v3/examples/MailingEventSubscribe/Create.ex.php
api/v3/examples/MailingGroup/Subscribe.ex.php
api/v3/examples/Mapping/Create.ex.php
api/v3/examples/Mapping/Delete.ex.php
api/v3/examples/Mapping/Get.ex.php
api/v3/examples/MappingField/Create.ex.php
api/v3/examples/MappingField/Delete.ex.php
api/v3/examples/MappingField/Get.ex.php
api/v3/examples/Membership/Create.ex.php
api/v3/examples/Membership/CreateWithCustomData.ex.php
api/v3/examples/Membership/Delete.ex.php
api/v3/examples/Membership/FilterIsCurrent.ex.php
api/v3/examples/Membership/Get.ex.php
api/v3/examples/Membership/SearchWithCustomData.ex.php
api/v3/examples/Membership/UpdateCustomData.ex.php
api/v3/examples/MembershipPayment/Create.ex.php
api/v3/examples/MembershipPayment/Get.ex.php
api/v3/examples/MembershipStatus/Create.ex.php
api/v3/examples/MembershipStatus/Get.ex.php
api/v3/examples/MembershipType/Create.ex.php
api/v3/examples/MembershipType/Delete.ex.php
api/v3/examples/MembershipType/Get.ex.php
api/v3/examples/MessageTemplate/Create.ex.php
api/v3/examples/MessageTemplate/Delete.ex.php
api/v3/examples/MessageTemplate/Get.ex.php
api/v3/examples/Note/Create.ex.php
api/v3/examples/Note/Delete.ex.php
api/v3/examples/Note/Get.ex.php
api/v3/examples/OpenID/Create.ex.php
api/v3/examples/OpenID/Delete.ex.php
api/v3/examples/OpenID/Get.ex.php
api/v3/examples/OptionGroup/Create.ex.php
api/v3/examples/OptionGroup/Delete.ex.php
api/v3/examples/OptionGroup/Get.ex.php
api/v3/examples/OptionValue/Get.ex.php
api/v3/examples/OptionValue/SortOption.ex.php
api/v3/examples/Order/Cancel.ex.php
api/v3/examples/Order/Create.ex.php
api/v3/examples/Order/CreateOrderParticipant.ex.php
api/v3/examples/Order/Delete.ex.php
api/v3/examples/Order/Get.ex.php
api/v3/examples/Participant/Create.ex.php
api/v3/examples/Participant/Get.ex.php
api/v3/examples/Participant/NestedDelete.ex.php
api/v3/examples/Participant/NestedEventGet.ex.php
api/v3/examples/ParticipantPayment/Create.ex.php
api/v3/examples/ParticipantPayment/Delete.ex.php
api/v3/examples/ParticipantPayment/Get.ex.php
api/v3/examples/ParticipantStatusType/Create.ex.php
api/v3/examples/ParticipantStatusType/Delete.ex.php
api/v3/examples/ParticipantStatusType/Get.ex.php
api/v3/examples/Payment/Cancel.ex.php
api/v3/examples/Payment/Create.ex.php
api/v3/examples/Payment/CreatePaymentWithLineItems.ex.php
api/v3/examples/Payment/Delete.ex.php
api/v3/examples/Payment/Get.ex.php
api/v3/examples/Payment/UpdatePayment.ex.php
api/v3/examples/PaymentProcessor/Create.ex.php
api/v3/examples/PaymentProcessor/Delete.ex.php
api/v3/examples/PaymentProcessorType/Create.ex.php
api/v3/examples/PaymentProcessorType/Delete.ex.php
api/v3/examples/PaymentToken/Create.ex.php
api/v3/examples/PaymentToken/Delete.ex.php
api/v3/examples/PaymentToken/Get.ex.php
api/v3/examples/Pcp/ChainedGetDelete.ex.php
api/v3/examples/Pcp/Create.ex.php
api/v3/examples/Pcp/Delete.ex.php
api/v3/examples/Pcp/Get.ex.php
api/v3/examples/Phone/Create.ex.php
api/v3/examples/Phone/Delete.ex.php
api/v3/examples/Phone/Get.ex.php
api/v3/examples/Phone/GetOptions.ex.php
api/v3/examples/Pledge/Create.ex.php
api/v3/examples/Pledge/Delete.ex.php
api/v3/examples/Pledge/Get.ex.php
api/v3/examples/Pledge/GetFilterHighDate.ex.php
api/v3/examples/PledgePayment/Create.ex.php
api/v3/examples/PledgePayment/Delete.ex.php
api/v3/examples/PledgePayment/Get.ex.php
api/v3/examples/PledgePayment/Update.ex.php
api/v3/examples/PriceField/Create.ex.php
api/v3/examples/PriceField/Delete.ex.php
api/v3/examples/PriceField/Get.ex.php
api/v3/examples/PriceFieldValue/Create.ex.php
api/v3/examples/PriceFieldValue/Delete.ex.php
api/v3/examples/PriceFieldValue/Get.ex.php
api/v3/examples/PriceSet/Create.ex.php
api/v3/examples/PriceSet/Delete.ex.php
api/v3/examples/PriceSet/Get.ex.php
api/v3/examples/Profile/Apply.ex.php
api/v3/examples/Profile/Get.ex.php
api/v3/examples/Profile/GetFields.ex.php
api/v3/examples/Profile/Submit.ex.php
api/v3/examples/Relationship/BetweenRelationshipType.ex.php
api/v3/examples/Relationship/Create.ex.php
api/v3/examples/Relationship/Delete.ex.php
api/v3/examples/Relationship/Get.ex.php
api/v3/examples/Relationship/INRelationshipType.ex.php
api/v3/examples/Relationship/NotBetweenRelationshipType.ex.php
api/v3/examples/Relationship/NotInRelationshipType.ex.php
api/v3/examples/Relationship/filterIsCurrent.ex.php
api/v3/examples/RelationshipType/Create.ex.php
api/v3/examples/RelationshipType/Delete.ex.php
api/v3/examples/ReportTemplate/Getrows.ex.php
api/v3/examples/ReportTemplate/Getstatistics.ex.php
api/v3/examples/SavedSearch/Create.ex.php
api/v3/examples/SavedSearch/Delete.ex.php
api/v3/examples/SavedSearch/Get.ex.php
api/v3/examples/Setting/Create.ex.php
api/v3/examples/Setting/CreateAllDomains.ex.php
api/v3/examples/Setting/CreateSettingCurrentDomain.ex.php
api/v3/examples/Setting/CreateSpecifiedDomains.ex.php
api/v3/examples/Setting/Get.ex.php
api/v3/examples/Setting/GetAllDomains.ex.php
api/v3/examples/Setting/GetDefaults.ex.php
api/v3/examples/Setting/GetFields.ex.php
api/v3/examples/Setting/GetSettingCurrentDomain.ex.php
api/v3/examples/Setting/GetSpecifiedDomains.ex.php
api/v3/examples/Setting/GetValue.ex.php
api/v3/examples/Setting/Revert.ex.php
api/v3/examples/StateProvince/Create.ex.php
api/v3/examples/StateProvince/Delete.ex.php
api/v3/examples/StateProvince/Get.ex.php
api/v3/examples/StatusPreference/Create.ex.php
api/v3/examples/StatusPreference/Delete.ex.php
api/v3/examples/StatusPreference/Get.ex.php
api/v3/examples/Survey/ChainedGetDelete.ex.php
api/v3/examples/Survey/Create.ex.php
api/v3/examples/Survey/Delete.ex.php
api/v3/examples/Survey/Get.ex.php
api/v3/examples/SurveyRespondant/Get.ex.php
api/v3/examples/System/Flush.ex.php
api/v3/examples/Tag/Create.ex.php
api/v3/examples/Tag/Delete.ex.php
api/v3/examples/Tag/Get.ex.php
api/v3/examples/Tag/GetFields.ex.php
api/v3/examples/Tag/GetList.ex.php
api/v3/examples/Tag/GetReturnArray.ex.php
api/v3/examples/TaxContributionPage/Create.ex.php
api/v3/examples/TaxContributionPage/CreateWithNestedLineItems.ex.php
api/v3/examples/TaxContributionPage/Delete.ex.php
api/v3/examples/UFField/Create.ex.php
api/v3/examples/UFField/Delete.ex.php
api/v3/examples/UFField/Get.ex.php
api/v3/examples/UFField/Replace.ex.php
api/v3/examples/UFGroup/Create.ex.php
api/v3/examples/UFGroup/Delete.ex.php
api/v3/examples/UFGroup/Get.ex.php
api/v3/examples/UFJoin/Create.ex.php
api/v3/examples/UFJoin/Get.ex.php
api/v3/examples/UFMatch/Get.ex.php
api/v3/examples/User/Get.ex.php
api/v3/examples/User/GetFields.ex.php
api/v3/examples/Website/Create.ex.php
api/v3/examples/Website/Delete.ex.php
api/v3/examples/Website/Get.ex.php
api/v3/examples/Website/GetFields.ex.php
api/v3/examples/Website/GetWithMetadata.ex.php