Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14080128
D12871.id.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.id.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, 11:39 AM (18 h, 6 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6774903
Default Alt Text
D12871.id.diff (476 B)
Attached To
Mode
D12871: Improve error message from ArcanistXHPASTLinter::LINT_FORMATTED_STRING
Attached
Detach File
Event Timeline
Log In to Comment