openeuropa / drupal-site-template

OpenEuropa template for Drupal sites.
European Union Public License 1.2
12 stars 10 forks source link

SetupWizard doesn't use the project namespace in composer.json and Behat classes #36

Open kp77 opened 5 years ago

kp77 commented 5 years ago

SetupWizard seems to generate a default project namespace using the organization name and the project's machine name.

https://github.com/openeuropa/drupal-site-template/blob/79c7b9e692f28361a6ca71d9f84b5eb298e85e19/scripts/composer/SetupWizard.php#L53

However, by running composer create-project the namespaces used in composer.json, behat.yml.dist, tests/Behat/DrupalContext.php and tests/Behat/FeatureContext.php will use the default OpenEuropa\Site namespace.