Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14078294
D12871.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
476 B
Referenced Files
None
Subscribers
None
D12871.diff
View Options
diff --git a/src/lint/linter/ArcanistXHPASTLinter.php b/src/lint/linter/ArcanistXHPASTLinter.php
--- a/src/lint/linter/ArcanistXHPASTLinter.php
+++ b/src/lint/linter/ArcanistXHPASTLinter.php
@@ -3450,7 +3450,7 @@
$this->raiseLintAtNode(
$call,
self::LINT_FORMATTED_STRING,
- $ex->getMessage());
+ str_replace('xsprintf', $name, $ex->getMessage()));
} catch (InvalidArgumentException $ex) {
// Ignore.
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 3:07 AM (9 h, 25 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6774903
Default Alt Text
D12871.diff (476 B)
Attached To
Mode
D12871: Improve error message from ArcanistXHPASTLinter::LINT_FORMATTED_STRING
Attached
Detach File
Event Timeline
Log In to Comment