3e355a6465
php cs fixer
2024-11-26 18:04:36 +01:00
b0485dbcc8
Replace ArrayCollection with Collection&Selectable on some entity typing (fix previous commit)
...
Updated entity properties to use Collection&Selectable for better type safety and interoperability. This change affects User, Household, Calendar, Person, AccompanyingPeriod, and EntityWorkflow classes.
2024-08-28 12:04:43 +02:00
85e2466611
Cherry-pick phpstan fixes after rector changes
2024-08-27 16:09:12 +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
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
835409cb94
work on userRenderTest
2024-04-16 11:55:54 +02:00
fbbf421d8b
Handle DateTime type for activity while DateTimeImmutable is expected
2024-04-16 11:52:58 +02:00
d0ec6f9819
Improve naming for 'at date' in user render component
2024-04-16 11:52:54 +02:00
19ffef156b
Fix use of Ordering constant in doctrine orm association
...
See https://github.com/doctrine/orm/issues/11313 for a follow-up
2024-04-08 13:10:38 +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
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
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
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
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
4028cc8a8b
Set repositories for EventBundle on the new way + dependent issues
2023-07-22 23:05:30 +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
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
6749758b46
Fixes for features "allow to set user absences"
2023-03-01 16:08:49 +01:00
bb7d072cc8
FIX [render] use isAbsent method to render user as absent or not + place homepage msg above searchbar
2023-01-27 11:10:17 +01:00
5ae4eb1bf7
Merge branch 'master' into user_absences
2023-01-26 17:09:54 +01:00
e87f0bf348
Fixed: a userid can be null
2023-01-19 13:52:24 +01:00
b93b78615b
FIX [migration][absence] fix the typing in db for absence datetime immuatable
2023-01-12 11:12:32 +01:00