phpmd/phpmd — pull request #82 by brandonsavage (2013-04-29 16:08:56+00:00)
Title: Adding a JSON renderer for PHPMD.

XML is a common output format, especially for Java. But in order to make this easy to use inside other PHP applications (like one I'm building), JSON is really simple.

This renderer simply compiles all the violations and errors into an array, and then JSON serializes them into something that can be output and used. I wanted to contribute it back since I found it useful, and I bet others would as well.