f0f651edea
update cs after php-cs-fixer upgrade
2024-09-12 12:02:33 +02:00
ad47804c91
Apply rector changes to Collection typing
2024-08-27 16:23:08 +02:00
bc2dfd159c
merge upgrade-sf5 branch
2024-07-15 15:16:27 +02:00
916724c0c5
Merge branch 'master' into upgrade-sf5
2024-06-24 10:46:21 +02:00
31b541d12f
Update AccompanyingPeriodWorkNormalizer and related classes
...
Updated the AccompanyingPeriodWorkNormalizer, its test, and the related entity class. Now, the normalizer includes additional checks for different formats and conditions, and cleans the context accordingly before processing. AccompanyingPeriodWorkDocGenNormalizerTest now extends from a new abstract base class. Changes are made in AccompanyingPeriodWork entity for datetime handling and serialization.
2024-06-12 11:47:13 +02:00
ebb856fe85
fix rendering of accompanying course commen with at_date
2024-06-07 13:06:46 +02:00
e312929d86
php cs fixes
2024-04-24 10:16:54 +02:00
3929602f59
Revert "php style fixes"
...
This reverts commit 38fcccfd83e71a82eca5130d880f908cb2e855db.
2024-04-24 10:09:25 +02:00
38fcccfd83
php style fixes
2024-04-23 21:22:29 +02:00
ed3e0f889e
Rector changes + namespace changes
2024-04-23 17:43:23 +02:00
addc623add
php style fixer
2024-04-16 12:01:37 +02:00
f510acd170
add back the annotation to edit accompanying period work for referrers
2024-04-16 11:55:54 +02:00
bc683b28d6
update normalizers to take into account referrerHistory logic for accompanying period work
2024-04-16 11:55:50 +02:00
853014d8d2
remove attempt to adjust accompanyingperiod work for display of user job and service at specific date
2024-04-16 11:52:58 +02:00
d62e9ce269
Implement 'at date' for display of service and user job in accompanying period work entities (for twig templates) -> vue component still to fix
2024-04-16 11:52:58 +02:00
5be85a4fc6
Refactored code to use PHP8 attributes instead of annotations
...
In this change, Doctrine and validation annotations have been replaced with PHP8 Attributes. The Rector tool has been configured with a list of annotations to convert to attributes. As a consequence, the PHPStan's rules have been updated to reflect these changes. The PHP8's nullable operator (?) has been added where required, and comments in field declaration have been replaced with #[Attribute] syntax.
2024-04-08 12:11:29 +02:00
0ff4593863
Apply rector rules: add annotation for doctrine mapping
2024-04-05 13:11:42 +02:00
a3f775a69b
Apply rector rules: add annotation for doctrine mapping
2024-04-05 00:19:30 +02:00
72016e1a21
Apply rector rules: add annotation for doctrine mapping
2024-04-05 00:01:30 +02:00
579bd829f8
Apply rector rules: symfony up to 54
2024-04-04 23:30:25 +02:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00
3bb911b4d0
Update version within PUT request
...
Try to add api logic
check for version being the same instead of smaller
implementing optimistic locking and displaying correct message in frontend
rector fixes
adjust violation message and add translation in translation.yaml
add translator in apiController
2024-02-08 12:09:51 +01:00
f00b39980c
Add version of the social action to the state
...
put correct serialization groups
2024-02-08 12:08:36 +01:00
1d21499eab
add version property to accompanyingperiodwork for optimistic locking
2024-02-08 12:08:35 +01:00
4bbad4fc61
fix cs with php-cs-fixer 3.49
2024-02-07 15:38:56 +01:00
f8840d89bf
Add capability to store closing motive when closing accompanying period
...
The commit introduces new functionality in the bundle that allows storing the closing motive when a course is closed. This is achieved by modifying the model and database schema to include a new `closingMotive` field in AccompanyingPeriodStepHistory entity.
2024-02-07 15:35:44 +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
b26b7a2706
Notification: avoid the comment's content to be null
2023-12-05 16:26:06 +00:00
88469dbe8e
Fix serialization of accompangying period work referrers
2023-11-14 18:34:28 +01:00
9ec5a633ad
Fix possible null values or not null values in some entity / string properties
2023-10-17 23:15:06 +02:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
a6fcdb5256
Merge remote-tracking branch 'origin/rector/rules-symfony' into rector/rules-symfony
2023-10-16 18:07:42 +02:00
6b8d6b76ba
Upgrade code from 146 to new standards
2023-10-16 18:04:40 +02:00
be8975ee04
Merge branch '146_parcours_annules' into rector/rules-symfony
2023-10-16 17:52:06 +02:00
51a4ffca2e
Fix cs with new cs rules (php-cs-fixer version 3.35)
2023-10-16 11:59:49 +02:00
978db5a5c5
update some queries in the interface to take into account history of user's scope and user's job
2023-10-16 11:52:02 +02:00
363785b779
Update schema to store accompanying period work referrer history
2023-10-11 15:37:44 +02:00
239372270e
Update schema to store accompanying period work referrer history
2023-10-05 09:33:23 +02:00
dac48ea4e0
last processing of review remarks
2023-10-04 11:19:39 +02:00
0c5b35926b
php cs fixer and phpstan
2023-09-29 07:52:50 +02:00
9b061eeaae
handle children of closing motive for isCanceledAccompanyingPeriod
2023-09-18 15:16:59 +02:00
6b958d193d
add property to closing motive to identify motives related to erroneous accompanying periods
2023-09-18 14:36:28 +02:00
754515f185
php cs fixes
2023-09-14 12:25:56 +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
e2a739eeff
Fix strong typing on some entities's methods: allow null values
2023-08-28 16:09:22 +02:00
f570fe92a5
apply rector rules
2023-07-28 02:40:02 +02:00
0ed5544ad3
More useful error message when not enough people in database fixture
2023-07-28 01:22:58 +02:00
023a29cb78
apply rector rules: php up to php82
2023-07-19 23:19:50 +02:00