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.
Hi,
I found theese errors
5 | ERROR | [x] The second line in the file doc comment must be
| | "@file"
5 | ERROR | [x] Doc comment short description must end with a
| | full stop
105 | ERROR | [x] Line indented incorrectly; expected 1 spaces,
| | found 0
106 | ERROR | [x] Line indented incorrectly; expected 1 spaces,
| | found 0
117 | ERROR | [x] Concat operator must be surrounded by a single
| | space
125 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
180 | ERROR | [x] Doc comment short description must end with a
| | full stop
192 | ERROR | [x] Doc comment short description must end with a
| | full stop
209 | ERROR | [x] Doc comment short description must end with a
| | full stop
215 | ERROR | [x] There should be no white space before a closing
| | ")"
218 | ERROR | [x] Expected newline after closing brace
230 | ERROR | [x] Doc comment long description must start with a
| | capital letter
240 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "TRUE" but found "true"
242 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, colons, or question marks
242 | ERROR | [x] Comments may not appear after statements
250 | ERROR | [x] Doc comment short description must end with a
| | full stop
256 | ERROR | [x] There should be no white space before a closing
| | ")"
260 | ERROR | [x] Expected newline after closing brace
269 | ERROR | [x] Doc comment short description must end with a
| | full stop
289 | ERROR | [x] Doc comment short description must end with a
| | full stop
320 | ERROR | [x] No space found before comment text; expected "//
| | /" but found "///"
322 | WARNING | [x] There must be no blank line following an inline
| | comment
322 | ERROR | [x] No space found before comment text; expected "//
| | /" but found "///"
325 | ERROR | [x] Doc comment short description must end with a
| | full stop
337 | ERROR | [x] Doc comment short description must end with a
| | full stop
343 | ERROR | [x] Expected 1 newline at end of file; 0 found
Comment | File | Size | Author |
---|---|---|---|
#2 | Facebook_Pull-Drupal_code_standard_issues-2582907-2.patch | 6.08 KB | Sriparna Khatua |
Comments
Comment #2
Sriparna Khatua CreditAttribution: Sriparna Khatua as a volunteer and at Faichi Solutions Pvt Ltd commentedComment #3
daveferrara1 CreditAttribution: daveferrara1 commentedFIxed in 7.x-2.9