Skip to content

Handle Conflicting PSR-4 Autoload Paths in moduleinfo.json #144

@RobinTheHood

Description

@RobinTheHood

Currently, module manufacturers have the ability to define their own PSR-4 autoloads in the moduleinfo.json. However, there is a potential issue when different directories are specified for the same namespace. In such cases, MMLC should either throw an error or provide a warning during installation.

Error A:

"ModifiedCommunityModules\\": "/vendor-no-composer/modifiedcommunitymodules"
"RobinTheHood\\": "/vendor-no-composer/modifiedcommunitymodules"

Error B:

"RobinTheHood\\": "/vendor-no-composer/modifiedcommunitymodules"
"RobinTheHood\\": "/vendor-no-composer/robinthehood"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions