Fix the issues reported by phpcs

Created on 14 July 2023, 12 months ago
Updated 11 April 2024, 3 months ago

Problem/Motivation

Missing coding standards

Steps to reproduce

Run the command:

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml autogrow_textarea

Proposed resolution

Fix the following coding standards issues and create an MR with fixes.

FILE: autogrow_textarea/README.md
-----------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------
  5 | WARNING | Line exceeds 80 characters; contains 177 characters
 21 | WARNING | Line exceeds 80 characters; contains 197 characters
-----------------------------------------------------------------------------


FILE: autogrow_textarea/autogrow_textarea.module
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
 1 | ERROR | [x] Missing file doc comment
--------------------------------------------------------------------------------------------
๐Ÿ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

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