Drupal Coding Standards Issues | phpcs

Created on 1 February 2023, almost 2 years ago
Updated 10 February 2023, almost 2 years ago

Problem/Motivation

Getting following error/warnings.

FILE: ...drupal\modules\domain_sites\src\Form\DomainSitesSettingsForm.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
95 | ERROR | Comment indentation error, expected only 1 spaces
97 | WARNING | Line exceeds 80 characters; contains 111 characters
----------------------------------------------------------------------

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/domain_sites/

Proposed resolution

Above error/warnings need to be fixed.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Charchil Khandelwal

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

Comments & Activities

Production build 0.71.5 2024