fix sf4 deprecated service alias definition

This commit is contained in:
Tchama 2020-07-16 14:58:35 +02:00
parent a92686d10b
commit 73a2c2d41a

View File

@ -1,33 +1,25 @@
services: services:
Chill\PersonBundle\Form\PersonType: Chill\PersonBundle\Form\PersonType:
arguments: arguments:
- '%chill_person.person_fields%' - '%chill_person.person_fields%'
- '@Chill\PersonBundle\Config\ConfigPersonAltNamesHelper' - '@Chill\PersonBundle\Config\ConfigPersonAltNamesHelper'
tags: tags:
- { name: form.type } - { name: form.type, alias: person_creation }
chill.person.form.person_creation:
alias: 'Chill\PersonBundle\Form\PersonType'
deprecated: true
Chill\PersonBundle\Form\CreationPersonType: Chill\PersonBundle\Form\CreationPersonType:
arguments: arguments:
- '@chill.main.form.data_transformer.center_transformer' - '@chill.main.form.data_transformer.center_transformer'
- '@Chill\PersonBundle\Config\ConfigPersonAltNamesHelper' - '@Chill\PersonBundle\Config\ConfigPersonAltNamesHelper'
tags: tags:
- { name: form.type } - { name: form.type, alias: person_creation }
chill.main.form.person_creation:
alias: 'Chill\PersonBundle\Form\CreationPersonType'
deprecated: true
chill.person.accompanying_period_closing_motive: chill.person.accompanying_period_closing_motive:
class: Chill\PersonBundle\Form\Type\ClosingMotivePickerType class: Chill\PersonBundle\Form\Type\ClosingMotivePickerType
arguments: arguments:
$translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper' $translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper'
$chillEntityRenderExtension: '@Chill\MainBundle\Templating\Entity\ChillEntityRenderExtension' $chillEntityRenderExtension: '@Chill\MainBundle\Templating\Entity\ChillEntityRenderExtension'
$closingMotiveRepository: '@Chill\PersonBundle\Repository\ClosingMotiveRepository' $closingMotiveRepository: '@Chill\PersonBundle\Repository\ClosingMotiveRepository'
tags: tags:
- { name: form.type, alias: closing_motive } - { name: form.type, alias: closing_motive }