symfony / recipes-contrib

Symfony Contrib Recipes Repositories

Home Page:https://github.com/symfony/recipes-contrib/blob/flex/main/RECIPES.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible nelmio/alice recipie misconfiguration

gfilipiak opened this issue · comments

I am new to this stuff so tell me if I am wrong.

Regarding https://github.com/symfony/recipes-contrib/tree/master/nelmio/alice/3.2

manifest.json says:

"bundles": {
        "Nelmio\\Alice\\Bridge\\Symfony\\NelmioAliceBundle": ["dev", "test"]
    },

But directory structure is config/packages/nelmio_alice.yaml. This mean that it will be on in all environments including prod which is not listed in bundles so it fails to load the configuration for 'nelmio_alice'.

Tell me if I am right and I will try to provide PR for it to fix.

I have not tested this bundle but if the bundle is not loaded on the prod then this configuration will not be interpreted.

You have an error in your application about this topic?

Fixed by #487 or #486