Problem/Motivation

FILE: /var/www/html/vb/d_cont/copy_formatter/copy_formatter.module
------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------
3 | ERROR | Missing short description in doc comment
17 | ERROR | String concat is not required here; use a single string instead
19 | ERROR | String concat is not required here; use a single string instead
20 | ERROR | String concat is not required here; use a single string instead
21 | ERROR | String concat is not required here; use a single string instead
24 | ERROR | String concat is not required here; use a single string instead
------------------------------------------------------------------------------

FILE: /var/www/html/vb/d_cont/copy_formatter/README.md
------------------------------------------------------------------------
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 4 LINES
------------------------------------------------------------------------
3 | WARNING | [ ] Line exceeds 80 characters; contains 334 characters
29 | WARNING | [ ] Line exceeds 80 characters; contains 142 characters
32 | WARNING | [ ] Line exceeds 80 characters; contains 167 characters
33 | WARNING | [ ] Line exceeds 80 characters; contains 98 characters
33 | ERROR | [x] Expected 1 newline at end of file; 2 found
------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------

FILE: ..._formatter/src/Plugin/Field/FieldFormatter/CopyMediaEmbedCodeFormatter.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNINGS AFFECTING 1 LINE
--------------------------------------------------------------------------------
12 | WARNING | Line exceeds 80 characters; contains 82 characters
--------------------------------------------------------------------------------

FILE: /var/www/html/vb/d_cont/copy_formatter/copy_formatter.info.yml
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
7 | WARNING | All dependencies must be prefixed with the project name, for
| | example "drupal:"
--------------------------------------------------------------------------------

Time: 69ms; Memory: 10MB

Steps to reproduce

Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig copy_formatter/

Remaining tasks

Patch review

CommentFileSizeAuthor
coding-standard-fixes.patch5.29 KBurvashi_vora

Comments

urvashi_vora created an issue. See original summary.

BalasaranyaV’s picture

Status: Needs review » Fixed
BalasaranyaV’s picture

Status: Fixed » Closed (fixed)
urvashi_vora’s picture

@BalasaranyaV, May I please know why you removed the credit? As I deserved that, since I worked on it.

Thanks

BalasaranyaV’s picture

Thanks for your contribution!