New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a renderer which writes an ANSI report string #595
Conversation
98cd719
to
8553415
Compare
…ort-renderer # Conflicts: # README.rst # src/main/php/PHPMD/TextUI/CommandLineOptions.php # src/test/php/PHPMD/TextUI/CommandLineOptionsTest.php
Resolved conflicts with master branch. |
Thanks for the effort @kylekatarnls 😄 |
What if we replace the current text renderer but add a |
There might be reasons to keep the default text renderer without breaking expected behavior? |
839a182
Sorry guys, my commit staled your review but we had "four renderers" when adding ANSI would have make this statement wrong. I removed it so we don't have to maintain this count. |
I've implemented an ANSI renderer which should improve the experience for users reading a report straight from the command line.
Using the ANSI renderer a report without violations will look something like this:
A report which does contain either a violation, an error or both will look like: