Merge pull request #10785 from kenwest/CRM-20982
[civicrm-core.git] / .toxic.json
index 0cbbda29961301c037cce59dc12cc84e73be6cff..5d1f2a3d854bb300cd7cf6001d76ae35cbd38251 100644 (file)
@@ -1,6 +1,6 @@
 {
   "templates": {
-    "toxicAlert": "(Automated notice) This pull-request modifies {SYMBOLS}. That code has been previously identified as toxic. You will need to ensure that any fix that touches this function works on 4.7 as well. Most likely you will need to do a separate, different PR for 4.7. Alternatively you might manage your fix outside of core for 4.6 and get a fix into 4.7 to ensure a permanent fix"
+    "toxicAlert": "<img alt=\"Please: Help save the fish from toxic code\" src=\"https://civicrm.org/sites/civicrm.org/files/HazCode-Please.png\">\n\n(Automated notice) This pull-request modifies {SYMBOLS}. That code has been previously identified as hazardous. For advice on dealing with it, please review [Toxic Code Protocol](http://wiki.civicrm.org/confluence/display/CRM/Toxic+Code+Protocol)."
   },
   "checks": {
     "CRM_Contact_Import_Parser_Contact::import()": "toxicAlert",
@@ -12,6 +12,7 @@
     "CRM_Contact_Import_Form_MapField::buildQuickForm()": "toxicAlert",
     "CRM_Contribute_Form_Contribution_Main::formRule()": "toxicAlert",
     "CRM_Event_Form_Registration_Confirm::postProcess()": "toxicAlert",
+    "CRM_Event_BAO_Event::displayProfile()": "toxicAlert",
     "CRM_Contribute_Form_Contribution_Confirm::postProcess()": "toxicAlert"
   }
-}
+}
\ No newline at end of file