An OXID eShop related tool to generate class files in the so called unified namespace. This tools implements a composer plugin, but can also be executed as a standalone script like this
vendor/bin/oe-eshop-unified_namespace_generator
See also Documentation on docs.oxid-esales.com
Component tests can be executed with the OXID eShop's PHPUnit runner:
vendor/bin/phpunit vendor/oxid-esales/oxideshop-unified-namespace-generator
you might need to extend the eShop's root composer autoload-dev
configuration and run dump-autoload
command:
"autoload-dev": {
"psr-4": {
"OxidEsales\\UnifiedNameSpaceGenerator\\Tests\\": "./vendor/oxid-esales/oxideshop-unified-namespace-generator/tests"
}
}
composer dump-autoload
to activate autoloading for the component's test classes.
If you experience any bugs or issues, please report them in the section OXID eShop (all versions) of https://bugs.oxid-esales.com.