Warning: The name of the coding standard has recently been changed from "DrupalCodingStandard" to "Drupal". Please keep that in mind when following those instructions as they might be outdated.

About

This project is the combination of a couple of different projects. The projects that are joining forces are Drupalcs and Drupal coding standards validator for Eclipse.

The project provides a coding standard for PHP_CodeSniffer, based on the Drupal Coding Standard.

Why?

This project is being created because of the need to run coding standards check without requiring a full drupal installation. This is great for checking code validation on a standalone server without a drupal site, checking a single file from a code editor (Eclipse, Textmate, etc.), setting up pre-commit hooks on all files being committed.

Installation & Usage

Please have a look at the Documentation

Using with Editors such as Eclipse, Vim, etc.

Please see the documentation for details:

Contributors

klausi
das-peter
ericduran
pdrake

Downloads

Version Downloads Date Links
7.x-1.x-dev tar.gz (46.59 KB) | zip (93.49 KB) 2012-Feb-22 Notes

Project Information


Maintainers for Drupal Code Sniffer

  • klausi - 134 commits
    last: 1 day ago, first: 14 weeks ago
  • ericduran - 5 commits
    last: 4 weeks ago, first: 14 weeks ago
  • pdrake - 6 commits
    last: 4 weeks ago, first: 40 weeks ago
  • das-peter - 13 commits
    last: 10 weeks ago, first: 41 weeks ago

Issues for Drupal Code Sniffer

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 10 Nov 11