CRM-14106 - Regex targeting inline conditonal statements

Pattern used:
=\s*CRM_Utils_Array::value\s*\([ ]*(['"$0-9][^,]*),\s*(\$[^ )]*)\s*\)\s*\?
= \!empty\($2\[$1\]\) \?
CRM-14106 - Regex targeting the first part of if statements

Pattern used
if\s*\(\s*CRM_Utils_Array::value\s*\([ ]*(['"$0-9][^,]*),\s*(\$[^ )]*)\s*\)\s*(\&\&|\|\||\))
if \(!empty\($2\[$1\]\)$3
CRM-14106 - Regex targeting other conditionals

Pattern used:
\s*(&&|\|\|)\s*CRM_Utils_Array::value\s*\([ ]*(['"$0-9][^,]*),\s*(\$[^ )]*)\s*\)\s*(\&\&|\|\||\))
 $1 !empty\($3\[$2\]\)$4
Merge pull request #2391 from colemanw/arrayEmpty

Mass replace CRM_Utils_Array::value() with !empty for performance & readability
Merge pull request #2393 from yashodha/HR-252

HR-252 : limit activity types to NULL grouping
fix activity type name/label in api's