Skip to content

Commit

Permalink
Merge 23aaa2e into 1f4f55a
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Dec 16, 2021
2 parents 1f4f55a + 23aaa2e commit 1b871e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Differ/DiffConsoleFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static function (string $line) use ($isDecorated, $lineTemplate): string {
if ($isDecorated) {
$count = 0;
$line = Preg::replaceCallback(
'/^([+-@].*)/',
'/^([+\-@].*)/',
static function (array $matches): string {
if ('+' === $matches[0][0]) {
$colour = 'green';
Expand Down

0 comments on commit 1b871e2

Please sign in to comment.