Test Plan: None.
Reviewers: epriestley
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D6567
}
private function lintDeprecatedFunctions($root) {
- $map = $this->deprecatedFunctions + array(
- 'phutil_render_tag' =>
- 'The phutil_render_tag() function is deprecated and unsafe. '.
- 'Use phutil_tag() instead.',
- );
+ $map = $this->deprecatedFunctions;
$function_calls = $root->selectDescendantsOfType('n_FUNCTION_CALL');
foreach ($function_calls as $call) {