Problem/Motivation

Getting following warning.

FILE: /var/www/html/modules/contrib/viewerjs_formatter/viewerjs_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: 832ms; 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/viewerjs_formatter/

Proposed resolution

Above warning need to be fixed.

CommentFileSizeAuthor
#2 3348978-2.patch370 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
new370 bytes

Above warning has been fixed.

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

  • jmdeleon committed af83deb9 on 1.0.x
    Issue #3348978 by samit.310@gmail.com, jmdeleon: Drupal Coding Standards...

jmdeleon’s picture

Status: Needs review » Reviewed & tested by the community
jmdeleon’s picture

Status: Reviewed & tested by the community » Fixed
jmdeleon’s picture

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

Issue tags: -Coding standards Phpcs, -Phpcs Drupal coding standard issue