Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
----------------------------------------------------------------------
FOUND 63 ERRORS AND 1 WARNING AFFECTING 46 LINES
----------------------------------------------------------------------
8 | ERROR | [x] Missing class doc comment
22 | ERROR | [x] Missing function doc comment
30 | ERROR | [x] Missing function doc comment
30 | ERROR | [x] Visibility must be declared on method "setup"
38 | ERROR | [x] Missing function doc comment
46 | ERROR | [x] Missing function doc comment
56 | WARNING | [ ] Line exceeds 80 characters; contains 126
| | characters
57 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
59 | ERROR | [x] Visibility must be declared on method
| | "testBasic"
144 | ERROR | [x] Missing function doc comment
169 | ERROR | [x] Missing function doc comment
181 | ERROR | [x] Missing function doc comment
205 | ERROR | [x] Visibility must be declared on method
| | "testFormatterPlain"
217 | ERROR | [x] No space found before comment text; expected "//
| | $single_field_name = 'field_'.
| | $single_field_name_machine;" but found
| | "//$single_field_name = 'field_'.
| | $single_field_name_machine;"
217 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
229 | ERROR | [x] Whitespace found at end of line
249 | ERROR | [x] Whitespace found at end of line
256 | ERROR | [x] Missing function doc comment
256 | ERROR | [x] Visibility must be declared on method
| | "testFormatterHost"
264 | ERROR | [x] Functions must not contain multiple empty lines
| | in a row; found 2 empty lines
269 | ERROR | [x] No space found before comment text; expected "//
| | $single_field_name = 'field_'.
| | $single_field_name_machine;" but found
| | "//$single_field_name = 'field_'.
| | $single_field_name_machine;"
269 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
273 | ERROR | [x] Concat operator must be surrounded by a single
| | space
273 | ERROR | [x] Concat operator must be surrounded by a single
| | space
275 | ERROR | [x] Concat operator must be surrounded by a single
| | space
275 | ERROR | [x] Concat operator must be surrounded by a single
| | space
276 | ERROR | [x] Concat operator must be surrounded by a single
| | space
276 | ERROR | [x] Concat operator must be surrounded by a single
| | space
291 | ERROR | [x] Missing function doc comment
291 | ERROR | [ ] Method name
| | "LinkAttributeCrudTest::testFormatterURL" is not
| | in lowerCamel format
291 | ERROR | [x] Visibility must be declared on method
| | "testFormatterURL"
303 | ERROR | [x] No space found before comment text; expected "//
| | $single_field_name = 'field_'.
| | $single_field_name_machine;" but found
| | "//$single_field_name = 'field_'.
| | $single_field_name_machine;"
303 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
315 | ERROR | [x] Whitespace found at end of line
335 | ERROR | [x] Whitespace found at end of line
341 | ERROR | [x] Missing function doc comment
341 | ERROR | [x] Visibility must be declared on method
| | "testFormatterShort"
353 | ERROR | [x] No space found before comment text; expected "//
| | $single_field_name = 'field_'.
| | $single_field_name_machine;" but found
| | "//$single_field_name = 'field_'.
| | $single_field_name_machine;"
353 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
385 | ERROR | [x] Whitespace found at end of line
392 | ERROR | [x] Missing function doc comment
392 | ERROR | [x] Visibility must be declared on method
| | "testFormatterLabel"
404 | ERROR | [x] No space found before comment text; expected "//
| | $single_field_name = 'field_'.
| | $single_field_name_machine;" but found
| | "//$single_field_name = 'field_'.
| | $single_field_name_machine;"
404 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
434 | ERROR | [x] Whitespace found at end of line
436 | ERROR | [x] Whitespace found at end of line
443 | ERROR | [x] Missing function doc comment
443 | ERROR | [x] Visibility must be declared on method
| | "testFormatterSeparate"
455 | ERROR | [x] No space found before comment text; expected "//
| | $single_field_name = 'field_'.
| | $single_field_name_machine;" but found
| | "//$single_field_name = 'field_'.
| | $single_field_name_machine;"
455 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
488 | ERROR | [x] Whitespace found at end of line
494 | ERROR | [x] Whitespace found at end of line
495 | ERROR | [x] Missing function doc comment
495 | ERROR | [x] Visibility must be declared on method
| | "testFormatterPlainTitle"
498 | ERROR | [x] Whitespace found at end of line
503 | ERROR | [x] Whitespace found at end of line
507 | ERROR | [x] No space found before comment text; expected "//
| | $single_field_name = 'field_'.
| | $single_field_name_machine;" but found
| | "//$single_field_name = 'field_'.
| | $single_field_name_machine;"
507 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
509 | ERROR | [x] Whitespace found at end of line
517 | ERROR | [x] Whitespace found at end of line
519 | ERROR | [x] Whitespace found at end of line
523 | ERROR | [x] Whitespace found at end of line
527 | ERROR | [x] Expected 1 blank line after function; 0 found
528 | ERROR | [x] The closing brace for the class must have an
| | empty line before it
----------------------------------------------------------------------
----------------------------------------------------------------------
FOUND 9 ERRORS AND 2 WARNINGS AFFECTING 9 LINES
----------------------------------------------------------------------
5 | WARNING | [ ] Line exceeds 80 characters; contains 85
| | characters
8 | ERROR | [x] Missing class doc comment
10 | ERROR | [x] Missing function doc comment
18 | ERROR | [x] Missing function doc comment
18 | ERROR | [x] Visibility must be declared on method "setUp"
23 | WARNING | [ ] Line exceeds 80 characters; contains 82
| | characters
24 | ERROR | [ ] Doc comment short description must be on a single
| | line, further text should be a separate paragraph
26 | ERROR | [ ] Method name
| | "LinkContentCrudTest::testLinkCreateFieldAPI" is
| | not in lowerCamel format
26 | ERROR | [x] Visibility must be declared on method
| | "testLinkCreateFieldAPI"
70 | ERROR | [x] Expected 1 blank line after function; 0 found
71 | ERROR | [x] The closing brace for the class must have an
| | empty line before it
----------------------------------------------------------------------
----------------------------------------------------------------------
FOUND 74 ERRORS AND 13 WARNINGS AFFECTING 67 LINES
----------------------------------------------------------------------
9 | ERROR | [x] Doc comment short description must end with a
| | full stop
14 | ERROR | [x] Doc comment short description must end with a
| | full stop
19 | ERROR | [x] Doc comment short description must end with a
| | full stop
24 | ERROR | [x] Doc comment short description must end with a
| | full stop
28 | ERROR | [x] Missing function doc comment
36 | ERROR | [x] Missing function doc comment
36 | ERROR | [x] Visibility must be declared on method "setUp"
43 | ERROR | [x] Visibility must be declared on method
| | "testLinkCreate"
44 | ERROR | [x] No space found before comment text; expected "//
| | libxml_use_internal_errors(true);" but found
| | "//libxml_use_internal_errors(true);"
52 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: 'access administration pages'
56 | ERROR | [x] Inline comments must start with a capital letter
56 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
76 | ERROR | [x] Inline comments must start with a capital letter
77 | ERROR | [x] No space found before comment text; expected "//
| | $this->drupalGet('node/add');" but found
| | "//$this->drupalGet('node/add');"
77 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
88 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: LINK_INPUT_TYPE_GOOD
94 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: LINK_INPUT_TYPE_BAD_TITLE
100 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: LINK_INPUT_TYPE_BAD_TITLE
106 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: LINK_INPUT_TYPE_BAD_TITLE
112 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: LINK_INPUT_TYPE_BAD_TITLE
118 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: LINK_INPUT_TYPE_BAD_URL
157 | ERROR | [x] Inline comments must start with a capital letter
161 | ERROR | [x] No space found before comment text; expected "//
| | debug($this);" but found "//debug($this);"
162 | WARNING | [ ] Line exceeds 80 characters; contains 90
| | characters
175 | ERROR | [x] No space found before comment text; expected "//
| | libxml_use_internal_errors(FALSE);" but found
| | "//libxml_use_internal_errors(FALSE);"
180 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
182 | ERROR | [x] Visibility must be declared on method
| | "testStaticLinkCreate"
183 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
186 | ERROR | [x] Inline comments must start with a capital letter
186 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
199 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
204 | ERROR | [x] Inline comments must start with a capital letter
204 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
209 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
220 | ERROR | [x] Inline comments must start with a capital letter
220 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
226 | ERROR | [x] Whitespace found at end of line
228 | WARNING | [ ] Line exceeds 80 characters; contains 85
| | characters
230 | ERROR | [ ] Method name
| | "LinkUITest::testCRUDTitleOnlyTitleNoLink" is
| | not in lowerCamel format
230 | ERROR | [x] Visibility must be declared on method
| | "testCRUDTitleOnlyTitleNoLink"
231 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
234 | ERROR | [x] Inline comments must start with a capital letter
234 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
251 | ERROR | [x] Whitespace found at end of line
252 | ERROR | [x] Inline comments must start with a capital letter
252 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
269 | ERROR | [x] Whitespace found at end of line
270 | ERROR | [x] Inline comments must start with a capital letter
270 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
278 | WARNING | [ ] Line exceeds 80 characters; contains 94
| | characters
279 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
281 | ERROR | [ ] Method name
| | "LinkUITest::testCRUDCreateFieldDefaults" is not
| | in lowerCamel format
281 | ERROR | [x] Visibility must be declared on method
| | "testCRUDCreateFieldDefaults"
282 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
285 | ERROR | [x] Inline comments must start with a capital letter
285 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
316 | ERROR | [x] Whitespace found at end of line
318 | WARNING | [ ] Line exceeds 80 characters; contains 94
| | characters
319 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
321 | ERROR | [ ] Method name
| | "LinkUITest::testCRUDCreateFieldWithClass" is
| | not in lowerCamel format
321 | ERROR | [x] Visibility must be declared on method
| | "testCRUDCreateFieldWithClass"
322 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
325 | ERROR | [x] Inline comments must start with a capital letter
325 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
360 | ERROR | [x] Whitespace found at end of line
362 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
380 | ERROR | [x] Whitespace found at end of line
381 | ERROR | [x] Inline comments must start with a capital letter
381 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
389 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 0
390 | ERROR | [x] Expected 1 space(s) before asterisk; 3 found
390 | WARNING | [ ] Line exceeds 80 characters; contains 94
| | characters
391 | ERROR | [x] Expected 1 space(s) before asterisk; 3 found
391 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
392 | ERROR | [x] Expected 1 space(s) before asterisk; 3 found
393 | ERROR | [ ] Method name
| | "LinkUITest::testCRUDCreateFieldWithTwoClasses"
| | is not in lowerCamel format
393 | ERROR | [x] Visibility must be declared on method
| | "testCRUDCreateFieldWithTwoClasses"
394 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
397 | ERROR | [x] Inline comments must start with a capital letter
397 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
432 | ERROR | [x] Whitespace found at end of line
434 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
452 | ERROR | [x] Whitespace found at end of line
453 | ERROR | [x] Inline comments must start with a capital letter
453 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
459 | ERROR | [x] Expected 1 blank line after function; 0 found
460 | ERROR | [x] The closing brace for the class must have an
| | empty line before it
----------------------------------------------------------------------
----------------------------------------------------------------------
FOUND 34 ERRORS AND 2 WARNINGS AFFECTING 24 LINES
----------------------------------------------------------------------
9 | ERROR | [x] Doc comment short description must end with a
| | full stop
13 | ERROR | [x] Missing function doc comment
22 | ERROR | [x] Missing function doc comment
22 | ERROR | [x] Visibility must be declared on method "setUp"
25 | ERROR | [x] Whitespace found at end of line
29 | ERROR | [x] Visibility must be declared on method
| | "testFieldTokenNodeLoaded"
30 | ERROR | [x] Inline comments must start with a capital letter
30 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
37 | ERROR | [x] Inline comments must start with a capital letter
37 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
39 | ERROR | [x] No space found before comment text; expected "//
| | $field_name = 'field_' . $name;" but found
| | "//$field_name = 'field_' . $name;"
39 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
61 | WARNING | [ ] Line exceeds 80 characters; contains 82
| | characters
61 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
64 | ERROR | [x] Whitespace found at end of line
75 | ERROR | [x] Inline comments must start with a capital letter
75 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
77 | ERROR | [x] Whitespace found at end of line
88 | ERROR | [x] Whitespace found at end of line
90 | WARNING | [ ] Line exceeds 80 characters; contains 92
| | characters
92 | ERROR | [x] Visibility must be declared on method
| | "testFieldTokenNodeViewed"
93 | ERROR | [x] Inline comments must start with a capital letter
93 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
100 | ERROR | [x] Inline comments must start with a capital letter
100 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
102 | ERROR | [x] No space found before comment text; expected "//
| | $field_name = 'field_' . $name;" but found
| | "//$field_name = 'field_' . $name;"
102 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
125 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 0
125 | ERROR | [x] No space found before comment text; expected "//
| | $this->assert('pass', '<pre>' .
| | print_r($token_url_tests, TRUE) . '<pre>');" but
| | found "//$this->assert('pass', '<pre>' .
| | print_r($token_url_tests, TRUE) . '<pre>');"
125 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
128 | ERROR | [x] Whitespace found at end of line
139 | ERROR | [x] Inline comments must start with a capital letter
139 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
141 | ERROR | [x] Whitespace found at end of line
152 | ERROR | [x] Whitespace found at end of line
153 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
----------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
8 | ERROR | [x] Missing class doc comment
21 | ERROR | [x] Missing function doc comment
21 | ERROR | [x] Visibility must be declared on method "setUp"
27 | ERROR | [x] Whitespace found at end of line
32 | ERROR | [x] Missing function doc comment
51 | ERROR | [x] Expected 1 blank line after function; 0 found
52 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
----------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /Users/renatog/Desktop/link/tests/link.token.test
----------------------------------------------------------------------
FOUND 120 ERRORS AND 4 WARNINGS AFFECTING 87 LINES
----------------------------------------------------------------------
9 | ERROR | [x] Doc comment short description must end with a
| | full stop
13 | ERROR | [x] Missing function doc comment
22 | ERROR | [x] Missing function doc comment
22 | ERROR | [x] Visibility must be declared on method "setUp"
28 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
30 | ERROR | [x] Visibility must be declared on method
| | "testUserTokenLinkCreate"
31 | ERROR | [x] Inline comments must start with a capital letter
31 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
38 | ERROR | [x] Inline comments must start with a capital letter
38 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
40 | ERROR | [x] No space found before comment text; expected "//
| | $field_name = 'field_' . $name;" but found
| | "//$field_name = 'field_' . $name;"
40 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
45 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
46 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
49 | ERROR | [x] No space found before comment text; expected "//
| | $this->drupalLogin($this->web_user);" but found
| | "//$this->drupalLogin($this->web_user);"
49 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
60 | ERROR | [x] Inline comments must start with a capital letter
60 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
65 | ERROR | [x] Expected 1 blank line after function; 2 found
70 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
72 | ERROR | [x] Visibility must be declared on method
| | "testStaticTokenLinkCreate"
74 | ERROR | [x] Inline comments must start with a capital letter
74 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
78 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
81 | ERROR | [x] Inline comments must start with a capital letter
81 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
86 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
89 | ERROR | [x] No space found before comment text; expected "//
| | $this->drupalLogin($this->web_user);" but found
| | "//$this->drupalLogin($this->web_user);"
89 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
100 | ERROR | [x] Inline comments must start with a capital letter
100 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
109 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
115 | ERROR | [x] Visibility must be declared on method
| | "testStaticTokenLinkCreate2"
117 | ERROR | [x] Inline comments must start with a capital letter
117 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
121 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
124 | ERROR | [x] Inline comments must start with a capital letter
124 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
129 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
132 | ERROR | [x] No space found before comment text; expected "//
| | $this->drupalLogin($this->web_user);" but found
| | "//$this->drupalLogin($this->web_user);"
132 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
143 | ERROR | [x] Inline comments must start with a capital letter
143 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
151 | ERROR | [x] You must use "/**" style comments for a function
| | comment
151 | ERROR | [ ] Method name
| | "LinkTokenTest::_test_Link_With_Title_Attribute_token_url_form"
| | is not in lowerCamel format
151 | ERROR | [x] Visibility must be declared on method
| | "_test_Link_With_Title_Attribute_token_url_form"
152 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 3
155 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 6
156 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 6
157 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 6
158 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 6
159 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
160 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
161 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
162 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
163 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 6
173 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 18
175 | WARNING | [ ] Line exceeds 80 characters; contains 94
| | characters
176 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 22
188 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
200 | ERROR | [x] No space found before comment text; expected "//
| | $node = node_load($this->nodes[0]->nid, NULL,
| | TRUE);" but found "//$node =
| | node_load($this->nodes[0]->nid, NULL, TRUE);"
200 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
204 | ERROR | [x] No space found before comment text; expected "//
| | $this->drupalGet('node/'. $node->nid);" but
| | found "//$this->drupalGet('node/'. $node->nid);"
204 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
209 | ERROR | [x] No space found before comment text; expected "//
| | $this->fail($this->content);" but found
| | "//$this->fail($this->content);"
209 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
214 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
216 | ERROR | [ ] Method name
| | "LinkTokenTest::_test_Link_With_Title_Attribute_token_title_form"
| | is not in lowerCamel format
216 | ERROR | [x] Visibility must be declared on method
| | "_test_Link_With_Title_Attribute_token_title_form"
235 | ERROR | [x] The first index in a multi-value array must be
| | on a new line
236 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 18
236 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
259 | ERROR | [x] The first index in a multi-value array must be
| | on a new line
260 | ERROR | [x] Array indentation error, expected 26 spaces but
| | found 30
260 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
266 | ERROR | [x] No space found before comment text; expected "//
| | $this->fail($this->content);" but found
| | "//$this->fail($this->content);"
266 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
270 | ERROR | [x] Function comment short description must start
| | with exactly one space
272 | ERROR | [ ] Method name
| | "LinkTokenTest::_testUserTokenLinkCreateInURL"
| | is not in lowerCamel format
272 | ERROR | [x] Visibility must be declared on method
| | "_testUserTokenLinkCreateInURL"
273 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
276 | ERROR | [x] Inline comments must start with a capital letter
276 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
287 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
292 | ERROR | [x] Inline comments must start with a capital letter
292 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
299 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
300 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
314 | ERROR | [x] Inline comments must start with a capital letter
314 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
319 | ERROR | [x] No space found before comment text; expected "//
| | $this->fail($this->content);" but found
| | "//$this->fail($this->content);"
319 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
323 | ERROR | [x] Function comment short description must start
| | with exactly one space
325 | ERROR | [ ] Method name
| | "LinkTokenTest::_testUserTokenLinkCreateInURL2"
| | is not in lowerCamel format
325 | ERROR | [x] Visibility must be declared on method
| | "_testUserTokenLinkCreateInURL2"
326 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
329 | ERROR | [x] Inline comments must start with a capital letter
329 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
340 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
345 | ERROR | [x] Inline comments must start with a capital letter
345 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
352 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
353 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
367 | ERROR | [x] Inline comments must start with a capital letter
367 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
373 | ERROR | [x] Whitespace found at end of line
375 | WARNING | [ ] Line exceeds 80 characters; contains 93
| | characters
375 | ERROR | [x] Function comment short description must start
| | with exactly one space
376 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
378 | ERROR | [ ] Method name
| | "LinkTokenTest::testCRUDTitleOnlyTitleNoLink2"
| | is not in lowerCamel format
378 | ERROR | [x] Visibility must be declared on method
| | "testCRUDTitleOnlyTitleNoLink2"
379 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
382 | ERROR | [x] Inline comments must start with a capital letter
382 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
400 | ERROR | [x] Whitespace found at end of line
401 | ERROR | [x] Inline comments must start with a capital letter
401 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
418 | ERROR | [x] Whitespace found at end of line
419 | ERROR | [x] Inline comments must start with a capital letter
419 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
424 | ERROR | [x] Expected 1 blank line after function; 2 found
425 | ERROR | [x] Whitespace found at end of line
426 | ERROR | [x] Whitespace found at end of line
427 | ERROR | [x] The closing brace for the class must have an
| | empty line before it
----------------------------------------------------------------------
----------------------------------------------------------------------
FOUND 161 ERRORS AND 8 WARNINGS AFFECTING 109 LINES
----------------------------------------------------------------------
8 | ERROR | [x] Missing class doc comment
10 | ERROR | [x] Missing function doc comment
21 | ERROR | [ ] Protected method name
| | "LinkValidateTestCase::link_test_validate_url"
| | is not in lowerCamel format
29 | ERROR | [x] Expected 1 space before "=>"; 0 found
33 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
43 | ERROR | [x] Expected 1 blank line after function; 0 found
44 | ERROR | [x] The closing brace for the class must have an
| | empty line before it
46 | ERROR | [x] Missing class doc comment
48 | ERROR | [x] Missing function doc comment
56 | ERROR | [x] Missing function doc comment
56 | ERROR | [ ] Method name
| | "LinkValidateTest::test_link_validate_basic_url"
| | is not in lowerCamel format
56 | ERROR | [x] Visibility must be declared on method
| | "test_link_validate_basic_url"
63 | ERROR | [ ] Method name
| | "LinkValidateTest::test_link_validate_bad_url_validate_default"
| | is not in lowerCamel format
63 | ERROR | [x] Visibility must be declared on method
| | "test_link_validate_bad_url_validate_default"
65 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
66 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
67 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
68 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
69 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
70 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
70 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
73 | ERROR | [x] Inline comments must start with a capital letter
73 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
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
95 | ERROR | [x] Functions must not contain multiple empty lines
| | in a row; found 2 empty lines
109 | ERROR | [ ] Method name
| | "LinkValidateTest::test_link_validate_bad_url_validate_on"
| | is not in lowerCamel format
109 | ERROR | [x] Visibility must be declared on method
| | "test_link_validate_bad_url_validate_on"
111 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
112 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
113 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
114 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
115 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
116 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
116 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
119 | ERROR | [x] Inline comments must start with a capital letter
119 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
136 | ERROR | [x] Inline comments must start with a capital letter
136 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
141 | ERROR | [x] Functions must not contain multiple empty lines
| | in a row; found 2 empty lines
156 | ERROR | [ ] Method name
| | "LinkValidateTest::test_link_validate_bad_url_validate_off"
| | is not in lowerCamel format
156 | ERROR | [x] Visibility must be declared on method
| | "test_link_validate_bad_url_validate_off"
158 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
159 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
160 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
161 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
162 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
163 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
163 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
166 | ERROR | [x] Inline comments must start with a capital letter
166 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
178 | WARNING | [ ] Line exceeds 80 characters; contains 183
| | characters
187 | ERROR | [x] Inline comments must start with a capital letter
187 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
192 | ERROR | [x] Functions must not contain multiple empty lines
| | in a row; found 2 empty lines
204 | WARNING | [ ] Line exceeds 80 characters; contains 86
| | characters
206 | ERROR | [ ] Method name
| | "LinkValidateTest::x_test_link_validate_switching_between_validation_status"
| | is not in lowerCamel format
206 | ERROR | [x] Visibility must be declared on method
| | "x_test_link_validate_switching_between_validation_status"
209 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
210 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
211 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
212 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
213 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
214 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 45
214 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
221 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
221 | ERROR | [x] Comments may not appear after statements
240 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
254 | WARNING | [ ] Line exceeds 80 characters; contains 108
| | characters
254 | ERROR | [x] No space found before comment text; expected "//
| | $this->drupalGet('admin/content/node-type/'.
| | $node_type_link .'/fields'); ///'.
| | $field['field_name']);" but found
| | "//$this->drupalGet('admin/content/node-type/'.
| | $node_type_link .'/fields'); ///'.
| | $field['field_name']);"
255 | ERROR | [x] No space found before comment text; expected "//
| | $this->fail($this->content);" but found
| | "//$this->fail($this->content);"
255 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
263 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
267 | ERROR | [x] You must use "/**" style comments for a function
| | comment
267 | ERROR | [ ] Method name
| | "LinkValidateTest::test_link_front_url" is not
| | in lowerCamel format
267 | ERROR | [x] Visibility must be declared on method
| | "test_link_front_url"
272 | ERROR | [x] You must use "/**" style comments for a function
| | comment
272 | ERROR | [ ] Method name
| | "LinkValidateTest::test_link_internal_url" is
| | not in lowerCamel format
272 | ERROR | [x] Visibility must be declared on method
| | "test_link_internal_url"
283 | ERROR | [x] You must use "/**" style comments for a function
| | comment
283 | ERROR | [ ] Method name "LinkValidateTest::test_link_mailto"
| | is not in lowerCamel format
283 | ERROR | [x] Visibility must be declared on method
| | "test_link_mailto"
287 | ERROR | [x] Missing function doc comment
287 | ERROR | [ ] Method name
| | "LinkValidateTest::test_link_external_https" is
| | not in lowerCamel format
287 | ERROR | [x] Visibility must be declared on method
| | "test_link_external_https"
291 | ERROR | [x] Missing function doc comment
291 | ERROR | [ ] Method name "LinkValidateTest::test_link_ftp" is
| | not in lowerCamel format
291 | ERROR | [x] Visibility must be declared on method
| | "test_link_ftp"
293 | ERROR | [x] Expected 1 blank line after function; 0 found
294 | ERROR | [x] The closing brace for the class must have an
| | empty line before it
296 | ERROR | [x] Missing class doc comment
298 | ERROR | [x] Missing function doc comment
306 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
307 | ERROR | [x] You must use "/**" style comments for a function
| | comment
307 | ERROR | [ ] Method name
| | "LinkValidateTestNews::test_link_news" is not in
| | lowerCamel format
307 | ERROR | [x] Visibility must be declared on method
| | "test_link_news"
312 | ERROR | [x] You must use "/**" style comments for a function
| | comment
312 | ERROR | [ ] Method name
| | "LinkValidateTestNews::test_link_news_message"
| | is not in lowerCamel format
312 | ERROR | [x] Visibility must be declared on method
| | "test_link_news_message"
314 | ERROR | [x] Expected 1 blank line after function; 0 found
315 | ERROR | [x] The closing brace for the class must have an
| | empty line before it
317 | ERROR | [x] Missing class doc comment
318 | ERROR | [x] Missing function doc comment
318 | ERROR | [x] Expected 1 blank line before function; 0 found
327 | ERROR | [x] You must use "/**" style comments for a function
| | comment
327 | ERROR | [ ] Method name
| | "LinkValidateSpecificURL::test_umlout_url" is
| | not in lowerCamel format
327 | ERROR | [x] Visibility must be declared on method
| | "test_umlout_url"
331 | ERROR | [x] Missing function doc comment
331 | ERROR | [ ] Method name
| | "LinkValidateSpecificURL::test_umlout_mailto" is
| | not in lowerCamel format
331 | ERROR | [x] Visibility must be declared on method
| | "test_umlout_mailto"
335 | ERROR | [x] Missing function doc comment
335 | ERROR | [ ] Method name
| | "LinkValidateSpecificURL::test_german_b_url" is
| | not in lowerCamel format
335 | ERROR | [x] Visibility must be declared on method
| | "test_german_b_url"
339 | ERROR | [x] Missing function doc comment
339 | ERROR | [ ] Method name
| | "LinkValidateSpecificURL::test_special_n_url" is
| | not in lowerCamel format
339 | ERROR | [x] Visibility must be declared on method
| | "test_special_n_url"
343 | ERROR | [x] Missing function doc comment
343 | ERROR | [ ] Method name
| | "LinkValidateSpecificURL::test_curly_brackets_in_query"
| | is not in lowerCamel format
343 | ERROR | [x] Visibility must be declared on method
| | "test_curly_brackets_in_query"
352 | ERROR | [ ] Method name
| | "LinkValidateSpecificURL::testLinkURLFieldIsBig"
| | is not in lowerCamel format
352 | ERROR | [x] Visibility must be declared on method
| | "testLinkURLFieldIsBig"
360 | WARNING | [ ] Line exceeds 80 characters; contains 96
| | characters
366 | ERROR | [x] Missing function doc comment
373 | ERROR | [x] Whitespace found at end of line
374 | ERROR | [x] Missing function doc comment
374 | ERROR | [x] Visibility must be declared on method "setUp"
379 | WARNING | [ ] Line exceeds 80 characters; contains 85
| | characters
379 | ERROR | [x] Doc comment short description must end with a
| | full stop
381 | ERROR | [ ] Method name
| | "LinkValidateUrlLight::name_Link_Type" is not in
| | lowerCamel format
381 | ERROR | [x] Visibility must be declared on method
| | "name_Link_Type"
384 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
386 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
388 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
390 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
392 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
394 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
401 | ERROR | [x] You must use "/**" style comments for a function
| | comment
401 | ERROR | [x] Visibility must be declared on method
| | "testValidateFrontLink"
406 | ERROR | [x] Missing function doc comment
406 | ERROR | [x] Visibility must be declared on method
| | "testValidateEmailLink"
411 | ERROR | [x] Missing function doc comment
411 | ERROR | [x] Visibility must be declared on method
| | "testValidateEmailLinkBad"
416 | ERROR | [x] Missing function doc comment
416 | ERROR | [x] Visibility must be declared on method
| | "testValidateNewsgroupLink"
421 | ERROR | [x] Missing function doc comment
421 | ERROR | [x] Visibility must be declared on method
| | "testValidateNewsArticleLink"
426 | ERROR | [x] Missing function doc comment
426 | ERROR | [x] Visibility must be declared on method
| | "testValidateBadNewsgroupLink"
431 | ERROR | [x] Missing function doc comment
431 | ERROR | [x] Visibility must be declared on method
| | "testValidateInternalLinks"
438 | ERROR | [x] Whitespace found at end of line
447 | ERROR | [x] Missing function doc comment
447 | ERROR | [x] Visibility must be declared on method
| | "testValidateExternalLinks"
463 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
472 | ERROR | [ ] If the line declaring an array spans longer than
| | 80 characters, each element should be broken
| | into its own line
483 | WARNING | [ ] Line exceeds 80 characters; contains 81
| | characters
484 | ERROR | [x] No space found before comment text; expected "//
| | $valid2 = valid_url($link, TRUE);" but found
| | "//$valid2 = valid_url($link, TRUE);"
485 | ERROR | [x] No space found before comment text; expected "//
| | $this->assertEqual(TRUE, $valid2, "Using
| | valid_url() on $link.");" but found
| | "//$this->assertEqual(TRUE, $valid2, "Using
| | valid_url() on $link.");"
485 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, question marks, or
| | closing parentheses
489 | ERROR | [x] Missing function doc comment
489 | ERROR | [x] Visibility must be declared on method
| | "testInvalidExternalLinks"
492 | ERROR | [x] Inline comments must start with a capital letter
492 | ERROR | [x] Comments may not appear after statements
494 | ERROR | [x] Comments may not appear after statements
495 | ERROR | [x] Comments may not appear after statements
496 | WARNING | [ ] Line exceeds 80 characters; contains 86
| | characters
496 | ERROR | [x] No space found before comment text; expected "//
| | 'http://www.-fudge.com/', // domains can't have
| | sections starting with a dash." but found
| | "//'http://www.-fudge.com/', // domains can't
| | have sections starting with a dash."
504 | ERROR | [x] Expected 1 blank line after function; 0 found
505 | ERROR | [x] The closing brace for the class must have an
| | empty line before it
----------------------------------------------------------------------
Comment | File | Size | Author |
---|---|---|---|
#4 | 1.png | 18.11 KB | renatog |
#2 | fix_coding_standards-2897563-2.patch | 74.21 KB | renatog |
| |||
1.png | 24.05 KB | renatog |
Comments
Comment #2
renatogHi, People.
In this attachment, followed the patch with fixes.
Good Work.
Regards.
Comment #4
renatogFixed.
Committed to the dev branch.
Good Work.
Regards.