aa0cadfa84
Add conflict resolution for generated API + add test
...
Implemented additional code to handle version conflicts when editing accompanying period work. By keeping track of the current version and returning an HTTP conflict response when it doesn't match with the provided entity version, users are properly alerted to update their entity before continuing. Furthermore, adjusted BadRequestHttpException to match correct arguments order and introduced entity version as query parameter for the URL.
ensure kernel is shutdown after generating data
2024-02-08 14:33:30 +01:00
036fe8d6f8
upgrade php-cs 3.49
2024-02-07 10:43:53 +01:00
27ce322690
upgrade php-cs-fixer to 3.47.0
2024-01-22 12:14:39 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
4d72933edb
Add condition to household export queries to exclude accompanying periods that are in draft.
2023-12-20 10:46:29 +00:00
f02873c6e0
Refactor RelationshipApiControllerTest
...
The codebase has been improved by refining and optimizing the test methods in the RelationshipApiControllerTest class. The check for relations was also added to exclude persons without any relationship, this may exclude duplicate relations. This change should avoid errors on this test.
2023-12-08 11:07:14 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
93b189b091
DX: Fix HouseholdApiControllerTest.php
2023-10-16 16:20:25 +02:00
efcb903d10
Fix direct kernel deprecation in AccompanyingCourseApiControllerTest
2023-10-16 16:20:24 +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
40b7c8ad8f
fix rector and cs
2023-09-01 17:50:07 +02:00
2c52a5bffa
Fix tests
2023-09-01 16:10:04 +02:00
e72df84442
DX: rector corrections
2023-09-01 11:08:13 +02:00
d595c17cd4
ensure kernel shutdown between client creations
2023-09-01 10:53:42 +02:00
6f11dffcbd
Remove deprecation linked to kernel shutdown
2023-08-31 18:36:37 +02:00
37419e06fc
Skip test for reviewing duplication detection on person creation
2023-08-30 20:29:30 +02:00
1c0fd57913
Apply rector rules + fix CS
2023-08-30 14:55:26 +02:00
d01172274d
Remove unused properties
2023-08-30 14:37:20 +02:00
364a67b83a
Skip test which apply on different kernel configuration
2023-08-30 14:31:37 +02:00
1b8acfab24
Fix person view test
2023-08-30 13:58:46 +02:00
690697cb35
Fix person update controller tests
2023-08-29 17:37:56 +02:00
5314e7b501
Fix tests on person's controller
2023-08-29 15:02:38 +02:00
52d791f6d0
Refactor PersonControllerUpdateTest: separate validation test on dedicated test
2023-08-29 14:48:32 +02:00
80684f65fe
Fix button selecton on PersonControllerCreateTest
2023-08-28 17:59:13 +02:00
3f2339bc60
Find person in center using centerCurrent in RelationshipApiControllerTest
2023-08-28 16:09:22 +02:00
2c83b4c912
Fix HouseholdACLAwareRepository: use the correct association to person's center
2023-08-28 16:09:21 +02:00
ad1e5ecc95
Fix data provider for person, using the association with person center current
2023-08-25 22:23:18 +02:00
24cc6a816b
Fix calls to templating service
2023-08-02 23:25:19 +02:00
009a0326d9
Configure routes using annotation
2023-08-02 23:05:33 +02:00
333579de06
DX: use more precise service parameter and use dataprovider for test
2023-07-28 13:06:45 +02:00
e839b03cc9
Update path to twig template with new syntax
2023-07-28 12:16:50 +02:00
f570fe92a5
apply rector rules
2023-07-28 02:40:02 +02:00
c20f65eebb
apply rector rules: symfony **UP TO** 44
2023-07-28 01:52:53 +02:00
6f2b538e27
Use Person::centerHistory
to load fixtures with given center
2023-07-28 01:22:55 +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
4c5dae60a8
DX: apply rector rulesets up to PHP 73
2023-03-29 22:39:11 +02:00
b9a7530f7a
DX: apply rector rulesset up to PHP72
2023-03-29 22:32:52 +02:00
055acbf43c
DX: more code style fixes
2022-11-07 11:30:51 +01:00
5a94ce49f1
[Feature] add active property to evaluation
2022-10-13 15:25:09 +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
832da83b27
fix tests for person controller update
2022-06-16 21:35:05 +02:00
da9eba2618
add regulation list and basic regulation list query
2022-06-16 15:37:51 +02:00
864e1eeabb
replace more doctrine shortcuts by fqdn
2022-04-30 00:35:11 +02:00
a0392b9216
replace some entity shortcut by fqdn
...
* ChillPerson:Person
* ChillMain:Center
* ChillActivity:Activity
2022-04-30 00:20:18 +02:00
034a416612
fix test which fails randomly
2022-03-30 22:02:45 +02:00
a7a933c7a7
fix test for phonenumber update: desactivate temporarily
2022-03-02 16:32:28 +01:00