mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix deprecation error on constraint
This commit is contained in:
parent
e6a1dcd7a4
commit
8c4ddd8342
@ -1,27 +1,29 @@
|
||||
Chill\MainBundle\Entity\PermissionsGroup:
|
||||
properties:
|
||||
name:
|
||||
name:
|
||||
- NotBlank: ~
|
||||
- Length:
|
||||
max: 50
|
||||
roleScopes:
|
||||
- Valid: ~
|
||||
constraints:
|
||||
- Callback: [isRoleScopePresentOnce]
|
||||
|
||||
- Callback:
|
||||
callback: isRoleScopePresentOnce
|
||||
|
||||
Chill\MainBundle\Entity\User:
|
||||
properties:
|
||||
username:
|
||||
- Length:
|
||||
- Length:
|
||||
max: 70
|
||||
min: 3
|
||||
constraints:
|
||||
- Callback: [isGroupCenterPresentOnce]
|
||||
- Callback:
|
||||
callback: isGroupCenterPresentOnce
|
||||
|
||||
Chill\MainBundle\Entity\RoleScope:
|
||||
constraints:
|
||||
- \Chill\MainBundle\Validation\Constraint\RoleScopeScopePresenceConstraint: ~
|
||||
|
||||
|
||||
Chill\MainBundle\Entity\Center:
|
||||
properties:
|
||||
name:
|
||||
@ -41,11 +43,11 @@ Chill\MainBundle\Entity\Address:
|
||||
validFrom:
|
||||
- NotNull: ~
|
||||
- Date: ~
|
||||
|
||||
|
||||
Chill\MainBundle\Entity\PostalCode:
|
||||
properties:
|
||||
name:
|
||||
- Length:
|
||||
- Length:
|
||||
max: 250
|
||||
min: 2
|
||||
code:
|
||||
@ -53,4 +55,4 @@ Chill\MainBundle\Entity\PostalCode:
|
||||
min: 2
|
||||
max: 100
|
||||
country:
|
||||
- NotNull: ~
|
||||
- NotNull: ~
|
||||
|
Loading…
x
Reference in New Issue
Block a user