144 Commits

Author SHA1 Message Date
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
5703fd0046
Refactor code to directly use Doctrine's ManagerRegistry
Replaced most of the invocations of getDoctrine()->getManager() with ManagerRegistry->getManager(), and added ManagerRegistry injection to controllers where needed. This is part of an ongoing effort to improve code clarity, and avoid unnecessary method chaining in various parts of the codebase.
2023-12-16 19:09:34 +01:00
c6deb21606 replace old method of getting translator with injection of translatorInterface 2023-10-26 15:20:19 +02:00
bc2041cbdd
apply more cs rules for php-cs 2023-10-17 13:27:03 +02:00
6b8d6b76ba
Upgrade code from 146 to new standards 2023-10-16 18:04:40 +02:00
ef8ac6041a
Fix deprecation of transchoice 2023-10-02 17:46:19 +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
6f11dffcbd
Remove deprecation linked to kernel shutdown 2023-08-31 18:36:37 +02:00
7c58880139
Remove usage of deprecated Role class 2023-08-31 17:08:18 +02:00
b85cd1b994
DX: apply rector rules for phpunit up to 90 2023-08-31 11:08:42 +02:00
e4e52234ad
Rector: apply rules for doctrine code quality 2023-08-31 10:35:52 +02:00
1c0fd57913
Apply rector rules + fix CS 2023-08-30 14:55:26 +02:00
c33330969c
FIX CS 2023-08-28 12:49:31 +02:00
0e0b0b8874
DX: fix cs 2023-08-02 23:25:19 +02:00
009a0326d9
Configure routes using annotation 2023-08-02 23:05:33 +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
4028cc8a8b
Set repositories for EventBundle on the new way + dependent issues 2023-07-22 23:05:30 +02:00
d048ee3b44
fix configuration for EventSearch 2023-07-20 15:50:05 +02:00
aa553db659
apply rector rules after updating the code with master branch 2023-07-19 23:43:26 +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
c19232de35
DX: fix phpstan issues 2023-07-05 22:37:51 +02:00
1df2342c49 Merge branch 'master' into 20-finalisation-cire 2023-05-17 10:40:01 +02:00
dde3002100
DX: apply rector rules up to php8.0 2023-04-28 22:30:33 +02:00
8fd9010ea5 fix event bundle stuffs
- adapt event templates
- event bundle: fix deprecated deps injections
- fix error with n=0 not iterated into querybuilder with centers loop
2023-04-24 17:22:01 +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
4db1ff405e
fix new phpstan issues 2023-04-11 13:04:08 +02:00
ee61d131ec
UI: Replace "personne" by usager in french translation 2023-03-31 14:58:07 +02:00
b9a7530f7a
DX: apply rector rulesset up to PHP72 2023-03-29 22:32:52 +02:00
70871176fc
DX: fix cs 2023-02-06 17:47:54 +01:00
856eea37ee
DX: fix phpstan errors 2023-02-04 00:50:58 +01:00
7a1cc9b076
Merge remote-tracking branch 'origin/master' into cire16 2022-12-22 10:22:58 +01:00
928869666c #16 fix errors and some design regressions in eventBundle 2022-11-16 13:09:59 +01:00
9623a35e6f #16 EventBundle participation (fix errors and improve ux) 2022-11-16 10:57:06 +01:00
055acbf43c DX: more code style fixes 2022-11-07 11:30:51 +01:00
9699e2304a fix cs: declare type and license header mismatch 2022-10-06 22:25:43 +02:00
49731777b4 fix cs: declare type and license header mismatch 2022-10-06 20:51:44 +02:00
67c3f3a840 fix cs with licencse header 2022-10-05 17:08:14 +02:00
63137c67f4 fix cs 2022-10-05 16:55:13 +02:00
a91b35298a Do use the old name for the table, as it should exists when migrations are executed sequentially 2022-09-28 15:52:19 +02:00
ce17c15d41 fixed: ACL in activity creations and edition 2022-07-11 18:24:48 +02:00
f3ca01fd88 cs: fix 2022-07-11 13:34:10 +02:00