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
931c69eee4
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-04-04 18:45:01 +02:00
d29415317b
Allow users to display news on homepage (+ configuring a dashboard homepage)
2024-03-07 21:08:00 +00:00
1d636f5e9e
Fix deprecations and code style issues
2024-03-07 15:26:58 +01:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00
37af488f69
Merge branch 'master' into upgrade-sf5
2024-02-12 21:50:34 +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
825cd127d1
update php-cs-fixer and rector + fix rules
2024-01-09 13:50:45 +01:00
da997badd9
Fix phpstan issues
2023-12-12 22:43:44 +01:00
f35f5f0876
fixup! fix typo in classname (Phonenumber => PhoneNumber)
2023-12-12 17:19:28 +01:00
e2a37fd80b
fix typo in classname (Phonenumber => PhoneNumber)
2023-12-12 17:12:01 +01:00
f68deca992
Fix icu message
2023-12-12 16:13:58 +01:00
be57c96a2f
Add phonenumber to user
2023-11-16 15:12:12 +00:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
68d28f3e28
Fix filtres and scopes to take into account job and scope when the refferrer is add to the accompanying period work
2023-10-16 11:52:03 +02:00
0b6b25fd95
improve histories order since User entity
2023-10-04 12:49:30 +02:00
2d4d1eda50
cs-fixer
2023-10-03 19:40:23 +02:00
baeccf0970
fix Entity/UserTest and phpstan error
2023-10-03 19:40:23 +02:00
6665a443b9
phpstan, rector, cs-fixer
2023-10-03 19:40:23 +02:00
fc919e9547
add tests for MainScope and UserJob getters/setters
2023-10-03 19:40:23 +02:00
949c5424f0
improve check in setters and add types in repositories
2023-10-03 19:40:23 +02:00
6228cc5ede
fix errors in user getter/setters for mainScope and userJob
2023-10-03 19:40:23 +02:00
d2feb0f0b4
Fix return type in user getters for mainScope and userJob
2023-10-03 19:40:23 +02:00
096fb6219f
adapt User Entity to get/set MainScope and UserJob with Histories Collection
2023-10-03 19:35:44 +02:00
d47e6c5ba1
add new entities UserScopeHistory and UserJobHistory
2023-10-03 19:35:44 +02:00
65aa0a1588
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
2023-09-27 15:25:29 +02:00
b4f9501af5
php cs fixes
2023-09-14 11:47:54 +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
7c7c5862c6
FEATURE [center][isActive] add getter and setter + integrate into template
2023-09-06 15:56:04 +02:00
ba41ab98f7
FEATURE [isActive][center] add isActive property to the center entity
2023-09-06 15:50:45 +02:00
e4e52234ad
Rector: apply rules for doctrine code quality
2023-08-31 10:35:52 +02:00
f570fe92a5
apply rector rules
2023-07-28 02:40:02 +02:00
4028cc8a8b
Set repositories for EventBundle on the new way + dependent issues
2023-07-22 23:05:30 +02:00
023a29cb78
apply rector rules: php up to php82
2023-07-19 23:19:50 +02:00
74ed34ba97
apply rules rector
2023-07-19 22:48:26 +02:00
075aca493b
DX: type-hing oneToMany and ManyToMany properties as collection
2023-07-19 16:21:17 +02:00
224c2c74e8
Merge remote-tracking branch 'origin/master' into rector/rules-up-to-php80
...
Conflicts:
src/Bundle/ChillActivityBundle/Controller/ActivityController.php
src/Bundle/ChillActivityBundle/Export/Aggregator/ACPAggregators/DateAggregator.php
src/Bundle/ChillActivityBundle/Menu/PersonMenuBuilder.php
src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php
src/Bundle/ChillActivityBundle/Service/DocGenerator/ActivityContext.php
src/Bundle/ChillCalendarBundle/Command/MapAndSubscribeUserCalendarCommand.php
src/Bundle/ChillCalendarBundle/RemoteCalendar/Connector/MSGraph/MSGraphUserRepository.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentAccompanyingCourseController.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php
src/Bundle/ChillDocStoreBundle/Repository/PersonDocumentACLAwareRepository.php
src/Bundle/ChillEventBundle/Search/EventSearch.php
src/Bundle/ChillMainBundle/Controller/ExportController.php
src/Bundle/ChillMainBundle/Controller/PermissionsGroupController.php
src/Bundle/ChillMainBundle/Cron/CronManager.php
src/Bundle/ChillMainBundle/Entity/CronJobExecution.php
src/Bundle/ChillMainBundle/Export/ExportManager.php
src/Bundle/ChillMainBundle/Form/Type/Export/PickCenterType.php
src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php
src/Bundle/ChillMainBundle/Repository/NotificationRepository.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelper.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperBuilder.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperFactory.php
src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseWorkController.php
src/Bundle/ChillPersonBundle/Controller/SocialWorkSocialActionApiController.php
src/Bundle/ChillPersonBundle/Export/Aggregator/PersonAggregators/AgeAggregator.php
src/Bundle/ChillPersonBundle/Export/Export/ListAccompanyingPeriod.php
src/Bundle/ChillPersonBundle/Export/Export/ListHouseholdInPeriod.php
src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepository.php
src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodVoter.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/PersonContext.php
src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php
src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php
2023-07-17 12:49:13 +02:00
718de2fad0
Merge branch '112-addresses-recollate' into 'master'
...
Feature: re-associate addresses with addresses references and postal code references in a cronjob and allow a cronjob to pass data from one execution to the next one
Closes #112
See merge request Chill-Projet/chill-bundles!580
2023-07-14 08:56:56 +00:00
e38b369149
[cron-job] add a new "lastExecution" data on CronJobExecution entity
...
This column will store the results of the last execution
2023-07-12 10:26:53 +02:00
51544cfc48
DX: improve typing of a property in UserJob
2023-06-23 12:24:40 +02:00
73b95732db
Add new methods to RegroupmentRepository and fix association
...
Regroupment/Center
2023-06-07 13:06:10 +02:00
8863e0a92e
Fixed: force string on username
2023-05-17 13:24:44 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
47d0334b9e
Merge remote-tracking branch 'origin/master' into rector/rules-up-to-php74
2023-04-27 23:32:31 +02:00