From: Tim Otten Date: Sat, 8 Aug 2015 04:04:53 +0000 (-0700) Subject: INFRA-142 - Add .toxic.json X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6f7e1950217e450640fe82f11d2dfabaccdcf862;p=civicrm-core.git INFRA-142 - Add .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