From: Jakub Vrana Date: Sun, 28 Jul 2013 18:00:00 +0000 (-0700) Subject: Remove warning about deprecated phutil_render_tag() X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=19181fb3e896de1899d3794cd31534508e45f48c;p=arcanist.git Remove warning about deprecated phutil_render_tag() Test Plan: None. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6567 --- diff --git a/src/lint/linter/ArcanistPhutilXHPASTLinter.php b/src/lint/linter/ArcanistPhutilXHPASTLinter.php index 842e2b35..f7c6686c 100644 --- a/src/lint/linter/ArcanistPhutilXHPASTLinter.php +++ b/src/lint/linter/ArcanistPhutilXHPASTLinter.php @@ -196,11 +196,7 @@ final class ArcanistPhutilXHPASTLinter extends ArcanistBaseXHPASTLinter { } 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) {