mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Initialize variable in lint patch output
This commit is contained in:
parent
c4773c87ba
commit
955bfb5581
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ final class ArcanistLintConsoleRenderer extends ArcanistLintRenderer {
|
|||
|
||||
$text = $message->getOriginalText();
|
||||
$start = $message->getChar() - 1;
|
||||
$patch = '';
|
||||
// Refine original and replacement text to eliminate start and end in common
|
||||
if ($message->isPatchable()) {
|
||||
$patch = $message->getReplacementText();
|
||||
|
|
Loading…
Reference in a new issue