mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 23:02:41 +01:00
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
This commit is contained in:
parent
12f2175da1
commit
19181fb3e8
1 changed files with 1 additions and 5 deletions
|
@ -196,11 +196,7 @@ final class ArcanistPhutilXHPASTLinter extends ArcanistBaseXHPASTLinter {
|
||||||
}
|
}
|
||||||
|
|
||||||
private function lintDeprecatedFunctions($root) {
|
private function lintDeprecatedFunctions($root) {
|
||||||
$map = $this->deprecatedFunctions + array(
|
$map = $this->deprecatedFunctions;
|
||||||
'phutil_render_tag' =>
|
|
||||||
'The phutil_render_tag() function is deprecated and unsafe. '.
|
|
||||||
'Use phutil_tag() instead.',
|
|
||||||
);
|
|
||||||
|
|
||||||
$function_calls = $root->selectDescendantsOfType('n_FUNCTION_CALL');
|
$function_calls = $root->selectDescendantsOfType('n_FUNCTION_CALL');
|
||||||
foreach ($function_calls as $call) {
|
foreach ($function_calls as $call) {
|
||||||
|
|
Loading…
Reference in a new issue