Skip to content

Commit

Permalink
Merge pull request #48 from snapshotpl/fix-docs-indent
Browse files Browse the repository at this point in the history
Fix docs indent in list
  • Loading branch information
Ocramius authored Jan 10, 2022
2 parents 0266c9c + 11c58cc commit cba75fa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/book/console-helper.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Writing one-off scripts or vendor binaries for a package is often problematic:

- You need to parse arguments manually.
- You need to send output to the console in a meaningful fashion:
- Using `STDOUT` for meaningful, expected output
- Using `STDERR` for error messages
- Ensuring any line breaks are converted to `PHP_EOL`
- Optionally, using console colors to provide context, which means:
- Detecting whether or not the console supports colors in the first place
- Providing appropriate escape sequences to produce color
- Using `STDOUT` for meaningful, expected output
- Using `STDERR` for error messages
- Ensuring any line breaks are converted to `PHP_EOL`
- Optionally, using console colors to provide context, which means:
- Detecting whether or not the console supports colors in the first place
- Providing appropriate escape sequences to produce color

`Laminas\Stdlib\ConsoleHelper` helps to address the second major bullet point and
all beneath it in a minimal fashion.
Expand Down

0 comments on commit cba75fa

Please sign in to comment.