Composer has a possibility to define autoload roles for development purposes.
https://getcomposer.org/doc/04-schema.md#autoload-dev
The main purpose of this is for test classes. These classes are only included in the autoloader in development.
Currently there is no support for this inside the composer plugin.
The usecase inside the plugin for this feature could be, that there can be different rules for autosugestion.
For regular source files the autosugestion would exclude the "autoload-dev" classes, but inside test classes full autosugestion (including autoload-dev) would be available.
What do you think?
Composer has a possibility to define autoload roles for development purposes.
https://getcomposer.org/doc/04-schema.md#autoload-dev
The main purpose of this is for test classes. These classes are only included in the autoloader in development.
Currently there is no support for this inside the composer plugin.
The usecase inside the plugin for this feature could be, that there can be different rules for autosugestion.
For regular source files the autosugestion would exclude the "autoload-dev" classes, but inside test classes full autosugestion (including autoload-dev) would be available.
What do you think?