Skip to content

rector init should generate Drupal-specific rector.php config #390

Description

@bbrala

Companion to GitLab issue #3372028.

When users run rector init, Rector generates a bare base rector.php that doesn't register the Drupal deprecation sets. New users then run rector and see no changes (cf. the recurring 'rector runs but produces no diff' reports). We should hook into / document an init path that produces a Drupal-ready rector.php (registering the Drupal sets), so the tool works out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions