I have a symfony project with attributes on certain class properties, e.g. #[Assert\Length(max: 2)] which will automatically invoke a LengthValidator before persisting in the database.
What do I need to do, to mark the attributes as covered, if I test this?
I have a symfony project with attributes on certain class properties, e.g.
#[Assert\Length(max: 2)]
which will automatically invoke a LengthValidator before persisting in the database.What do I need to do, to mark the attributes as covered, if I test this?