Open neontsun opened 3 months ago
Hello,
you are correct, it uses classmap
to load the files. It not working is expected documented behavior. Straight from the composer
collector documentation:
The composer collector allows you to define dependencies on composer require or require-dev packages that follow PSR-0 or PSR-4 autoloading convention.
I would suggest using DirectoryCollector
over the package's src
dir instead.
In the Vendor layer packages I have the sebastian/comparator package specified, which is ignored by ComposerCollector. My guess is that this package uses autoload/classmap in composer.json instead of psr-4.