Fix the issues reported by phpcs

Created on 24 November 2023, about 1 year ago
Updated 3 January 2024, 11 months ago

Problem/Motivation

Getting following error/warnings.

FILE: modules/contrib/group_forms_gin/group_forms_gin.module
----------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------------------------------------------------------------
5 | ERROR | [x] Doc comment short description must end with a full stop
21 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
25 | ERROR | [x] Expected 1 newline at end of file; 2 found

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

Proposed resolution

Above error/warnings need to be fixed.

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇳India manpreet_singh

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