Skip to content

Forbid making cache.app tag-aware #54339

Open
@rpkamp

Description

@rpkamp

Description

Follow-up from twigphp/Twig#3869

Since app.cache.tagware exists by default, we should not allow app.cache to be taggable. Whenever people try to configure app.cache as taggable we should inform them about app.cache.taggable.

Ideally, in the current version this would raise a deprecation notice, and it should be completely forbidden in the next Symfony version.

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CacheDXDX = Developer eXperience (anything that improves the experience of using Symfony)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions