It seems like the reported errors generated by the two systems are very different.. too different!

drush coder-review webform -y
phpcs --standard=Drupal webform.module

phpcs with Drupal standard per installation page http://drupal.org/node/1419988 generates a huge number of errors.

What is going on?

Comments

das-peter’s picture

I guess you've compared the outputs to be able to create this ticket, it would be nice if you could attach those outputs.
Then we're able to compare them too.

chriscalip’s picture

Status: Closed (works as designed) » Active
chriscalip’s picture

klausi’s picture

Status: Active » Closed (works as designed)

Yes, drupalcs is a lot more strict than coder and does not report that many false positives. Please do not directly paste such long reports in your comments, better add them as txt file attachments.

chriscalip’s picture

StatusFileSize
new80.39 KB
new6.09 KB
chriscalip’s picture

Status: Active » Closed (works as designed)

Agreed! Such a refreshing development of a tool that provides a better service than the existing accepted tool for testing coding standards, Drupal Coder Review. Drupal Code Sniffer is a good addition to our drupal testing ecosystem!

Cannot wait to fully deploy in conjunction with phing, jenkins, phpunit, etc..