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

Comments

bmcclure created an issue. See original summary.

astonvictor’s picture

Issue summary: View changes
astonvictor’s picture

Status: Active » Needs review
StatusFileSize
new3.03 KB
replicaobscura’s picture

Thanks for the contribution! I'll get this merged in ASAP.

replicaobscura’s picture

Status: Needs review » Fixed

Thanks 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.