FILE: /var/www/html/drupalwebcopy/modules/contact_cc/contact_cc.module
----------------------------------------------------------------------
FOUND 56 ERRORS AND 4 WARNINGS AFFECTING 44 LINES
----------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n"
| | but found "\r\n"
9 | WARNING | [x] Unused use statement
9 | ERROR | [x] There must be one blank line after the last USE
| | statement; 2 found;
15 | ERROR | [x] Expected 1 blank line before function; 2 found
20 | ERROR | [x] Case breaking statement indented incorrectly;
| | expected 6 spaces, found 4
30 | ERROR | [x] Short array syntax must be used to define arrays
34 | ERROR | [x] Expected 1 space after IF keyword; 0 found
36 | ERROR | [x] Expected newline after closing brace
40 | ERROR | [x] Short array syntax must be used to define arrays
46 | ERROR | [x] Expected 1 space after "=>"; 2 found
46 | ERROR | [x] Short array syntax must be used to define arrays
48 | ERROR | [x] Short array syntax must be used to define arrays
54 | ERROR | [x] Expected 1 space after "=>"; 2 found
54 | ERROR | [x] Short array syntax must be used to define arrays
56 | ERROR | [x] Short array syntax must be used to define arrays
56 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
63 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
| | Implements hook_foo_BAR_ID_bar() for
| | xyz_bar().",, "* Implements
| | hook_foo_BAR_ID_bar() for xyz-bar.html.twig.",
| | "* Implements hook_foo_BAR_ID_bar() for
| | xyz-bar.tpl.php.", or "* Implements
| | hook_foo_BAR_ID_bar() for block templates."
74 | ERROR | [x] Doc comment short description must start with a
| | capital letter
74 | ERROR | [x] Doc comment short description must end with a
| | full stop
78 | ERROR | [x] Short array syntax must be used to define arrays
80 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
89 | ERROR | [x] Expected 1 space after IF keyword; 0 found
90 | ERROR | [x] Inline comments must start with a capital letter
90 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
94 | ERROR | [x] Expected 1 space after IF keyword; 0 found
95 | ERROR | [x] Inline comments must start with a capital letter
95 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
108 | ERROR | [x] Doc comment short description must end with a
| | full stop
113 | ERROR | [x] Short array syntax must be used to define arrays
121 | ERROR | [x] Short array syntax must be used to define arrays
125 | ERROR | [x] Expected 1 blank line after function; 0 found
127 | ERROR | [x] Doc comment short description must end with a
| | full stop
130 | ERROR | [x] Short array syntax must be used to define arrays
133 | ERROR | [x] No space found before comment text; expected "//
| | update record" but found "//update record"
133 | ERROR | [x] Inline comments must start with a capital letter
133 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
135 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 4
135 | ERROR | [x] Object operator not indented correctly; expected
| | 6 spaces but found 4
135 | ERROR | [x] Short array syntax must be used to define arrays
136 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 4
137 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 4
140 | ERROR | [x] No space found before comment text; expected "//
| | new record" but found "//new record"
140 | ERROR | [x] Inline comments must start with a capital letter
140 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
142 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 4
142 | ERROR | [x] Object operator not indented correctly; expected
| | 6 spaces but found 4
142 | ERROR | [x] Short array syntax must be used to define arrays
144 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
146 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 4
148 | ERROR | [x] Expected 1 blank line after function; 0 found
149 | ERROR | [x] Missing function doc comment
150 | ERROR | [x] Short array syntax must be used to define arrays
151 | ERROR | [x] Short array syntax must be used to define arrays
152 | ERROR | [x] Expected 1 space after IF keyword; 0 found
156 | ERROR | [x] Expected 1 blank line after function; 0 found
157 | ERROR | [x] Missing function doc comment
159 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 2
159 | ERROR | [x] Object operator not indented correctly; expected
| | 4 spaces but found 2
160 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 2
161 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 58 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...var/www/html/drupalwebcopy/modules/contact_cc/contact_cc.install
----------------------------------------------------------------------
FOUND 10 ERRORS AND 3 WARNINGS AFFECTING 11 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
1 | ERROR | [x] End of line character is invalid; expected "\n"
| | but found "\r\n"
2 | ERROR | [x] You must use "/**" style comments for a file
| | comment
2 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
12 | ERROR | [x] Short array syntax must be used to define arrays
14 | ERROR | [x] Short array syntax must be used to define arrays
15 | ERROR | [x] Short array syntax must be used to define arrays
20 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: 'Category machine name'
22 | ERROR | [x] Short array syntax must be used to define arrays
26 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: 'Serialized array of recipients'
27 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
29 | ERROR | [x] Short array syntax must be used to define arrays
32 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ar/www/html/drupalwebcopy/modules/contact_cc/contact_cc.info.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
6 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 138ms; Memory: 8Mb