Skip to content

OXID eShop related utility, which generates edition-specific class files for the "unified namespace"

License

Notifications You must be signed in to change notification settings

OXID-eSales/oxideshop-unified-namespace-generator

Repository files navigation

Unified Namespace Generator

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

Development

Running tests

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.

Bugs and Issues

If you experience any bugs or issues, please report them in the section OXID eShop (all versions) of https://bugs.oxid-esales.com.