squizlabs/PHP_CodeSniffer — pull request #1 by edorian (2011-11-08 13:28:09+00:00)
Title: XML Documentation xsd and samples how it could look like

I've had a little discussed with @gsherwood about how to contribute to the sniffs documentation and he suggested to improve upon the existing xml documentation.

Should you pull this I will then start to add documentation for every sniff in "Generic".

What i mainly added was documentation for the available properties, their type and a default value.

I'm looking to improve the docs to be able to build something like http://edorian.github.com/php-coding-standard-generator/ for PHP_CodeSniffer and because I've send quite some time trying to figure out what sniffs do ;)

---------

If you don't like the formatting just let me know, this is just an example of how it could look like :)

Credit for the xsd file goes to @gooh