PHP_CodeSniffer icon indicating copy to clipboard operation
PHP_CodeSniffer copied to clipboard

Use colour to help with legibility in error message for `--sniffs` and `--exclude` parameters

Open fredden opened this issue 11 months ago • 1 comments

While working on https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/344, some additional improvements were raised. In order to not forget about the suggestion, this issue has been opened.

It would help with legibility of the error messages if we were to add some colour to the output. Of course, this should only happen if coloured output has been requested via the --colors parameter. For an example, notice the difference between phpcs --help and phpcs --colors --help.

fredden avatar Jan 23 '25 22:01 fredden

Loosely related to #448

jrfnl avatar Jan 23 '25 23:01 jrfnl