mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-03-28 20:18:12 +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();
|
$text = $message->getOriginalText();
|
||||||
$start = $message->getChar() - 1;
|
$start = $message->getChar() - 1;
|
||||||
|
$patch = '';
|
||||||
// Refine original and replacement text to eliminate start and end in common
|
// Refine original and replacement text to eliminate start and end in common
|
||||||
if ($message->isPatchable()) {
|
if ($message->isPatchable()) {
|
||||||
$patch = $message->getReplacementText();
|
$patch = $message->getReplacementText();
|
||||||
|
|
Loading…
Add table
Reference in a new issue