Skip to content

Possibility to specify an autoload #302

Description

@soullivaneuh

Since Rector uses project's autoload to analyze type of elements, it cannot be installed as project in standalone directory

Why not add the possibility to specify auto-load file with ability of auto-detection? It should be possible PHPStan does that thing.

It would permit later to create phar and/or docker images and run it even on old PHP versions.

EDIT: Plus, using composer bin plugin will install rector on an isolated directory which is the same thing as doing a create-project AFAIK. Am I right? So the issue will be the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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