Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHPCodeSniffer HTML Report?

Does PHPCodeSniffer generates HTML Report?

If not? How?

Currently, I can run PHPCodeSniffer but it only produce XML file and displays result in the terminal.

How can I make produce HTML Report like the coverage and unit test report in phpunit.

Currently I use PHPCheckStyle since it produces html report, but i want also to try PHPCodeSniffer to know which is best.

like image 244
Annie B. Avatar asked May 06 '26 13:05

Annie B.


1 Answers

Another solution (but maybe not the simplest one) is to use a continuous integration system that provides PHP code sniffer integration.

For example, phpUnderControl provides a nice interface to see the report.

phpUnderControl

like image 74
Matthieu Napoli Avatar answered May 09 '26 02:05

Matthieu Napoli



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!