From 6a1f189910c4f90566bd76a26a0860775e1f5ade Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 28 Oct 2023 19:37:49 +0300 Subject: [PATCH] Support Symfony 7 (#130) --- composer.json | 12 ++++++------ src/Bundle/DependencyInjection/Configuration.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 35f8b47..911c55c 100644 --- a/composer.json +++ b/composer.json @@ -15,17 +15,17 @@ "require": { "php": ">=7.1", "doctrine/orm": "^2.6.3", - "symfony/property-access": "^4.4 || ^5.4 || ^6.0", - "symfony/property-info": "^4.4 || ^5.4 || ^6.0", - "symfony/serializer": "^4.4 || ^5.4 || ^6.0" + "symfony/property-access": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/property-info": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/serializer": "^4.4 || ^5.4 || ^6.0 || ^7.0" }, "require-dev": { "doctrine/annotations": "^1.0", "doctrine/doctrine-bundle": "^1.12.13 || ^2.2", "doctrine/dbal": "^2.7 || ^3.3", - "symfony/finder": "^4.4 || ^5.4 || ^6.0", - "symfony/framework-bundle": "^4.4 || ^5.4 || ^6.0", - "symfony/phpunit-bridge": "^6.0" + "symfony/finder": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/framework-bundle": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/phpunit-bridge": "^6.0 || ^7.0" }, "suggest": { "symfony/framework-bundle": "To use the provided bundle.", diff --git a/src/Bundle/DependencyInjection/Configuration.php b/src/Bundle/DependencyInjection/Configuration.php index 8b597a3..339d3c2 100644 --- a/src/Bundle/DependencyInjection/Configuration.php +++ b/src/Bundle/DependencyInjection/Configuration.php @@ -17,7 +17,7 @@ final class Configuration implements ConfigurationInterface /** * @return TreeBuilder */ - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): TreeBuilder { $treeBuilder = new TreeBuilder('dunglas_doctrine_json_odm');