diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index be23455..2e777c1 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -74,7 +74,7 @@ jobs: services: mysql: - image: "mysql:8" + image: "mysql:5.7" env: MYSQL_ALLOW_EMPTY_PASSWORD: true MYSQL_ROOT_PASSWORD: diff --git a/DependencyInjection/TdbmCompilerPass.php b/DependencyInjection/TdbmCompilerPass.php index 5aadb94..c1a47d9 100644 --- a/DependencyInjection/TdbmCompilerPass.php +++ b/DependencyInjection/TdbmCompilerPass.php @@ -14,7 +14,7 @@ class TdbmCompilerPass implements CompilerPassInterface /** * @inheritDoc */ - public function process(ContainerBuilder $container) + public function process(ContainerBuilder $container): void { $generatorListeners = $this->taggedServicesToReferences($container->findTaggedServiceIds(TdbmExtension::TAG_GENERATOR_LISTENER)); $codeGeneratorListeners = $this->taggedServicesToReferences($container->findTaggedServiceIds(TdbmExtension::TAG_CODE_GENERATOR_LISTENER)); diff --git a/TdbmBundle.php b/TdbmBundle.php index 7b3f0a7..8ab764a 100644 --- a/TdbmBundle.php +++ b/TdbmBundle.php @@ -11,7 +11,7 @@ class TdbmBundle extends Bundle { - public function build(ContainerBuilder $container) + public function build(ContainerBuilder $container): void { parent::build($container); diff --git a/composer.json b/composer.json index 806c891..4708919 100644 --- a/composer.json +++ b/composer.json @@ -23,8 +23,8 @@ "require" : { "php" : ">=7.2", "thecodingmachine/tdbm" : "~5.2.0", - "doctrine/doctrine-bundle": "^1.9 || ^2", - "doctrine/orm": "^1 || ^2", + "doctrine/doctrine-bundle": "^2", + "doctrine/orm": "^2", "symfony/http-kernel": "^4.1.9 || ^5" }, "require-dev": {