Event Constants deprecation warning when using Drush

Created on 28 March 2025, 9 days ago

Problem/Motivation

The following is shown when using any drush console commands ("drush cr", etc.), after upgrading to 3.0.0-beta3 and using Drupal 11.1.5:

[warning] The following event constants are deprecated: Drupal\cas\Service\CasHelper::EVENT_PRE_USER_LOAD, Drupal\cas\Service\CasHelper::EVENT_PRE_LOGIN. Use the corresponding event class fully qualified names instead: Drupal\cas\Service\CasHelper::EVENT_PRE_USER_LOAD -> Drupal\cas\Event\CasPreUserLoadEvent, Drupal\cas\Service\CasHelper::EVENT_PRE_LOGIN -> Drupal\cas\Event\CasPreLoginEvent. See https://www.drupal.org/node/3462792

Steps to reproduce

Upgrade to Drupal 11.1.5 and CAS 3.0.0-beta3

Proposed resolution

Unsure of why this is occurring when using drush. We also have the latest CAS Attributes module installed, version 3.0.0-beta1

πŸ› Bug report
Status

Active

Version

3.0

Component

CAS

Created by

πŸ‡ΊπŸ‡ΈUnited States jsweetack

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

Comments & Activities

Production build 0.71.5 2024