Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
b7875eb
chore(composer): Add symfony/dependency-injection to composer.json
ChernegaSergiy Jan 31, 2026
0601b88
chore(composer): Update composer.lock after adding symfony/dependency…
ChernegaSergiy Jan 31, 2026
6273815
refactor(audit): Allow injecting PDO into AuditLogger (backwards comp…
ChernegaSergiy Jan 31, 2026
454ecaa
feat(di): Add ContainerFactory to build DI container and load service…
ChernegaSergiy Jan 31, 2026
23966b8
feat(di): Add basic service definitions (PDO, TranslationService, Aud…
ChernegaSergiy Jan 31, 2026
082a105
feat(di): Register EventDispatcher service in services.php
ChernegaSergiy Jan 31, 2026
4ab82a8
refactor(view): Allow injecting TranslationService and preserve fallb…
ChernegaSergiy Jan 31, 2026
a96847e
feat(bootstrap): Use DI container for EventDispatcher and Translation…
ChernegaSergiy Jan 31, 2026
c73cc85
feat(router): Accept PSR container and resolve controllers from DI wh…
ChernegaSergiy Jan 31, 2026
9dfd073
refactor(bootstrap): Pass DI container to Router for controller resol…
ChernegaSergiy Jan 31, 2026
0e52fdc
refactor(patient): Allow injecting PDO and AuditLogger; prefer inject…
ChernegaSergiy Jan 31, 2026
3ddde17
feat(di): Wire PatientRepository and AuditLogger to use PDO; register…
ChernegaSergiy Jan 31, 2026
4ead579
refactor(medical): Inject dependencies into MedicalRecordController a…
ChernegaSergiy Jan 31, 2026
1a6443b
refactor(patient): Inject repositories and insurance service into Pat…
ChernegaSergiy Jan 31, 2026
30b6b49
refactor(core): Make NotificationService accept PDO
ChernegaSergiy Jan 31, 2026
a464936
refactor(core): Make AttachmentService accept PDO and upload dir inje…
ChernegaSergiy Jan 31, 2026
993c493
refactor(lab+di): Register core services; inject dependencies into La…
ChernegaSergiy Jan 31, 2026
6d1a341
refactor(user): Make MfaService DI-compatible; inject into MfaController
ChernegaSergiy Jan 31, 2026
fd1286c
refactor(user): Inject MfaService into AuthController; prepare OAuthC…
ChernegaSergiy Jan 31, 2026
773d792
refactor(user): Allow injecting repositories into UserController
ChernegaSergiy Jan 31, 2026
3573962
refactor(appointment): Allow injecting repositories and SchedulingSer…
ChernegaSergiy Jan 31, 2026
449f3ef
feat(di): Register Appointment module services and SchedulingService;…
ChernegaSergiy Jan 31, 2026
ecfde99
fix(di): Register Billing ServiceRepository required by SchedulingSer…
ChernegaSergiy Jan 31, 2026
96ee313
fix(di): Use App\Module\Schedule\Service\SchedulingService in service…
ChernegaSergiy Jan 31, 2026
19dd7cf
refactor(di): Make InventoryController DI-capable
ChernegaSergiy Jan 31, 2026
654ec3d
refactor(di): Make DepartmentController DI-capable
ChernegaSergiy Jan 31, 2026
edec2e1
refactor(di): Make RoomController DI-capable
ChernegaSergiy Jan 31, 2026
1f2d56b
refactor(di): Make PrescriptionController DI-capable
ChernegaSergiy Jan 31, 2026
948c7e0
refactor(di): Make InsuranceController DI-capable
ChernegaSergiy Jan 31, 2026
5def83f
refactor(di): Register repositories/controllers (Inventory, Departmen…
ChernegaSergiy Jan 31, 2026
8ce4c6d
chore(infra): Update service registrations
ChernegaSergiy Jan 31, 2026
91f848f
fix(http): Render full exception trace in Router error page
ChernegaSergiy Jan 31, 2026
86878e9
fix(db): Improve database connection error reporting
ChernegaSergiy Jan 31, 2026
bec20fb
refactor(appointment): Enable DI in controller and policy
ChernegaSergiy Jan 31, 2026
fbf7935
refactor(billing): Enable DI in billing controllers
ChernegaSergiy Jan 31, 2026
027c686
refactor(dashboard): Enable DI in controller and service
ChernegaSergiy Jan 31, 2026
73d2bb2
refactor(dashboard): Enable DI in KpiCalculatorService
ChernegaSergiy Jan 31, 2026
7a50242
refactor(hrm,kpi): Enable DI in HrmController and KpiController
ChernegaSergiy Jan 31, 2026
2a440df
refactor(laborder): Enable DI in policy and import service
ChernegaSergiy Jan 31, 2026
f676a7c
refactor(medicalrecord,news): Enable DI in policies and news controller
ChernegaSergiy Jan 31, 2026
56b3ddb
refactor(notification,patient): Enable DI in notification and patient…
ChernegaSergiy Jan 31, 2026
d3d585b
refactor(patient,prescription): Enable DI in policies
ChernegaSergiy Jan 31, 2026
c0cc91c
refactor(schedule): Enable DI in schedule controller and policy
ChernegaSergiy Jan 31, 2026
cc797e5
refactor(user): Enable DI in Auth and Mfa controllers
ChernegaSergiy Jan 31, 2026
8f54663
refactor(user): Enable DI in OAuth and User controllers
ChernegaSergiy Jan 31, 2026
8300b44
refactor(admin): Enable DI in AdminController
ChernegaSergiy Jan 31, 2026
9ddb4c2
Register Router and ModuleManager in Symfony container
Sameer6305 Mar 3, 2026
b4f42b4
Refactor index.php to resolve core services via DI container
Sameer6305 Mar 3, 2026
163c320
Finalize Router DI registration and namespace alignment
Sameer6305 Mar 3, 2026
976ca9d
Fix PSR-12 and PHPStan violations
Sameer6305 Mar 3, 2026
439e22c
Fix all PHPStan and PHPCS violations across entire project
Sameer6305 Mar 3, 2026
60ccf80
Fix CI: run PHPCS checker instead of PHPCBF in workflow
Sameer6305 Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ node_modules/
.phpunit.cache/
build/
public/uploads/*
composer.phar
composer-setup.php
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"symfony/process": "^7.4",
"symfony/http-foundation": "^7.4",
"symfony/event-dispatcher": "^7.4",
"symfony/dependency-injection": "^7.0",
"symfony/validator": "^7.4"
},
"require-dev": {
Expand All @@ -62,8 +63,8 @@
},
"scripts": {
"test": "phpunit",
"cs": "phpcbf --standard=PSR12 --ignore=vendor/ public/ src/",
"cs-check": "phpcs --standard=PSR12 --ignore=vendor/ public/ src/",
"cs": "phpcs --standard=PSR12 --ignore=vendor/,public/,src/ .",
"cs-check": "phpcs --standard=PSR12 --ignore=vendor/,public/,src/ .",
"stan": "phpstan analyse",
"db:migrate": "phinx migrate",
"db:rollback": "phinx rollback",
Expand Down
167 changes: 166 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading