Autoloading hooks in the file tokens.inc is deprecated D11.2

Created on 20 March 2025, 20 days ago

Problem/Motivation

PHPunit tests at Drupal 11.2 (which is "next minor") produce the following:

Autoloading hooks in the file (modules/custom/scheduler/scheduler.tokens.inc) is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. Move the functions in this file to either the .module file or other appropriate location. See https://www.drupal.org/node/3489765

Change record https://www.drupal.org/node/3489765

Scheduler it not the only module with this problem. Several of the 3rd-party modules we use in testing also need to fix this:

Proposed resolution

Remaining tasks

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom jonathan1055

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

Comments & Activities

Production build 0.71.5 2024