Drupal Coding Standards Issues | phpcs

Created on 30 December 2022, almost 2 years ago
Updated 28 June 2024, 6 months ago

Problem/Motivation

Getting following error/warnings

FILE: /app/modules/contrib/text_summary_options/CHANGELOG.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
13 | WARNING | Line exceeds 80 characters; contains 118 characters
----------------------------------------------------------------------

FILE: /app/modules/contrib/text_summary_options/text_summary_options.module
---------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
33 | ERROR | [x] Expected 1 space(s) after cast statement; 0 found
---------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------

Time: 445ms; Memory: 10MB

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

Proposed resolution

Above error/warnings need to be fixed

๐Ÿ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

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

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024