Drupal Coding Standards Issues | phpcs

Created on 6 February 2023, over 1 year ago
Updated 13 June 2024, 15 days ago

Problem/Motivation

Getting following warnings.

FILE: /var/www/html/modules/contrib/paragraphs_modal_edit/paragraphs_modal_edit.module
--------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------------
106 | WARNING | Unused variable $renderedParagraph.
135 | WARNING | Unused variable $a.
138 | WARNING | Unused variable $key.
--------------------------------------------------------------------------------------

Time: 1.82 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/paragraphs_modal_edit/

Proposed resolution

Above warnings need to be fixed.

๐Ÿ“Œ Task
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia samit.310@gmail.com

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024