]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Remove warning about deprecated phutil_render_tag()
authorJakub Vrana <jakub@vrana.cz>
Sun, 28 Jul 2013 18:00:00 +0000 (11:00 -0700)
committerJakub Vrana <jakub@vrana.cz>
Sun, 28 Jul 2013 18:00:00 +0000 (11:00 -0700)
Test Plan: None.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D6567

src/lint/linter/ArcanistPhutilXHPASTLinter.php

index 842e2b3552486e91e6ea2c508f6c95a0ec03d8db..f7c6686cf59693652c3d49416642132bc814dae5 100644 (file)
@@ -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) {