Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.19
-
Fix Version/s: 4.7.19
-
Component/s: Core CiviCRM
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:Developer Doc
-
Funding Source:Contributed Code
-
Verified?:No
Description
We seem to be finding people are adding calls to deprecated code despite code comments. Instead lets find a way to mark parts of code so they fail tests!
Currently looking at a format like
Civi::log()->warning('Deprecated function, use CRM_Core_Pseudoconsant::getKey', array(
'civi.tag' => 'deprecated',
));
Attachments
Issue Links
- links to