Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the autoloader from where Rector was installed, not started #5772

Merged
merged 3 commits into from
Mar 4, 2021

Commits on Mar 4, 2021

  1. Configuration menu
    Copy the full SHA
    a7ee947 View commit details
    Browse the repository at this point in the history
  2. Remove autoloader already covered in AutoloadIncluder::includeDepende…

    …ncyOrRepositoryVendorAutoloadIfExists()
    mpdude committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    e604910 View commit details
    Browse the repository at this point in the history
  3. Fix path to project autoloader

    When Rector is installed as a project dependency through composer,
    this script it will be in {vendor}/rector/rectory/bin/rector.php,
    so ../../.. is where autoload.php lives.
    mpdude committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    bc9a579 View commit details
    Browse the repository at this point in the history