Skip to content
This repository was archived by the owner on Dec 3, 2023. It is now read-only.
This repository was archived by the owner on Dec 3, 2023. It is now read-only.

ChangeFileLoaderInExtensionAndKernelRector class doesn't exist anymore, so the blog article is outdated #4566

@anyt

Description

@anyt

Hi,
Maybe it's not the best place for that issue, as I've found the link in the article that has broken code samples, but the issue is a bit bigger.

I've tried following this article and found that there is no switch-format command anymore that is not a big deal.
But also the rector config provided there doesn't work as the class doesn't exist, and I can't find an alternative rector for it.

The BC issue is a bit more general for me. I've read your book and then used Rector to write some rules for the project based on 0.16.0 that was the current version.

And now I literally can't upgrade the package without significant refactoring because some classes the package relies on are deleted, others are changed a lot and there are not alternatives, as I understand, some features, crucial for the rules I need do not exist anymore. I can always stick to the old version of Rector, but this is a bad long time strategy for me.

Maybe you have some recommendations or can share the plans, when the stable version of Rector will be available.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions