77919 Use an indent of 2 spaces, with no tabs 26637 There should be no trailing spaces 8626 Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE 7657 curly braces { should end a line, not start one 7466 do not use mixed case (camelCase), use lower case and _ 5654 string concatenation should be formatted without a space separating the operators (dot .) and a quote 5631 missing space after comma 4821 Control statements should have one space between the control keyword and opening parenthesis 4552 string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms 2859 use a space between the closing parenthesis and the open bracket 2485 in most cases, replace the string function with the drupal_ equivalent string functions 2398 else statements should begin on a new line 1882 Arrays should be formatted with a space separating each element and assignment operator 1833 Functions should be called with no spaces between the function name and opening parentheses 435 the final ?> should be omitted from all code files 327 global variables should start with a single underscore followed by the module and another underscore 206 The control statement should be on a separate line from the control conditional 199 use lowercase html tags to comply with XHTML 166 use
instead of
30 use quotes around a string literal array index, this is not only a style issue, but a known performance problem 16 use stdClass caseCapitalization, it's the one exception to the mixed case style standard