Drupal Coding Standards Issues | phpcs

Created on 13 January 2023, about 2 years ago
Updated 24 January 2025, 2 months ago

Problem/Motivation

Getting following warnings.

FILE: /var/www/html/modules/contrib/commerce_add_to_cart_link/src/Controller/AddToCartController.php
----------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------
159 | WARNING | Line exceeds 80 characters; contains 143 characters
----------------------------------------------------------------------------------------------------

Time: 1.64 secs; Memory: 6MB

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

Proposed resolution

Above warning need to be fixed.

📌 Task
Status

RTBC

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