Skip to content

Commit

Permalink
Merge pull request #10825 from mattwire/tag_deprecated_comments
Browse files Browse the repository at this point in the history
CRM-21036 NFC Change comments to tags so phpstorm picks up the deprecated functions
  • Loading branch information
eileenmcnaughton authored Aug 11, 2017
2 parents 57bd424 + 69af118 commit e3f6a2e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 4 additions & 5 deletions CRM/Campaign/PseudoConstant.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ class CRM_Campaign_PseudoConstant extends CRM_Core_PseudoConstant {
private static $engagementLevel;

/**
* DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
* @deprecated. Please use the buildOptions() method in the appropriate BAO object.
* Get all the survey activity types
*
*
* @param string $returnColumn
*
* @return array
Expand All @@ -87,7 +86,7 @@ public static function &activityType($returnColumn = 'name') {
}

/**
* DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
* @deprecated. Please use the buildOptions() method in the appropriate BAO object.
* Get all campaign types.
*
* The static array campaignType is returned
Expand All @@ -105,7 +104,7 @@ public static function &campaignType() {
}

/**
* DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
* @deprecated. Please use the buildOptions() method in the appropriate BAO object.
* Get all campaign status.
*
* The static array campaignStatus is returned
Expand All @@ -123,7 +122,7 @@ public static function &campaignStatus() {
}

/**
* DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
* @deprecated. Please use the buildOptions() method in the appropriate BAO object.
* Get all Engagement Level.
*
* The static array Engagement Level is returned
Expand Down
9 changes: 5 additions & 4 deletions CRM/Contribute/PseudoConstant.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ class CRM_Contribute_PseudoConstant extends CRM_Core_PseudoConstant {
private static $batch;

/**
* DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
* @deprecated. Please use the buildOptions() method in the appropriate BAO object.
*
*
* Get all the financial types
*
Expand Down Expand Up @@ -130,7 +131,7 @@ public static function &financialType($id = NULL, $includeDisabled = FALSE) {
}

/**
* DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
* @deprecated. Please use the buildOptions() method in the appropriate BAO object.
*
* Get all the financial Accounts
*
Expand Down Expand Up @@ -183,7 +184,7 @@ public static function flush($name = 'cache') {
}

/**
* DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
* @deprecated. Please use the buildOptions() method in the appropriate BAO object.
*
* Get all the contribution pages
*
Expand Down Expand Up @@ -218,7 +219,7 @@ public static function &contributionPage($id = NULL, $all = FALSE) {
}

/**
* DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
* @deprecated. Please use the buildOptions() method in the appropriate BAO object.
*
* Get all the payment instruments
*
Expand Down

0 comments on commit e3f6a2e

Please sign in to comment.