php-parallel-lint/PHP-Parallel-Lint

No colored console-highlighter output when running as composer command

aleksblendwerk opened this issue · 0 comments

When I run PHP-Parallel-Lint as a composer command, e.g. defined like this:

    "lint": "vendor/bin/parallel-lint --colors --exclude bin/.phpunit --exclude var --exclude vendor ."

there is no highlighting in the code snippets. There is a red "X" among the dots that indicate each checked file though, so it seems enforcing --colors does not apply to the highlighter output.

When I run the same command without composer the colors are present.