FILE: /opt/lampp/htdocs/drupal/modules/marco_polo/marco_polo.api.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
19 | ERROR | Type hint "array" missing for $response
----------------------------------------------------------------------
FILE: ...pp/htdocs/drupal/modules/marco_polo/src/Controller/MarcoPoloController.php
--------------------------------------------------------------------------------
FOUND 9 ERRORS AND 2 WARNINGS AFFECTING 11 LINES
--------------------------------------------------------------------------------
28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 3
29 | ERROR | [x] Expected 4 space(s) before asterisk; 3 found
30 | ERROR | [x] Expected 4 space(s) before asterisk; 3 found
31 | ERROR | [x] Expected 4 space(s) before asterisk; 3 found
32 | ERROR | [x] Expected 4 space(s) before asterisk; 3 found
96 | ERROR | [x] Blank lines are not allowed in a multi-line function
| | declaration
130 | ERROR | [x] Separate the @return and @throws sections by a blank line.
153 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $submit_flag
163 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $action
170 | ERROR | [ ] Parameter $submit_flag is not described in comment
179 | ERROR | [ ] Type hint "array" missing for $active_users
--------------------------------------------------------------------------------
FILE: /opt/lampp/htdocs/drupal/modules/marco_polo/marco_polo.module
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
42 | WARNING | [x] A comma should follow the last multiline array item. Found:
| | 1000
--------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | After patch applied 3125196.png | 77.13 KB | riddhi.addweb |
| #2 | 3125196-2.patch | 3.1 KB | neelam_wadhwani |
Issue fork marco_polo-3125196
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
neelam_wadhwani commentedKIndly review patch,
Comment #3
riddhi.addweb commentedI tried the #2 patch and it has been applied cleanly. But still, some errors are displayed:-
Comment #6
atul_ghate commentedComment #7
riddhi.addweb commentedI have applied MR !1 cleanly and it resolves all the errors.
Please check the screenshot for the same.
Comment #9
atul_ghate commentedComment #11
atul_ghate commentedHi @vitalius2009,
Thanks for merging the MR.
I noticed that I wasn't credited for resolving this issue. Could you let me know if there's something I might have missed?
Comment #12
vitalius2009 commented