Sample output after running coder:

* +443: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
* +448: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
* +455: Use "elseif" in place of "else if"
* +1624: Control statements should have one space between the control keyword and opening parenthesis
* +1676: Control statements should have one space between the control keyword and opening parenthesis
* +1732: Control statements should have one space between the control keyword and opening parenthesis
* +1862: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
* +2072: Use "elseif" in place of "else if"
* +2122: Use "elseif" in place of "else if"
* +2129: Arrays should be formatted with a space separating each element and assignment operator
* +2193: Use "elseif" in place of "else if"
* +2204: Use "elseif" in place of "else if"
* +2244: Use "elseif" in place of "else if"
* +2250: Use "elseif" in place of "else if"
* +3228: missing space after comma

Comments

japerry’s picture

Status: Active » Closed (outdated)

Event for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.