Skip to content

Missing Path for autoloader throws RuntimeException #4

@sfaujour

Description

@sfaujour

When installing the composer package, the autoloader can not be found, as the path you are trying to resolve for the autoload, has a additional depth of 2.

Adding another line within the $paths array, within vendor/aeliot/php-cs-fixer-baseline/bin/pcsf-baseline in my case, helped me out:

$paths = [
        __DIR__ . '/vendor/autoload.php',
        __DIR__ . '/../vendor/autoload.php',
        __DIR__ . '/../../vendor/autoload.php',
        __DIR__ . '/../../../../vendor/autoload.php',
    ];

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions