15 Commits

Author SHA1 Message Date
Pol Dellaiera
47c5855a21
cs: Switch to a stricter way of coding - this might break in a lot of places. 2021-11-30 13:33:18 +01:00
Pol Dellaiera
91d12c4a96
cs: Enable risky rule static_lambda. 2021-11-30 11:43:34 +01:00
b81c834b5e check acl before showing button for creating activity in person/activity 2021-11-24 15:14:06 +00:00
a2681a02f9 remove deprecation on PersonHasCenterValidator and fix tests 2021-11-24 14:20:17 +00:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only). 2021-11-23 14:08:50 +01:00
Pol Dellaiera
70ed9e75db
tests: Fix "...Class "Chill\MainBundle\Security\Resolver\CenterResolverDispatcher" is declared "final" and cannot be mocked....". 2021-11-23 12:41:09 +01:00
Pol Dellaiera
1509fcc2e9
fix: Fix tests. 2021-11-18 14:33:14 +01:00
41d76542b4 move validation on person into annotations 2021-09-20 13:56:43 +02:00
7faddbe3fe move birthday validator to namespace person + rewrite tests 2021-09-20 13:56:43 +02:00
eec798cfd3 entity person: create a validator to check a person entity is linked
with a center

This validator take a parameter in configuration
2021-09-20 13:56:43 +02:00
3169da20ad add test for accompanying period location validity 2021-07-28 16:16:57 +02:00
54997e5893 add test for household membership sequential validator 2021-06-15 21:31:02 +02:00
b2c1d75fc5 fix parameters in test MaxHolder 2021-06-14 12:58:23 +02:00
ecc8b929ca create max holder validator 2021-06-11 17:03:48 +02:00
eaa0ad925f fix folder name 2021-03-18 13:37:13 +01:00