
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:
- Address #3512975: Autoloading hooks in address.views.inc and address.token.inc is deprecated
- Commerce
- Entity
- Token
- Workbench Moderation
Proposed resolution
Remaining tasks
Issue fork scheduler-3514380
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commentedThe work to ignore 3rd-party deprecations is too important to be bundled in with this MR241 so it will be done separately in MR244 on #3527579: Add #[Group] attributes for Core 11.2 and PHPUnit 11
Then both of the Schduler issues can be worked on once we can actually see the Scheduler problems, and not be swamped by huge logs of 3rd-party module problems.