From 2deaf649474a4257b319f5ad43c85ab99f659790 Mon Sep 17 00:00:00 2001 From: core23 Date: Sat, 29 Aug 2020 12:40:05 +0200 Subject: [PATCH] Replace deprecated core23 library with nucelos library --- composer.json | 2 +- tests/App/AppKernel.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 2a30eb6..53e741a 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^7.3", "ext-json": "*", "ext-soap": "*", - "core23/twig-extensions": "^1.4", + "nucleos/twig-extensions": "^2.0", "psr/log": "^1.0", "sonata-project/block-bundle": "^3.21 || ^4.2", "sonata-project/doctrine-extensions": "^1.1", diff --git a/tests/App/AppKernel.php b/tests/App/AppKernel.php index 530f707..6b1aaae 100644 --- a/tests/App/AppKernel.php +++ b/tests/App/AppKernel.php @@ -11,9 +11,9 @@ namespace Nucleos\AllInklBundle\Tests\App; -use Core23\Twig\Bridge\Symfony\Bundle\Core23TwigBundle; use Nucleos\AllInklBundle\NucleosAllInklBundle; use Nucleos\AllInklBundle\Tests\App\Controller\TestController; +use Nucleos\Twig\Bridge\Symfony\Bundle\NucleosTwigBundle; use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; use Symfony\Bundle\TwigBundle\TwigBundle; @@ -42,7 +42,7 @@ public function registerBundles() { yield new FrameworkBundle(); yield new TwigBundle(); - yield new Core23TwigBundle(); + yield new NucleosTwigBundle(); yield new NucleosAllInklBundle(); }