Skip to content

Symfony\Component\Validator\ConstraintsAll trow php error if just empty string provided #9502

Closed
@mmuruev

Description

@mmuruev

Symfony\Component\Validator\Constraints\All have not protection from send array into it and throw php error.
Also if I try use with
Symfony\Component\Validator\Constraints\Choose(array('',
new Symfony\Component\Validator\Constraints\All()))
This nesting just not working if I send array into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions