From a63a936f7fa56ad0c1f75b44ba944193331b2d1a Mon Sep 17 00:00:00 2001 From: Marco Wansinck Date: Tue, 19 Dec 2023 21:53:36 +0100 Subject: [PATCH] chore(deps): Symfony 7 --- composer.json | 15 ++++++++++----- .../KibaticDatagridExtension.php | 2 -- src/Grid/Column.php | 1 - 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 4b9b6ec..7574661 100644 --- a/composer.json +++ b/composer.json @@ -12,17 +12,22 @@ } ], "require": { - "php": "^8.0", - "doctrine/orm": "^2.7", - "twig/twig": "^2.12.1 || ^3.0", + "php": "^8.1", + "doctrine/orm": "^2.7|^3.0", + "twig/twig": "^2.12.1|^3.0", "twig/extra-bundle": "^3.4", "twig/string-extra": "^3.4", - "knplabs/knp-paginator-bundle": "^5.8", - "symfony/property-access": "^6.1" + "knplabs/knp-paginator-bundle": "^5.8|^6.3", + "symfony/property-access": "^6.3|^7.0", + "symfony/form": "^6.3|^7.0", + "symfony/options-resolver": "^6.3|^7.0" }, "autoload": { "psr-4": { "Kibatic\\DatagridBundle\\": "src" } + }, + "require-dev": { + "symfony/asset-mapper": "^7.0" } } diff --git a/src/DependencyInjection/KibaticDatagridExtension.php b/src/DependencyInjection/KibaticDatagridExtension.php index 2b6350e..7bf9354 100644 --- a/src/DependencyInjection/KibaticDatagridExtension.php +++ b/src/DependencyInjection/KibaticDatagridExtension.php @@ -6,9 +6,7 @@ use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; -use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; -use Symfony\Component\DependencyInjection\Reference; class KibaticDatagridExtension extends Extension implements PrependExtensionInterface { diff --git a/src/Grid/Column.php b/src/Grid/Column.php index 3ceceb0..e72aeec 100644 --- a/src/Grid/Column.php +++ b/src/Grid/Column.php @@ -2,7 +2,6 @@ namespace Kibatic\DatagridBundle\Grid; -use Symfony\Component\ExpressionLanguage\ExpressionLanguage; use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; use Symfony\Component\PropertyAccess\PropertyAccess;