Fix the issues reported by phpcs

Created on 15 March 2023, about 2 years ago
Updated 16 March 2023, about 2 years ago

Problem/Motivation

Getting following warnings.

FILE: /var/www/html/modules/contrib/views_style_foundation_grid/src/Plugin/views/style/FoundationGrid.php
---------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------
73 | WARNING | #options values usually have to run through t() for translation
75 | WARNING | #options values usually have to run through t() for translation
---------------------------------------------------------------------------------------------------------

Time: 2.33 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/views_style_foundation_grid/

Proposed resolution

Above warnings need to be fixed.

📌 Task
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇮🇳India samit.310@gmail.com

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