Undefined class constant 'IMPORT_DOC_BLOCKS' due to wrong template

Created on 13 June 2022, over 2 years ago
Updated 29 September 2023, over 1 year ago

Problem/Motivation

Rector had the same issue reported ( https://www.drupal.org/project/rector/issues/3275937 β†’ ) and fixed a few days ago.
The same issue has raised to me today while using this module.
As of the update, the rector.php file needs to be updated according to the release notes

The upgrade path should be as simple as re-copying the configuration file. cp vendor/palantirnet/drupal-rector/rector.php

Steps to reproduce

Run rector on any project

Proposed resolution

Update rector-config-template.php and remove line 21

πŸ› Bug report
Status

Closed: duplicate

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium gorkagr

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024