Skip to content

Instantly share code, notes, and snippets.

@juhasz
Created November 19, 2012 18:22
Show Gist options
  • Save juhasz/4112487 to your computer and use it in GitHub Desktop.
Save juhasz/4112487 to your computer and use it in GitHub Desktop.
desire:formolok [master]$ phpcs --standard=drupal formolok.module
FILE: /private/tmp/formolok/formolok.module
--------------------------------------------------------------------------------
FOUND 15 ERROR(S) AND 2 WARNING(S) AFFECTING 11 LINE(S)
--------------------------------------------------------------------------------
1 | ERROR | Missing file doc comment
4 | WARNING | Line exceeds 80 characters; contains 129 characters
4 | ERROR | Expected 1 space(s) before asterisk; 0 found
4 | ERROR | Function comment short description must start with a capital
| | letter
4 | ERROR | Function comment short description must end with a full stop
5 | ERROR | Expected 1 space(s) before asterisk; 0 found
7 | WARNING | Line exceeds 80 characters; contains 189 characters
7 | ERROR | Whitespace found at end of line
7 | ERROR | Inline comments must start with a capital letter
11 | ERROR | Inline comments must start with a capital letter
12 | ERROR | Missing function doc comment
12 | ERROR | Whitespace found at end of line
15 | ERROR | Whitespace found at end of line
18 | ERROR | Whitespace found at end of line
19 | ERROR | Whitespace found at end of line
21 | ERROR | Whitespace found at end of line
22 | ERROR | Whitespace found at end of line
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment