This is wrong as the suffix and prefix options should only be used to prefix and suffix generated classes name
To Reproduce
Set the prefix or the suffix option to any value and let the namespace option to an empty value.
Expected behavior
If the namespace option value is empty and the suffix or prefix option is set to a value, the composer.json's autoload section should look like this:
Describe the bug When I generate the classes with
prefix
=Ews
option, thecomposer.json
'sautoload
section looks like this:This is wrong as the
suffix
andprefix
options should only be used to prefix and suffix generated classes nameTo Reproduce Set the
prefix
or thesuffix
option to any value and let thenamespace
option to an empty value.Expected behavior If the
namespace
option value is empty and thesuffix
orprefix
option is set to a value, thecomposer.json
'sautoload
section should look like this:Additional context