Page MenuHomePhabricator

D9040.diff
No OneTemporary

D9040.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
Tue, Oct 22, 10:59 PM (3 w, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6728071
Default Alt Text
D9040.diff (1013 B)

Event Timeline