Skip to content

Validation not enabled by default #7797

Closed
@Haikuch

Description

@Haikuch

In validation.rst is written:

Configuration

The Symfony validator is enabled by default, but you must explicitly enable annotations if you're using the annotation method to specify your constraints:

But actually, in my fresh Symfony installations (with installer 1.5.9) the annotation is enabled by default like:

validation:      { enable_annotations: true }

But I have to explicitly enable when I dont want to use annotations (so exactly the opposite to what is documented in validation.rst):

validation:      { enabled: true }

Metadata

Metadata

Assignees

No one assigned

    Labels

    ValidatoractionableClear and specific issues ready for anyone to take them.bughasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions