Rector missed a deprecated class being removed for commerce abandoned cart.

Created on 4 April 2024, 3 months ago
Updated 26 April 2024, 2 months ago

Drupal version

10 and 11

Drupal Rector version

The below is for the 11 update.
Debug information
Bot run #11-137198

These packages were used to generate the fixes:

drupal/upgrade_status: 4.1.0
mglaman/phpstan-drupal: 1.2.10
palantirnet/drupal-rector: 0.20.1

Problem / Motivation

https://www.drupal.org/project/commerce_abandoned_carts/issues/3352519 πŸ› Class "Drupal\Component\Utility\Mail" not found RTBC
Drupal\Component\Utility\Mail was removed in Drupal 10
I don't think rector picked it up because while the replacement has not been merged the Drupal 11 rector scan still has not updated it:

https://www.drupal.org/project/commerce_abandoned_carts/issues/3438216 πŸ“Œ Automated Drupal 11 compatibility fixes for commerce_abandoned_carts Needs work

✨ Feature request
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

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

Comments & Activities

Production build 0.69.0 2024