Options values usually have to run through t() for translation

Created on 5 July 2023, 12 months ago

Problem/Motivation

phpcs --standard=Drupalpractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml Layout.php

FILE: C:\xampp\htdocs\drupalexp_lite\src\Layout.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
133 | WARNING | #options values usually have to run through t() for
| | translation
139 | WARNING | #options values usually have to run through t() for
| | translation
145 | WARNING | #options values usually have to run through t() for
| | translation
151 | WARNING | #options values usually have to run through t() for
| | translation
--------------------------------------------------------------------------------

Time: 175ms; Memory: 8MB

Proposed resolution

Create a patch.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India Priya_Degwekar

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

Comments & Activities

Production build 0.69.0 2024