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