Skip to content

Commit ea2d43d

Browse files
committed
docs: adjust demo colors
Signed-off-by: Jack Cherng <[email protected]>
1 parent 5c4ad5a commit ea2d43d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/demo_cli.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
new OutputFormatter(
1515
false,
1616
[
17-
'section' => new OutputFormatterStyle('white', 'cyan', ['bold']),
17+
'section' => new OutputFormatterStyle('black', 'cyan', []),
1818
]
1919
)
2020
);
2121

22-
$output->writeln("<section>Unified Diff\n============\n</>");
22+
$output->write("<section>Unified Diff\n============</>\n\n");
2323

2424
// generate a unified diff
2525
$unifiedResult = DiffHelper::calculate(
@@ -32,7 +32,7 @@
3232

3333
echo $unifiedResult . "\n\n\n\n";
3434

35-
$output->writeln("<section>Context Diff\n============\n</>");
35+
$output->write("<section>Context Diff\n============</>\n\n");
3636

3737
// generate a context diff
3838
$contextResult = DiffHelper::calculate(

0 commit comments

Comments
 (0)