mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
Fix a PHP 8.1 issue in lint rendering
Summary: Ref T13588. The lint renderer has some "strlen(null)" issues; correct them. Test Plan: Hit lint messages under PHP 8.1. Reviewers: 0 Subscribers: jeremy.norris, vostok4, vhbit, jaydiablo, 0 Maniphest Tasks: T13588 Differential Revision: https://secure.phabricator.com/D21743
This commit is contained in:
parent
f0a2b699ba
commit
21c44d6bed
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,8 @@ final class ArcanistConsoleLintRenderer extends ArcanistLintRenderer {
|
|||
$message = $message->newTrimmedMessage();
|
||||
|
||||
$original = $message->getOriginalText();
|
||||
$original = phutil_string_cast($original);
|
||||
|
||||
$replacement = $message->getReplacementText();
|
||||
|
||||
$line = $message->getLine();
|
||||
|
|
Loading…
Reference in a new issue