Fix the issues reported by phpcs

Created on 19 July 2023, over 1 year ago
Updated 18 April 2024, 7 months ago

Problem/Motivation

Module's code contains several Drupal Coding Standards issues. This task is created to fix them.

Steps to reproduce


Run the command:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/version_indicator/


<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<code>
Fix the following coding standards issues and upload the patch or create an MR with fixes.

FILE: /modules/contrib/version_indicator/version_indicator.module
-------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------
 22 | WARNING | [x] A comma should follow the last multiline array item. Found: 'toolbar-icon-version'
 24 | WARNING | [x] A comma should follow the last multiline array item. Found: )
------------------------------------------------------------------------------------------------------
📌 Task
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India swatichouhan012

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

Comments & Activities

Production build 0.71.5 2024