Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15400024
D21505.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
738 B
Referenced Files
None
Subscribers
None
D21505.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 18, 9:11 AM (4 d, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7230141
Default Alt Text
D21505.diff (738 B)
Attached To
Mode
D21505: Fix ArcanistFormattedStringXHPASTLinterRule on older PHP after D21500
Attached
Detach File
Event Timeline
Log In to Comment