Skip to content

Autoloaded classes are no longer available in deploy.php #3070

@Bilge

Description

@Bilge
  • Deployer version: v7.0.0-rc.8
  • Deployment OS: Windows

Since vendor/bin/dep became vendor/bin/deployer.phar, it is no longer possible to use non-Deployer classes in deploy.php.

The autoloader must be manually required with (require_once __DIR__ . '/vendor/autoload.php'). There is no note about this regression in the UPGRADE.md.

Note

Deployer v8 now is released and uses normal autoload.php composer path. So the issues should be fixed in Deployer v8.

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