open-orchestra/open-orchestra-user-bundle

View on GitHub
UserBundle/Resources/config/validation.yml

Summary

Maintainability
Test Coverage
OpenOrchestra\UserBundle\Document\User:
    constraints:
        - OpenOrchestra\UserBundle\Validator\Constraints\ComplexUserPassword: { groups: [Registration, UpdatePassword, ResetPassword]}
    properties:
        lastName:
            - NotBlank: { groups: [Registration, Profile]}
        firstName:
            - NotBlank: { groups: [Registration, Profile]}