rename deprecated Symfony using

This commit is contained in:
Tchama 2020-09-06 21:15:32 +02:00
parent 43b0bfa369
commit d8a9881e63
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ namespace Chill\PersonBundle\Form\DataTransformer;
use Symfony\Component\Form\DataTransformerInterface; use Symfony\Component\Form\DataTransformerInterface;
use Symfony\Component\Form\Exception\TransformationFailedException; use Symfony\Component\Form\Exception\TransformationFailedException;
use Doctrine\Common\Persistence\ObjectManager; use Doctrine\Persistence\ObjectManager;
use Chill\PersonBundle\Entity\Person; use Chill\PersonBundle\Entity\Person;
class PersonToIdTransformer implements DataTransformerInterface class PersonToIdTransformer implements DataTransformerInterface

View File

@ -19,7 +19,7 @@ namespace Chill\PersonBundle\Menu;
use Chill\MainBundle\Routing\LocalMenuBuilderInterface; use Chill\MainBundle\Routing\LocalMenuBuilderInterface;
use Knp\Menu\MenuItem; use Knp\Menu\MenuItem;
use Symfony\Component\Translation\TranslatorInterface; use Symfony\Contracts\Translation\TranslatorInterface;
/** /**
* Add menu entrie to person menu. * Add menu entrie to person menu.

View File

@ -15,6 +15,6 @@ services:
Chill\PersonBundle\Menu\PersonMenuBuilder: Chill\PersonBundle\Menu\PersonMenuBuilder:
arguments: arguments:
$showAccompanyingPeriod: '%chill_person.accompanying_period%' $showAccompanyingPeriod: '%chill_person.accompanying_period%'
$translator: '@Symfony\Component\Translation\TranslatorInterface' $translator: '@Symfony\Contracts\Translation\TranslatorInterface'
tags: tags:
- { name: 'chill.menu_builder' } - { name: 'chill.menu_builder' }