32d2bb002b
Remove no longer used annotation use statements and replace with attribute use statements
2025-10-01 18:38:41 +02:00
4bd9e2ba7d
fix: update CRUD routing controller syntax
...
- Replace `:` with `::` for `_controller` to align with modern Symfony standards
2025-09-10 17:12:14 +02:00
b9a9983b88
Inject services, no longer available in container by default
2025-06-05 16:23:23 +02:00
9875f49374
Replace methods with injected services
2025-06-05 16:23:23 +02:00
640a7bcd0a
Correct injection of services
2025-06-05 16:23:23 +02:00
13a9e14450
Run symfonysetlist up to symfony_70
2025-06-05 16:23:21 +02:00
1cb63bfe1d
Use FQCN::method to build CRUD routes
2025-06-05 16:21:19 +02:00
abfdf2ec6d
Inject managerRegistry and serializerInterface directly into controllers
2025-06-05 16:21:19 +02:00
d9ce4e3ec6
Inject ManagerRegistry directly instead of getting from container
2025-06-05 16:21:18 +02:00
e3b2b7c6d1
Make doctrine service available, no longer by default in scoped service locator
2025-06-05 16:21:18 +02:00
17db59d221
Rector changes and immplementations of required methods
2025-06-05 16:21:17 +02:00
03b2496817
Fix dependency injection issues in AbstractCRUDController
...
Replaced incorrect service definitions in AbstractCRUDController to ensure proper dependency injection. Specifically, fixed retrieval of the ManagerRegistry and Validator services to resolve CalendarRange save errors (Issue #362 ). No schema changes were introduced.
2025-03-04 23:02:19 +01:00
f0f651edea
update cs after php-cs-fixer upgrade
2024-09-12 12:02:33 +02:00
84f515d451
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-05-28 14:16:01 +02:00
56d173046d
fix phpstan, cs, and rector rules
2024-05-28 12:54:56 +02:00
76fdd6d889
Add explicit controller definition requirement for APIs
...
Updated API creation to require an explicit controller definition. This change has been reflected in the ChillMainExtension and ChillPersonExtension files. Also, it has introduced a new exception, the InvalidCrudConfiguration, which will be thrown when a new API or CRUD is created without this explicit controller definition.
2024-04-08 19:06:47 +02:00
2ddfd56401
fix phpstan and rector errors, fix path for rector rules
2024-02-13 19:12:14 +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
aa0cadfa84
Add conflict resolution for generated API + add test
...
Implemented additional code to handle version conflicts when editing accompanying period work. By keeping track of the current version and returning an HTTP conflict response when it doesn't match with the provided entity version, users are properly alerted to update their entity before continuing. Furthermore, adjusted BadRequestHttpException to match correct arguments order and introduced entity version as query parameter for the URL.
ensure kernel is shutdown after generating data
2024-02-08 14:33:30 +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
a63b40fb6c
use service subscriber injection to inject manager registry
2024-01-09 13:48:14 +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
655dc02538
CRUDRoutesLoader: use the syntax controller::method instead of the deprecated controller:method
2023-12-14 23:57:20 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
e3559774fd
Improve the signature definition
2023-10-03 21:25: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
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
7c58880139
Remove usage of deprecated Role class
2023-08-31 17:08:18 +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
6d63177ff4
apply rules rector up to php82
2023-05-01 21:39:45 +02:00
c35994203d
fix phpstan issues
2023-04-28 22:55:01 +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
0c5a06c678
Fix: correct usage of badRequestHttpException signature
2023-04-24 15:50:08 +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
8bec6feb96
DX: fix ci and phpstan issues
2023-04-11 22:01:47 +02:00
8ccce12e54
DX: fix phpstan errors
2023-02-07 23:49:56 +01:00
584ac05b53
DX: fix phpstan errors
2023-02-04 01:19:34 +01:00
9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
67c3f3a840
fix cs with licencse header
2022-10-05 17:08:14 +02:00
48daed26f9
replace BadRequestException by BadRequestHttpException
2022-04-27 14:31:39 +02:00
ae10a8bd1c
fix post action on api controller: too many argument
2022-03-30 21:51:39 +02:00
1b567327b7
fix normalisation for phonenumber in person entity
2022-03-30 12:37:18 +02:00