Issues getting rector working on Drupal 11

Created on 9 December 2024, about 1 month ago

Drupal version

11

Drupal Rector version

1.2.10

Problem / Motivation

I'm a Drupal Noob and Drupal 11 is my first sight install.
There's several Drupal Modules I'm interested in installing which currently only support up to V 10 of Drupal.
I used the lenient module to get these modules installed using composer require.
So now I can see the modules in my list of modules stating what I expected: This version is not compatible with Drupal 11.0.9 and should be replaced.

So my expectation now was to use rector to take a shot at fixing the compatibility issues between Drupal 10 and 11 on these modules.
I followed all the steps in the rector github README including copying the vendor/palantirnet/drupal-rector/rector.php to the proper location.

When I ran vendor/bin/rector process --dry-run on the first deprecated module, I saw 13 files being process, but it didn't output any diff of any changes.
And just for kicks I ran the same command without the --dry-run and nothing changed in the module.

According to the rector home page it states: Rector can save you a lot of manual work by automating code upgrades to Drupal 9, 10 and 11.

So any help in how I can get this to work on Drupal 11 would be greatly appreciated!

Thanks in advance!
-Bryan Holty

πŸ› Bug report
Status

Active

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States bbholty1

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

Comments & Activities

Production build 0.71.5 2024