From 19181fb3e896de1899d3794cd31534508e45f48c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 28 Jul 2013 11:00:00 -0700 Subject: [PATCH] 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 --- src/lint/linter/ArcanistPhutilXHPASTLinter.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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) {