From 6f7e1950217e450640fe82f11d2dfabaccdcf862 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 7 Aug 2015 21:04:53 -0700 Subject: [PATCH] INFRA-142 - Add .toxic.json --- .toxic.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .toxic.json diff --git a/.toxic.json b/.toxic.json new file mode 100644 index 0000000000..64e23875f2 --- /dev/null +++ b/.toxic.json @@ -0,0 +1,17 @@ +{ + "templates": { + "toxicAlert": "\"Please:\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", + "CRM_Core_BAO_Mapping::buildMappingForm()": "toxicAlert", + "CRM_Event_Form_Participant::postProcess()": "toxicAlert", + "CRM_Export_BAO_Export::exportComponents()": "toxicAlert", + "CRM_Member_Form_Membership::postProcess()": "toxicAlert", + "CRM_Contribute_Form_Contribution::postProcess()": "toxicAlert", + "CRM_Contact_Import_Form_MapField::buildQuickForm()": "toxicAlert", + "CRM_Contribute_Form_Contribution_Main::formRule()": "toxicAlert", + "CRM_Event_Form_Registration_Confirm::postProcess()": "toxicAlert", + "CRM_Contribute_Form_Contribution_Confirm::postProcess()": "toxicAlert" + } +} \ No newline at end of file -- 2.25.1