224 Commits

Author SHA1 Message Date
1098bafd3d
Replaced the deprecated 'self::$container->get' with 'self::getContainer()->get' using rector
This change is made to comply with the new Symfony standards and to avoid deprecation warnings for future versions. The update touches various functionalities, including retrieving EntityManagerInterface instance and various service classes within the test files.
2023-12-14 23:36:56 +01:00
da997badd9
Fix phpstan issues 2023-12-12 22:43:44 +01:00
179e3e92ed
Fix "filter aside activity by date" 2023-12-04 17:30:40 +01:00
6fd80f9f2e
[export] fix data type from form: either collection or array 2023-11-05 23:08:13 +01:00
bc2041cbdd
apply more cs rules for php-cs 2023-10-17 13:27:03 +02:00
304bf4258b
Remove usage of setParameters in various filters 2023-10-16 16:20:25 +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
15e23087ed cs-fixer, phpstan et rector 2023-10-04 09:45:15 +02:00
d6a1044585 just mark other uses with mainScope and userJob !! 2023-10-03 19:43:18 +02:00
6e48d036d7 [export] fix aside activity filters/aggregators: 'at' based on aside date 2023-10-03 19:42:06 +02:00
84ba626fb5 add missing form child in getFormDefaultData() + sort methods
try to resolve 2 last unit tests errors on ci (no errors in local)
2023-10-03 19:42:06 +02:00
eddcfc3921 cs-fixer 2023-10-03 19:42:06 +02:00
8c44e92079 [export] fix 2 job/scope filters aside activity 2023-10-03 19:40:23 +02:00
3aa10927d7 [export] fix 4 job/scope aggregators in activity and aside activity 2023-10-03 19:40:23 +02:00
bad302f512
Update template pathes to new syntax 2023-10-02 13:56:22 +02:00
65aa0a1588
Merge remote-tracking branch 'origin/master' into rector/rules-symfony 2023-09-27 15:25:29 +02:00
754515f185 php cs fixes 2023-09-14 12:25:56 +02:00
b93a822299
Force again the kernel to shutdown before creating the client 2023-09-13 11:45:01 +02:00
fc7cfb1760
Ensure kernel shutdown between each test on AsideActivityControllerTest.php 2023-09-13 10:29:12 +02:00
2ce29f36ff
avoid creating client on already booted kernel 2023-09-12 16:19:06 +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
899ed5d0a4
Upgrade changes from master to last rector rules 2023-09-12 15:31:20 +02:00
9375d50112
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
# Conflicts:
#	src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php
#	src/Bundle/ChillAsideActivityBundle/src/Export/Export/ListAsideActivity.php
2023-09-12 15:21:15 +02:00
b6fe830f1e
use newer notation for declaring service 2023-09-07 13:08:55 +02:00
665f0b4ccb
Use PickUserLocationType instead of an EntityType 2023-09-07 13:08:55 +02:00
30fa57b999
remove unused comment on Version migration 2023-09-07 12:57:41 +02:00
bd4f3e38eb
run rector 2023-09-07 12:16:47 +02:00
75bca46b98
cs fixer 2023-09-07 12:16:47 +02:00
67ea62f33d
Feature: [export] add byLocation filter/aggregators in asideActivity exports 2023-09-07 12:16:46 +02:00
0e16ab4c18
Feature: add location in asideActivity pages (user currentLocation by default) 2023-09-07 12:16:45 +02:00
a68fef8547
Feature: migrate changes in Location attribute in Asideactivity Entity 2023-09-07 12:16:45 +02:00
6f11dffcbd
Remove deprecation linked to kernel shutdown 2023-08-31 18:36:37 +02:00
009a0326d9
Configure routes using annotation 2023-08-02 23:05:33 +02:00
f570fe92a5
apply rector rules 2023-07-28 02:40:02 +02:00
e45430f0c9
Merge branch 'rector/rules-up-to-php82' into rector/rules-symfony 2023-07-19 23:22:57 +02:00
023a29cb78
apply rector rules: php up to php82 2023-07-19 23:19:50 +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
56940d830c
fix typos 2023-06-29 17:45:50 +02:00
21f11fb034
execute rector run on filters and aggregators 2023-06-18 21:36:40 +02:00
50de389bc7
Revert "apply fixes for list"
This reverts commit 938027cc
2023-06-18 11:58:42 +02:00
960acb8c0a
Revert "apply rector rules for exports"
This reverts commit 3adf3625
2023-06-18 11:57:26 +02:00
938027cc1e
apply fixes for list 2023-06-05 17:54:00 +02:00
3adf3625dc
apply rector rules for exports 2023-06-05 17:21:21 +02:00
efaa01f4f6
DX: rector apply rules 'symfony up to 4.4 2023-05-05 18:21:33 +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
19034ac1d8
Merge remote-tracking branch 'origin/master' into refactor-using-rector-202303 2023-04-15 00:07:09 +02:00