Can anyone recommend a ruleset.xml file that would be best for use with CakePHP? I was using the PEAR ruleset.xm开发者_StackOverflowl, and tried out the Squiz ruleset.xml, but I was wondering if there's something specifically for CakePHP?
Do not know much about it but there are two on github, which seem interesting.
https://github.com/jrbasso/CodeSniffer_CakePHP/blob/master/ruleset.xml
https://github.com/AD7six/cakephp-codesniffs/blob/master/ruleset.xml
EDIT:
The "official" CakePHP sniffs are now here
精彩评论