Page MenuHomePhabricator

D9040.id21465.diff
No OneTemporary

D9040.id21465.diff

diff --git a/src/lint/linter/ArcanistPhutilXHPASTLinter.php b/src/lint/linter/ArcanistPhutilXHPASTLinter.php
--- a/src/lint/linter/ArcanistPhutilXHPASTLinter.php
+++ b/src/lint/linter/ArcanistPhutilXHPASTLinter.php
@@ -107,7 +107,7 @@
}
- private function lintUnsafeDynamicString($root) {
+ private function lintUnsafeDynamicString(XHPASTNode $root) {
$safe = $this->dynamicStringFunctions + array(
'pht' => 0,
@@ -175,7 +175,7 @@
}
- private function lintArrayCombine($root) {
+ private function lintArrayCombine(XHPASTNode $root) {
$function_calls = $root->selectDescendantsOfType('n_FUNCTION_CALL');
foreach ($function_calls as $call) {
$name = $call->getChildByIndex(0)->getConcreteString();
@@ -200,7 +200,7 @@
}
}
- private function lintDeprecatedFunctions($root) {
+ private function lintDeprecatedFunctions(XHPASTNode $root) {
$map = $this->deprecatedFunctions;
$function_calls = $root->selectDescendantsOfType('n_FUNCTION_CALL');

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 2:32 PM (8 h, 50 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6932125
Default Alt Text
D9040.id21465.diff (1013 B)

Event Timeline