Page MenuHomePhabricator

D21505.id51179.diff
No OneTemporary

D21505.id51179.diff

diff --git a/src/lint/linter/xhpast/rules/ArcanistFormattedStringXHPASTLinterRule.php b/src/lint/linter/xhpast/rules/ArcanistFormattedStringXHPASTLinterRule.php
--- a/src/lint/linter/xhpast/rules/ArcanistFormattedStringXHPASTLinterRule.php
+++ b/src/lint/linter/xhpast/rules/ArcanistFormattedStringXHPASTLinterRule.php
@@ -94,10 +94,7 @@
$argv = array($format->evalStatic()) + array_fill(0, $argc, null);
try {
- xsprintf(
- 'ArcanistFormattedStringXHPASTLinterRule::processXsprintfCallback',
- null,
- $argv);
+ xsprintf(array(__CLASS__, 'processXsprintfCallback'), null, $argv);
} catch (BadFunctionCallException $ex) {
$this->raiseLintAtNode(
$call,

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 22, 5:23 AM (5 h, 21 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7230141
Default Alt Text
D21505.id51179.diff (738 B)

Event Timeline