The traits directory does not match the PSR-4 naming schema.
Furthermore, the traits use different namespaces:
EDI\Generator\traits\VatAndCurrency
EDI\Generator\Traits\TransportData
The error can be detected by removing the autoload.classmap configuration from composer.json and running composer dump-autoload -a:
Class EDI\Generator\Traits\ContactPerson located in php-edifact/edifact-generator/src/Generator/traits/ContactPerson.php does not comply with psr-4 autoloading standard. Skipping.
Class EDI\Generator\Traits\Item located in php-edifact/edifact-generator/src/Generator/traits/Item.php does not comply with psr-4 autoloading standard. Skipping.
Class EDI\Generator\Traits\ItemPrice located in php-edifact/edifact-generator/src/Generator/traits/ItemPrice.php does not comply with psr-4 autoloading standard. Skipping.
Class EDI\Generator\Traits\NameAndAddress located in php-edifact/edifact-generator/src/Generator/traits/NameAndAddress.php does not comply with psr-4 autoloading standard. Skipping.
Class EDI\Generator\Traits\TransportData located in php-edifact/edifact-generator/src/Generator/traits/TransportData.php does not comply with psr-4 autoloading standard. Skipping.
The
traits
directory does not match the PSR-4 naming schema.Furthermore, the traits use different namespaces:
EDI\Generator\traits\VatAndCurrency
EDI\Generator\Traits\TransportData
The error can be detected by removing the
autoload.classmap
configuration fromcomposer.json
and runningcomposer dump-autoload -a
: