Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Twig][DX] report unknown folders in templates/bundles in debug:twig #26898

Closed
@dkarlovi

Description

@dkarlovi
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version 4.0

Had an issue in FOSOAuthServerBundle where users had a hard time discovering what the proper path for overriding bundle views is (also, me).

A small tweak for debug:twig might be to note folders in templates/bundles which don't (properly) map to any known bundle?

Say:

Path "templates/bundles/FOSOAuthServer" not matching any bundle found, did you mean "templates/bundles/FOSOAuthServerBundle"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)FeatureGood first issueIdeal for your first contribution! (some Symfony experience may be required)TwigBundle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions