From 704f6daa61faab268dd98ab075b945407298612c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Merlet?= <benoit.merlet@gmail.com>
Date: Mon, 25 Mar 2024 21:16:06 +0100
Subject: [PATCH] Add Doctrine DBAL 4.0 in the test matrices

---
 .github/workflows/automated-tests.yml | 4 ++--
 .github/workflows/static-analysis.yml | 4 ++--
 composer.json                         | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/automated-tests.yml b/.github/workflows/automated-tests.yml
index b630c42..c01fd96 100644
--- a/.github/workflows/automated-tests.yml
+++ b/.github/workflows/automated-tests.yml
@@ -17,7 +17,7 @@ jobs:
       matrix:
         dbal-version:
           - "3.8.*"
-#          - "4.0.*"
+          - "4.0.*"
         php-version:
           - "8.1"
           - "8.2"
@@ -28,7 +28,7 @@ jobs:
           - "7.0.*"
         exclude:
           - { php-version: "8.1", symfony-version: "7.0.*" }
-#          - { dbal-version: "4.0.*", symfony-version: "5.4.*" }
+          - { dbal-version: "4.0.*", symfony-version: "5.4.*" }
 
     steps:
     - name: "Checkout"
diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml
index a93ca4f..3774ebf 100644
--- a/.github/workflows/static-analysis.yml
+++ b/.github/workflows/static-analysis.yml
@@ -17,7 +17,7 @@ jobs:
       matrix:
         dbal-version:
           - "3.8.*"
-#          - "4.0.*"
+          - "4.0.*"
         php-version:
           - "8.1"
           - "8.2"
@@ -28,7 +28,7 @@ jobs:
           - "7.0.*"
         exclude:
           - { php-version: "8.1", symfony-version: "7.0.*" }
-#          - { dbal-version: "4.0.*", symfony-version: "5.4.*" }
+          - { dbal-version: "4.0.*", symfony-version: "5.4.*" }
 
     steps:
       - name: "Checkout"
diff --git a/composer.json b/composer.json
index 0214772..733a69f 100644
--- a/composer.json
+++ b/composer.json
@@ -22,7 +22,7 @@
     "require": {
         "php": ">=8.1",
         "beberlei/assert": ">=3.2",
-        "doctrine/dbal": "^3.8",
+        "doctrine/dbal": ">=3.8",
         "psr/log": ">=1.1",
         "symfony/config": ">=5.4",
         "symfony/console": ">=5.4",