Skip to content

Dependency source logic not working #282

@Dropa

Description

@Dropa

if (file_exists(__DIR__ . '/../../vendor/autoload.php')) {

In the project vs global dependency solver it seems that the __DIR__ is starting from wrong path. When running from project binary, __DIR__ is .../vendor/mglaman/drupal-check/src/Command so it just so happens to match with the 'global' path.

} elseif (file_exists(__DIR__ . '/../../../../autoload.php')) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions