Fix issues reported by PHPCS

Created on 1 March 2023, almost 2 years ago
Updated 13 March 2023, almost 2 years ago

Problem/Motivation

The module contains some errors and warnings as per Drupal and DrupalPractice coding standards

Steps to reproduce

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

Proposed resolution

Fix all the issues reported by PHPCS

Remaining tasks

FILE: ...dules/contrib/media_migration/tests/src/Traits/MediaMigrationTestTrait.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
108 | ERROR | [x] Doc comment short description must end with a full stop
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...ution/drupal8/web/modules/contrib/media_migration/tests/fixtures/README.md
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES
--------------------------------------------------------------------------------
27 | WARNING | Line exceeds 80 characters; contains 91 characters
40 | WARNING | Line exceeds 80 characters; contains 95 characters
55 | WARNING | Line exceeds 80 characters; contains 125 characters
56 | WARNING | Line exceeds 80 characters; contains 95 characters
60 | WARNING | Line exceeds 80 characters; contains 127 characters
61 | WARNING | Line exceeds 80 characters; contains 97 characters
83 | WARNING | Line exceeds 80 characters; contains 129 characters
85 | WARNING | Line exceeds 80 characters; contains 131 characters
88 | WARNING | Line exceeds 80 characters; contains 149 characters
132 | WARNING | Line exceeds 80 characters; contains 129 characters
134 | WARNING | Line exceeds 80 characters; contains 131 characters
139 | WARNING | Line exceeds 80 characters; contains 91 characters
--------------------------------------------------------------------------------

Time: 12.36 secs; Memory: 18MB

๐Ÿ“Œ Task
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia urvashi_vora Madhya Pradesh, India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024