-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Fixture directory structure #14
Comments
Yes! The reason is that it represents environments: https://github.com/theofidry/AliceBundle/blob/master/doc/advanced-usage.md#environment-specific-fixtures I am not sure how this could be made either better/less confusing :/ |
Maybe load the environnement-less file first, with depth 0 and the per env with "infinite" depth ? (maybe we should put in the doc that it won't go in subdir in per env dir ?) Thanks for your answers |
not |
To be honest I'm not sure if it's because it was desired or to keep BC. I'm happy to change this but this requires some checking and probably a new major version. Maybe a flag could be added to enable this behaviour and add a deprecation message that this will become the default behaviour |
Support of subdirectories will be nice feature! ;-) Load subdirectories by default (or with flag), env files put in fixtures/env/{prod,test,etc.}/ directory? |
Hello,
I've struggled with this bundle because i've created a folder structure under the "fixtures" directory.
But after digging it seems that I can not do that because of :
In
vendor/hautelook/alice-bundle/src/Locator/EnvDirectoryLocator.php:85
Is there a special reason to limit the depth ?
I will put my files at the root dir
The text was updated successfully, but these errors were encountered: