Check Drupal code against Coding Standard

Upload Image
error logo

Drupal Coding standards provide a set of rules for how your code should be formatted, whether you should use tabs or spaces, what the Naming Convection (Functions, Constants, Global Variables, Classes, and Files) concept in Drupal Standard code, Indenting and Whitespaces, line spacing, guidelines to use operators, array, PHP code tags and more.

For this you need to install Coder and PHP CodeSniffer.