Annie B. Annie B. - 1 year ago 123
PHP Question

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.

Answer Source

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.


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download