From 276422702379d5fd821cef6edecf4b0b16c3d7dc Mon Sep 17 00:00:00 2001 From: Guillaume Date: Mon, 19 May 2025 11:41:47 +0200 Subject: [PATCH] :arrow_up: Symfony 6 support --- DependencyInjection/TdbmExtension.php | 2 +- composer.json | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/DependencyInjection/TdbmExtension.php b/DependencyInjection/TdbmExtension.php index 5558b13..6883bb2 100644 --- a/DependencyInjection/TdbmExtension.php +++ b/DependencyInjection/TdbmExtension.php @@ -4,7 +4,6 @@ namespace TheCodingMachine\TDBM\Bundle\DependencyInjection; -use BrainDiminished\SchemaVersionControl\SchemaVersionControlService; use Doctrine\Common\Cache\FilesystemCache; use Doctrine\Common\Cache\VoidCache; use Doctrine\DBAL\Connection; @@ -23,6 +22,7 @@ use TheCodingMachine\TDBM\Configuration as TDBMConfiguration; use TheCodingMachine\TDBM\ConfigurationInterface; use TheCodingMachine\TDBM\Schema\LockFileSchemaManager; +use TheCodingMachine\TDBM\SchemaVersionControl\SchemaVersionControlService; use TheCodingMachine\TDBM\TDBMService; use TheCodingMachine\TDBM\Utils\Annotation\AnnotationParser; use TheCodingMachine\TDBM\Utils\CodeGeneratorListenerInterface; diff --git a/composer.json b/composer.json index f23e406..2df7d0d 100644 --- a/composer.json +++ b/composer.json @@ -22,19 +22,19 @@ ], "require" : { "php": "^7.4 || ^8.0", - "thecodingmachine/tdbm": "~5.3.0", + "thecodingmachine/tdbm": "dev-updates-for-sf6 as 5.3.99", "doctrine/doctrine-bundle": "^2", "doctrine/orm": "^2", - "symfony/http-kernel": "^4.1.9 || ^5" + "symfony/http-kernel": "^4.1.9 || ^5.0 || ^6.0" }, "require-dev": { "roave/security-advisories": "dev-master", - "symfony/security-bundle": "^4.1.9 || ^5", - "symfony/yaml": "^4.1.9 || ^5", + "symfony/security-bundle": "^4.1.9 || ^5 || ^6", + "symfony/yaml": "^4.1.9 || ^5 || ^6", "phpunit/phpunit": "^9.5", "phpstan/phpstan": "^1.2", - "thecodingmachine/tdbm-fluid-schema-builder": "^1.0.0", - "symfony/framework-bundle": "^5.2" + "thecodingmachine/tdbm-fluid-schema-builder": "^1.0 || ^2.0", + "symfony/framework-bundle": "^6.2" }, "scripts": { "phpstan": "phpstan analyse TdbmBundle.php DependencyInjection/ Utils/ -c phpstan.neon --level=8 --no-progress" @@ -54,6 +54,12 @@ "dev-master": "5.3.x-dev" } }, + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/daetcm/tdbm" + } + ], "minimum-stability": "dev", "prefer-stable": true }