Problem/Motivation
Getting following errors.
FILE: /var/www/html/modules/contrib/mail_debugger/mail_debugger.module
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /var/www/html/modules/contrib/mail_debugger/mail_debugger.links.menu.yml
------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------
11 | ERROR | [x] Expected 1 newline at end of file; 2 found
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------
Time: 2.13 secs; Memory: 6MB
Steps to reproduce
Run following command
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml modules/contrib/mail_debugger/
Proposed resolution
Above errors need to be fixed.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | patch-appled.png | 32.1 KB | himanshu_jhaloya |
| #2 | 3336344-2.patch | 598 bytes | samitk |
Issue fork mail_debugger-3336344
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
samitk commentedAbove errors are fixed.
Comment #4
himanshu_jhaloya commentedWill review the patch #2
Comment #5
himanshu_jhaloya commentedReviewed the patch no Warning & error was found. Moving to RTBC