Remove ReportSearch class and update services config

Removed the ReportSearch class from ChillReportBundle and updated the corresponding services configuration. This removal is part of a larger refactoring process to enhance maintainability, eliminate unused code and simplify application architecture. This will not affect the application's functionality as the class was not used.
This commit is contained in:
2023-12-14 23:05:18 +01:00
parent 312eb5ec7c
commit 4e1f46154c
2 changed files with 4 additions and 167 deletions

View File

@@ -3,18 +3,7 @@ services:
# class: Chill\ReportBundle\Example
# arguments: [@service_id, "plain_value", %parameter%]
services:
chill.report.search:
class: Chill\ReportBundle\Search\ReportSearch
arguments:
- '@doctrine.orm.entity_manager'
- '@chill.main.security.authorization.helper'
- '@security.token_storage'
calls:
- [setContainer, ["@service_container"]]
tags:
- { name: chill.search, alias: 'report' }
chill.report.timeline:
class: Chill\ReportBundle\Timeline\TimelineReportProvider
arguments:
@@ -26,7 +15,7 @@ services:
tags:
- { name: chill.timeline, context: 'person' }
- { name: chill.timeline, context: 'center' }
chill.report.security.authorization.report_voter:
class: Chill\ReportBundle\Security\Authorization\ReportVoter
arguments:
@@ -34,7 +23,7 @@ services:
tags:
- { name: security.voter }
- { name: chill.role }
chill.report.form.report_type:
class: Chill\ReportBundle\Form\ReportType
arguments:
@@ -44,4 +33,4 @@ services:
- "@doctrine.orm.entity_manager"
tags:
- { name: form.type, alias: chill_reportbundle_report }