8c2acbd166
Add support for serializing identifiers in PersonJsonNormalizer and improve PersonIdentifier entity serialization.
...
- Extended `PersonJsonNormalizer` to include `identifiers` field normalization.
- Added `Serializer` annotations to `PersonIdentifier` and `PersonIdentifierDefinition` for enhanced serialization support.
- Updated `PersonIdentifier` and `PersonIdentifierDefinition` to define serialization groups and discriminator maps.
2025-10-29 15:04:50 +01:00
bfbde078b7
Add personId serialization to PersonJsonNormalizer
...
- Inject `PersonIdRenderingInterface` into `PersonJsonNormalizer` for generating `personId`.
- Update `PersonJsonNormalizer` to include `personId` in serialized output.
- Extend TypeScript definitions to support `personId` property.
- Enhance unit tests to cover `personId` serialization.
2025-09-25 15:00:11 +02:00
d42a1296c4
Add integration and unit tests for PersonJsonNormalizer to verify normalization behavior
...
- Introduce `PersonJsonNormalizerIntegrationTest` to test database-driven normalization scenarios.
- Expand `PersonJsonNormalizerTest` with cases covering minimal group normalization and extended keys.
- Refactor test setup to use mock objects and improve coverage of normalization logic.
2025-09-25 14:51:39 +02:00
3227bfcd3a
Remove serializer.yaml configuration, update PersonJsonNormalizer and PersonJsonDenormalizer for improved logic handling, adjust type hints in closures, and rename id to definition_id in PersonIdentifierWorkerNormalizer.
2025-09-22 14:03:50 +02:00
d9b730627f
Introduce PersonJsonReadDenormalizer and PersonJsonDenormalizer to separate responsibilities for handling person denormalization. Add corresponding test classes for improved coverage. Refactor PersonJsonNormalizer to remove denormalization logic.
2025-09-22 14:03:49 +02:00
2eb686ffdb
Create gender API and adjust serialization of gender property
2024-10-09 16:49:40 +02:00
f0f651edea
update cs after php-cs-fixer upgrade
2024-09-12 12:02:33 +02:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
d2323e91ca
new cs rule: single_line_empty_body
...
Rule is added to the last version of php-cs-fixer
2023-09-12 15:58:59 +02:00
6d63177ff4
apply rules rector up to php82
2023-05-01 21:39:45 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
746ed4f5e5
DX: fix cs
2023-04-15 00:43:55 +02:00
858ade467c
DX: rector rules upt to PHP 74
2023-04-15 00:20:19 +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
6c246a0d38
allow to edit civility in onTheFly
2022-05-06 12:54:01 +02:00
nobohan
4009f3ffda
php code fix
2022-04-14 21:47:38 +02:00
nobohan
7d3239d6d6
person: fix adding civility to a person with OnTheFly form
2022-04-14 21:37:16 +02:00
1b567327b7
fix normalisation for phonenumber in person entity
2022-03-30 12:37:18 +02:00
4ad65b616d
fix tests for person json normalizer and residential address stuff
2022-03-03 15:20:21 +01:00
f0e41f839f
fix error when context is a string in personJsonNormalizer
2022-03-03 14:39:20 +01:00
6edf0bcb3b
fix delete links in documents
2022-03-03 13:57:00 +01:00
fccac80222
Merge remote-tracking branch 'origin/master' into issue439_residential_address_otf
2022-03-02 21:53:17 +01:00
f4f488dad1
normalization of phonenumber
2022-03-02 14:10:48 +01:00
nobohan
a7240e8cc6
PersonJsonNormalizer: fix circular reference with residential address
2022-03-01 14:15:39 +01:00
1e146f542e
try to fix some things
2022-02-28 16:09:52 +01:00
cdd21c94c6
Merge remote-tracking branch 'origin/master' into issue439_residential_address_otf
2022-02-28 15:11:50 +01:00
Pol Dellaiera
30cdcb0836
serializer update
2022-02-28 15:01:26 +01:00
Pol Dellaiera
4822acb6fb
fix: Use odolbeau/phone-number-bundle for formatting phone number type fields.
...
There is no need to use the bundle, we could have used the library instead. However, this idea is to switch to that bundle at some point.
2022-02-28 15:00:55 +01:00
822f0aa737
fix cs
2022-02-28 14:38:25 +01:00
nobohan
71f3a3403c
php code fix for Enfant Confie
2022-02-22 12:12:53 +01:00
nobohan
665027085d
move DenormalizerAwareInterface and NormalizerAwareInterface from the interface to the class
2022-02-22 11:05:18 +01:00
nobohan
c5d2953ecb
php code fix for Residential Address
2022-02-18 09:15:13 +01:00
nobohan
baf9b6e1ae
residential address: correct normalization
2022-02-17 18:04:50 +01:00
nobohan
24fc7a216b
person: add current residential address in normalizer
2022-02-17 15:42:37 +01:00
nobohan
b992bde41d
Created an interface for PersonJsonNormalizer
2022-02-16 21:09:27 +01:00
93345c09a1
fix cs
2022-02-11 13:45:21 +01:00
nobohan
3d5723facb
AddPerson: correct thirdparty PATCH url + add email and altnames in AddPerson and serializer
2022-02-03 08:59:56 +01:00
e04c02055c
add age in some place and re-organize some usage of the component
2022-01-31 12:45:50 +01:00
90d0cbc3b1
Merge remote-tracking branch 'origin/master' into issue389_add_age
2022-01-31 11:44:55 +01:00
646f39b9ed
Merge conflicts fixed
2022-01-28 12:15:51 +01:00
10a9b6c909
using normalizer for age and added obele
2022-01-27 18:13:46 +01:00
88d1fe24b4
Creation of PersonResource
2022-01-26 12:52:15 +00:00
Pol Dellaiera
7513187a6d
Revert "fix cs"
...
This reverts commit 7b3e9cb490 .
2022-01-25 15:54:20 +01:00
7b3e9cb490
fix cs
2022-01-25 14:40:28 +01:00
Pol Dellaiera
2e6d281bfc
cs: Autofix coding standard based on updated rules.
2022-01-25 11:46:29 +01:00
1e0c62b09d
Merge branch 'master' into notification/completion
2022-01-05 11:15:49 +01:00
Pol Dellaiera
acf7142bad
cs: Use Collection more.
2022-01-04 15:29:17 +01:00