Created on 25 August 2023, 10 months ago
Updated 28 August 2023, 10 months ago

Problem/Motivation

After migrating to PHP 8.2 and Drupal 10, I received the following warning
Deprecated: Creation of dynamic property Drupal\pathauto\AliasCleaner::$punctuationCharacters is deprecated in modules/contrib/pathauto/src/AliasCleaner.php on line 292

Steps to reproduce

1. Install "drupal/pathauto":1.11.0
2. Use the service pathauto.alias_cleaner
3. Call the method cleanString()
Example: \Drupal::service('pathauto.alias_cleaner')->cleanString('Test');

Proposed resolution

Declare the property protected array $punctuationCharacters

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡΄Colombia yovanny.gomez.oyola

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

Comments & Activities

Production build 0.69.0 2024