-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fall back to parent directory if composer.json not found in module directory #8990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Kept in constructor for backwards compatibility
…ample data suggestions This allows modules to follow the pds/skeleton standard and have their source code in a 'src' subdirectory of the repository
Another case where Magento reads |
hey @schmengler love the direction of this PR. It is currently already possible to have the code under src/ with the registration file sitting under I had looked into this here #3400. My current thought to solve this across the board would be to add a new optional param to |
@fooman Good idea with the optional parameter, that would give even more flexibility! Putting registration.php in |
Hi @schmengler thank you for your contribution. Could you please fix broken static tests. Also we are getting Fatal error with this changes. |
…nd in module directory #8990 - fixed code style
…nd in module directory #8990 - fixed code style
…nd in module directory #8990 - fixed code style
…nd in module directory #8990
@magento-team can this be ported to 2.2? |
[Spartans] Bugfixes Delivery
Description
This change allows modules to follow the pds/skeleton standard and have their source code in a
src
subdirectory of the repository.Manual testing scenarios
create a module with
composer.json
andregistration.php
in the root directory and source code insrc
registration.php
composer.json
call
bin/magento sampledata:deploy
and see ifvendor/module-sample-data
is going to be installed.Contribution checklist