krakjoe / pcov

PCOV - CodeCoverage compatible driver for PHP
Other
696 stars 28 forks source link

Tracking coverage of attributes #108

Open manuelmeister opened 2 months ago

manuelmeister commented 2 months ago

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?