$startsWith should be changed to $starts_with

Created on 25 January 2023, almost 2 years ago
Updated 6 May 2023, over 1 year ago

Problem/Motivation

The function buildForm() signature is differs from routing file call signature.

Steps to reproduce

On the page /admin/config/send_emails/emails/minimal/[key] I see the error: "Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\send_emails\Form\MinimalEmailSettings->buildForm() (line 33 of modules/contrib/send_emails/src/Form/MinimalEmailSettings.php)." (PHP 8.1 used)

Proposed resolution

Patch provided.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇷🇺Russia Andrew Answer Novosibirsk

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

Comments & Activities

Production build 0.71.5 2024