mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-07 21:31:01 +01:00
be67df6118
Summary: Ref T9846. Sometimes, a lint message says to replace "the big bad wolf" with "the huge bad wolf": that is, the original and replacement text are the same at the beginning, or the end, or both. To make this easier for humans to understand, we want to just show that "big" is being replaced with "huge", not that the entire phrase is being replaced. This logic currently happens inline in console rendering. Pull it out and cover it so a future change can simplify console rendering. Test Plan: Ran unit tests. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9846 Differential Revision: https://secure.phabricator.com/D18509 |
||
---|---|---|
.. | ||
__tests__ | ||
engine | ||
linter | ||
renderer | ||
ArcanistLintMessage.php | ||
ArcanistLintPatcher.php | ||
ArcanistLintResult.php | ||
ArcanistLintSeverity.php |