Resolve ignored PHPCS issue: Only string literals should be passed to t()

Created on 11 January 2024, about 1 year ago
Updated 12 February 2024, 11 months ago

Problem/Motivation

In πŸ“Œ Enable GitLab CI for testing Fixed , I chose to ignore a PHPCS warning:

Only string literals should be passed to t() where possible (Drupal.Semantics.FunctionT.NotLiteralString)

Steps to reproduce

Remove the inline comment that chooses to run the check. PHPCS will fail.

Proposed resolution

Fix the issue.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States markdorison

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024