Page MenuHomePhabricator

D12871.diff
No OneTemporary

D12871.diff

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

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)

Event Timeline