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.

CommentFileSizeAuthor
#5 patch-appled.png32.1 KBhimanshu_jhaloya
#2 3336344-2.patch598 bytessamitk
Command icon 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

samit.310@gmail.com created an issue. See original summary.

samitk’s picture

Assigned: samitk » Unassigned
Status: Needs work » Needs review
StatusFileSize
new598 bytes

Above errors are fixed.

himanshu_jhaloya made their first commit to this issue’s fork.

himanshu_jhaloya’s picture

Assigned: Unassigned » himanshu_jhaloya

Will review the patch #2

himanshu_jhaloya’s picture

Assigned: himanshu_jhaloya » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new32.1 KB

Reviewed the patch no Warning & error was found. Moving to RTBC