Need to clean up and refactor the code a bit before getting to 1.0 release.
FILE: ...w/drupal8/modules/contrib/views_jump_menu/views_jump_menu.module
----------------------------------------------------------------------
FOUND 8 ERRORS AND 2 WARNINGS AFFECTING 10 LINES
----------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
4 | WARNING | [x] Unused use statement
5 | WARNING | [x] Unused use statement
24 | ERROR | [x] Parameter comment must end with a full stop
29 | ERROR | [ ] Type hint "array" missing for $options
40 | ERROR | [x] Doc comment short description must end with a
| | full stop
53 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 6
59 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
60 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
67 | ERROR | [ ] Inline doc block comments are not allowed; use
| | "/* Comment */" or "// Comment" instead
----------------------------------------------------------------------
FILE: ...ules/contrib/views_jump_menu/src/Plugin/views/style/JumpMenu.php
----------------------------------------------------------------------
FOUND 4 ERRORS AND 2 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
7 | WARNING | [x] Unused use statement
11 | ERROR | [x] Doc comment short description must end with a
| | full stop
46 | ERROR | [x] Missing function doc comment
98 | ERROR | [x] Expected 1 blank line after function; 0 found
99 | ERROR | [x] The closing brace for the class must have an
| | empty line before it
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2901896_views_jump_menu_cs_fix.patch | 3.03 KB | astonvictor |
Comments
Comment #2
astonvictor commentedComment #3
astonvictor commentedComment #4
replicaobscuraThanks for the contribution! I'll get this merged in ASAP.
Comment #6
replicaobscuraThanks again! Finally got most of these changes merged in. In a couple of cases, comments were removed which are helpful for type hinting so I left those in.