Call to an undefined method Drupal\smart_date\TwigExtension\SmartDateFormat::t()

Created on 24 August 2024, 4 months ago
Updated 7 September 2024, 4 months ago

Problem/Motivation

PHPStan started reporting this error, potentially related to GitlabCI testing against Drupal 11.

Steps to reproduce

Visit https://git.drupalcode.org/project/smart_date/-/jobs/2541486

Proposed resolution

Use the class method instead, potentially requiring the addition of the translation trait.

🐛 Bug report
Status

Fixed

Version

4.1

Component

Code

Created by

🇨🇦Canada mandclu

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