in src/CLIColoredUnifiedDiff.php [89:107]
protected static function colorInsertLineWithIntralineEdits(
vec<DiffOp<string>> $ops,
): string {
$line = self::INSERT_COLOR.'+';
foreach ($ops as $op) {
if ($op->isKeepOp()) {
$line .= $op->getContent();
continue;
}
if ($op->isInsertOp()) {
$line .= self::INTRALINE_INSERT_COLOR.
$op->getContent().
self::RESET.
self::INSERT_COLOR;
continue;
}
}
return $line.self::RESET;
}