Remove deprecated ContainerAwareTrait

This commit is contained in:
2025-08-27 17:01:06 +02:00
parent 5ffa945a84
commit 77bccd5c4e
3 changed files with 0 additions and 7 deletions

View File

@@ -27,8 +27,6 @@ use Faker\Factory as FakerFactory;
class LoadActivity extends AbstractFixture implements OrderedFixtureInterface
{
use \Symfony\Component\DependencyInjection\ContainerAwareTrait;
private readonly \Faker\Generator $faker;
public function __construct(private readonly EntityManagerInterface $em)

View File

@@ -11,14 +11,11 @@ declare(strict_types=1);
namespace Chill\MainBundle\Templating;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
use Twig\Extension\AbstractExtension;
use Twig\TwigFilter;
class TranslatableStringTwig extends AbstractExtension
{
use ContainerAwareTrait;
/**
* TranslatableStringTwig constructor.
*/

View File

@@ -56,8 +56,6 @@ services:
class: Chill\MainBundle\Templating\TranslatableStringTwig
arguments:
- "@chill.main.helper.translatable_string"
calls:
- [ setContainer, ["@service_container"]]
tags:
- { name: twig.extension }