19 Commits

Author SHA1 Message Date
a38116cca4
fix cs 2025-06-20 17:31:13 +02:00
78a3dfd65e
Add validation for household metadata
A new validation group 'household_metadata' has been added to the Household form. The 'waitingForBirth' field now has a type check, and for the 'waitingForBirthDate' field, an expression is added to ensure it's set if 'waitingForBirth' is true. Simultaneously, error handling for form submission has been enriched in the HouseholdController to display specific error messages.
2024-04-08 14:52:40 +02:00
e3bd68112e
fix test for editing household metadata 2024-04-08 13:44:22 +02:00
f251e6f100
upgrade phpunit: make data provider static 2024-02-14 12:28:14 +01:00
1098bafd3d
Replaced the deprecated 'self::$container->get' with 'self::getContainer()->get' using rector
This change is made to comply with the new Symfony standards and to avoid deprecation warnings for future versions. The update touches various functionalities, including retrieving EntityManagerInterface instance and various service classes within the test files.
2023-12-14 23:36:56 +01:00
bc2041cbdd
apply more cs rules for php-cs 2023-10-17 13:27:03 +02:00
6f11dffcbd
Remove deprecation linked to kernel shutdown 2023-08-31 18:36:37 +02:00
6f2b538e27
Use Person::centerHistory to load fixtures with given center 2023-07-28 01:22:55 +02:00
dde3002100
DX: apply rector rules up to php8.0 2023-04-28 22:30:33 +02:00
9699e2304a fix cs: declare type and license header mismatch 2022-10-06 22:25:43 +02:00
67c3f3a840 fix cs with licencse header 2022-10-05 17:08:14 +02:00
Pol Dellaiera
b55c19cd9e
fix: Fix return types in tests. 2021-12-21 15:26:22 +01:00
Pol Dellaiera
cd3be25c22
cs: Remove duplicated headers. 2021-11-30 13:54:58 +01:00
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
8f96a1121d
cs: Fix code style (safe rules only). 2021-11-23 14:08:50 +01:00
6430de94a7 try to fix button in controller issue 2021-10-14 16:03:48 +02:00
99337c4aa6 add form edit metadata in summary page 2021-06-18 14:11:02 +02:00
dc79e1a02d remove test for members page 2021-06-18 13:31:19 +02:00
0158c6f2ed add tests for household 2021-06-02 16:21:01 +02:00