You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect that according to setNamespaceDictatesDirectories(false) the root of WSDL code will be placed in the src folder and autoload section will look like:
It would also be great if I could specify setSrcDirname('src/Inventory') and setNamespace('My\Specific\Namespace\Wsdl\Inventory'), but autoload.psr-4 would still be "My\\Specific\\Namespace\\Wsdl\\": "src/". This can be useful if I want to group multiple WSDL libraries in one composer package. Each actual WSDL library will be placed in a separate subfolder within src folder, but with a common root namespace.
The text was updated successfully, but these errors were encountered:
Describe the bug
For some reason,
autoload.psr-4
section is generated wrong when used custom namespace.To Reproduce
Here's the generating code:
For some reason autoload section in
composer.json
contains a namespace aftersrc
folder:Expected behavior
I expect that according to
setNamespaceDictatesDirectories(false)
the root of WSDL code will be placed in thesrc
folder and autoload section will look like:Additional context
It would also be great if I could specify
setSrcDirname('src/Inventory')
andsetNamespace('My\Specific\Namespace\Wsdl\Inventory')
, butautoload.psr-4
would still be"My\\Specific\\Namespace\\Wsdl\\": "src/"
. This can be useful if I want to group multiple WSDL libraries in one composer package. Each actual WSDL library will be placed in a separate subfolder withinsrc
folder, but with a common root namespace.The text was updated successfully, but these errors were encountered: