Skip to content

Classes not showing up in composer classmap #3

@bramstroker

Description

@bramstroker

Hi Jurian,

When I use composer dump-autoload --optimize to generate a classmap the Soflomo\Log classes are not listed.
I have debugged using the composer source and found out that the path starting at the src\ folder is not respecting the PSR-0 rules. Composer matches the path against a certain regexp before adding it to the classmap. ({C:/www/myproject/vendor/soflomo/log/src/Soflomo/Log.+(?<!(?<!/)Test.php)$}). So the lib should be on src\Solflomo\Log instead of src\Log
This seems to be a problem with all your modules published in the Soflomo namespace.

Bram

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions