use correct translatorInterface instead of deprecated one

This commit is contained in:
Julie Lenaerts 2022-02-18 15:51:52 +01:00
parent 0b4d79fd5e
commit 4f9acf3174
17 changed files with 21 additions and 19 deletions

View File

@ -24,6 +24,7 @@ and this project adheres to
* [person_resources]: Renderboxes used to display person/thirdparty info (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/465) * [person_resources]: Renderboxes used to display person/thirdparty info (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/465)
* [Household]: Add end date in HouseholdMember form for 'enfant hors menage' (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/434) * [Household]: Add end date in HouseholdMember form for 'enfant hors menage' (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/434)
* [homepage_widget]: If no sender then display as 'notification automatique' (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/435) * [homepage_widget]: If no sender then display as 'notification automatique' (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/435)
* [parcours]: Order social activities and only display most recent three in parcours resumé (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/481)
## Test releases ## Test releases

View File

@ -2,6 +2,6 @@ services:
Chill\AMLI\BudgetBundle\Menu\UserMenuBuilder: Chill\AMLI\BudgetBundle\Menu\UserMenuBuilder:
arguments: arguments:
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface' $authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
tags: tags:
- { name: 'chill.menu_builder' } - { name: 'chill.menu_builder' }

View File

@ -5,7 +5,7 @@ services:
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface' $eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper' $authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
$formFactoryInterface: '@Symfony\Component\Form\FormFactoryInterface' $formFactoryInterface: '@Symfony\Component\Form\FormFactoryInterface'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
$paginator: '@chill_main.paginator_factory' $paginator: '@chill_main.paginator_factory'
public: true public: true
tags: ['controller.service_arguments'] tags: ['controller.service_arguments']

View File

@ -44,6 +44,6 @@ services:
$tokenStorage: "@security.token_storage" $tokenStorage: "@security.token_storage"
$authorizationHelper: "@chill.main.security.authorization.helper" $authorizationHelper: "@chill.main.security.authorization.helper"
$urlGenerator: '@Symfony\Component\Routing\Generator\UrlGeneratorInterface' $urlGenerator: '@Symfony\Component\Routing\Generator\UrlGeneratorInterface'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
tags: tags:
- { name: form.type } - { name: form.type }

View File

@ -2,6 +2,6 @@ services:
Chill\EventBundle\Menu\PersonMenuBuilder: Chill\EventBundle\Menu\PersonMenuBuilder:
arguments: arguments:
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface' $authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
tags: tags:
- { name: 'chill.menu_builder' } - { name: 'chill.menu_builder' }

View File

@ -2,6 +2,6 @@ services:
Chill\AMLI\FamilyMembersBundle\Menu\UserMenuBuilder: Chill\AMLI\FamilyMembersBundle\Menu\UserMenuBuilder:
arguments: arguments:
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface' $authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
tags: tags:
- { name: 'chill.menu_builder' } - { name: 'chill.menu_builder' }

View File

@ -19,7 +19,7 @@ services:
chill.main.export.spreadsheet_formatter: chill.main.export.spreadsheet_formatter:
class: Chill\MainBundle\Export\Formatter\SpreadSheetFormatter class: Chill\MainBundle\Export\Formatter\SpreadSheetFormatter
arguments: arguments:
$translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface;' $translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface'
$exportManager: '@Chill\MainBundle\Export\ExportManager' $exportManager: '@Chill\MainBundle\Export\ExportManager'
tags: tags:
- { name: chill.export_formatter, alias: 'spreadsheet' } - { name: chill.export_formatter, alias: 'spreadsheet' }
@ -27,7 +27,7 @@ services:
chill.main.export.list_formatter: chill.main.export.list_formatter:
class: Chill\MainBundle\Export\Formatter\CSVListFormatter class: Chill\MainBundle\Export\Formatter\CSVListFormatter
arguments: arguments:
$translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface;' $translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface'
$exportManager: '@Chill\MainBundle\Export\ExportManager' $exportManager: '@Chill\MainBundle\Export\ExportManager'
tags: tags:
- { name: chill.export_formatter, alias: 'csvlist' } - { name: chill.export_formatter, alias: 'csvlist' }
@ -35,7 +35,7 @@ services:
chill.main.export.list_spreadsheet_formatter: chill.main.export.list_spreadsheet_formatter:
class: Chill\MainBundle\Export\Formatter\SpreadsheetListFormatter class: Chill\MainBundle\Export\Formatter\SpreadsheetListFormatter
arguments: arguments:
$translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface;' $translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface'
$exportManager: '@Chill\MainBundle\Export\ExportManager' $exportManager: '@Chill\MainBundle\Export\ExportManager'
tags: tags:
- { name: chill.export_formatter, alias: 'spreadlist' } - { name: chill.export_formatter, alias: 'spreadlist' }
@ -43,7 +43,7 @@ services:
chill.main.export.pivoted_list_formatter: chill.main.export.pivoted_list_formatter:
class: Chill\MainBundle\Export\Formatter\CSVPivotedListFormatter class: Chill\MainBundle\Export\Formatter\CSVPivotedListFormatter
arguments: arguments:
$translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface;' $translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface'
$exportManager: '@Chill\MainBundle\Export\ExportManager' $exportManager: '@Chill\MainBundle\Export\ExportManager'
tags: tags:
- { name: chill.export_formatter, alias: 'csv_pivoted_list' } - { name: chill.export_formatter, alias: 'csv_pivoted_list' }

View File

@ -59,7 +59,7 @@ services:
- "@chill.main.helper.translatable_string" - "@chill.main.helper.translatable_string"
- '@Symfony\Component\Routing\Generator\UrlGeneratorInterface' - '@Symfony\Component\Routing\Generator\UrlGeneratorInterface'
- '@Chill\MainBundle\Form\ChoiceLoader\PostalCodeChoiceLoader' - '@Chill\MainBundle\Form\ChoiceLoader\PostalCodeChoiceLoader'
- '@Symfony\Contracts\Translation\TranslatorInterface;' - '@Symfony\Contracts\Translation\TranslatorInterface'
tags: tags:
- { name: form.type } - { name: form.type }

View File

@ -15,7 +15,7 @@ services:
Chill\MainBundle\Routing\MenuBuilder\SectionMenuBuilder: Chill\MainBundle\Routing\MenuBuilder\SectionMenuBuilder:
arguments: arguments:
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface' $authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
tags: tags:
- { name: 'chill.menu_builder' } - { name: 'chill.menu_builder' }

View File

@ -10,7 +10,7 @@ services:
$mailer: '@swiftmailer.mailer.default' $mailer: '@swiftmailer.mailer.default'
# $mailerTransporter: '@swiftmailer.transport' # $mailerTransporter: '@swiftmailer.transport'
$router: '@Symfony\Component\Routing\RouterInterface' $router: '@Symfony\Component\Routing\RouterInterface'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
$routeParameters: '%chill_main.notifications%' $routeParameters: '%chill_main.notifications%'
Chill\MainBundle\Notification\NotificationHandlerManager: Chill\MainBundle\Notification\NotificationHandlerManager:

View File

@ -8,7 +8,7 @@ services:
arguments: arguments:
- '@Symfony\Component\Routing\RouterInterface' - '@Symfony\Component\Routing\RouterInterface'
- '@Knp\Menu\FactoryInterface' - '@Knp\Menu\FactoryInterface'
- '@Symfony\Contracts\Translation\TranslatorInterface;' - '@Symfony\Contracts\Translation\TranslatorInterface'
Chill\MainBundle\Routing\MenuComposer: '@chill.main.menu_composer' Chill\MainBundle\Routing\MenuComposer: '@chill.main.menu_composer'
chill.main.routes_loader: chill.main.routes_loader:

View File

@ -32,6 +32,7 @@ use Symfony\Component\Workflow\Registry;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use Symfony\Contracts\Translation\TranslatorInterface; use Symfony\Contracts\Translation\TranslatorInterface;
use function array_slice;
use function is_array; use function is_array;
/** /**

View File

@ -25,7 +25,7 @@ services:
Chill\PersonBundle\Controller\PersonDuplicateController: Chill\PersonBundle\Controller\PersonDuplicateController:
arguments: arguments:
$similarPersonMatcher: '@Chill\PersonBundle\Search\SimilarPersonMatcher' $similarPersonMatcher: '@Chill\PersonBundle\Search\SimilarPersonMatcher'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
$personRepository: '@Chill\PersonBundle\Repository\PersonRepository' $personRepository: '@Chill\PersonBundle\Repository\PersonRepository'
$personMove: '@Chill\PersonBundle\Actions\Remove\PersonMove' $personMove: '@Chill\PersonBundle\Actions\Remove\PersonMove'
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface' $eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'

View File

@ -8,5 +8,5 @@ services:
Chill\PersonBundle\DataFixtures\ORM\LoadCustomFields: Chill\PersonBundle\DataFixtures\ORM\LoadCustomFields:
arguments: arguments:
$translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper' $translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
tags: [ 'doctrine.fixture.orm' ] tags: [ 'doctrine.fixture.orm' ]

View File

@ -3,7 +3,7 @@ services:
arguments: arguments:
$em: '@Doctrine\ORM\EntityManagerInterface' $em: '@Doctrine\ORM\EntityManagerInterface'
$translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper' $translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
$customFieldProvider: '@Chill\CustomFieldsBundle\Service\CustomFieldProvider' $customFieldProvider: '@Chill\CustomFieldsBundle\Service\CustomFieldProvider'
tags: tags:
- { name: chill.export_elements_provider, prefix: 'report' } - { name: chill.export_elements_provider, prefix: 'report' }

View File

@ -3,7 +3,7 @@ services:
arguments: arguments:
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface' $tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
$counter: '@Chill\TaskBundle\Templating\UI\CountNotificationTask' $counter: '@Chill\TaskBundle\Templating\UI\CountNotificationTask'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface' $authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
tags: tags:
- { name: "chill.menu_builder" } - { name: "chill.menu_builder" }
@ -17,6 +17,6 @@ services:
Chill\TaskBundle\Menu\SectionMenuBuilder: Chill\TaskBundle\Menu\SectionMenuBuilder:
arguments: arguments:
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface' $authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
tags: tags:
- { name: "chill.menu_builder" } - { name: "chill.menu_builder" }

View File

@ -1,7 +1,7 @@
services: services:
Chill\ThirdPartyBundle\Menu\MenuBuilder: Chill\ThirdPartyBundle\Menu\MenuBuilder:
arguments: arguments:
$translator: '@Symfony\Contracts\Translation\TranslatorInterface;' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface' $authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
tags: tags:
- { name: 'chill.menu_builder' } - { name: 'chill.menu_builder' }