Skip to content

Fixture directory structure #14

@Cryde

Description

@Cryde

Hello,

I've struggled with this bundle because i've created a folder structure under the "fixtures" directory.

fixtures/user/user.yaml
fixtures/user/user_type.yaml
// etc

But after digging it seems that I can not do that because of :

$files = SymfonyFinder::create()->files()->in($fullPaths)->depth(0)->name('/.*\.(ya?ml|php)$/i');

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions