diff --git a/Build/gitlab-ci/nightly/functional.yml b/Build/gitlab-ci/nightly/functional.yml
index 376e1e38067144b1dac916e1ba13a172f3e0a8c0..48a10a36c5e3cea5570d54aa6a63a141a0387039 100644
--- a/Build/gitlab-ci/nightly/functional.yml
+++ b/Build/gitlab-ci/nightly/functional.yml
@@ -271,15 +271,16 @@ functional mysql 8.0 php 8.1 min:
     - Build/Scripts/runTests.sh -s composerInstallMin -p 8.1
     - Build/Scripts/runTests.sh -s functional -d mysql -j 8.0 -p 8.1 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
 
-functional postgres 10 php 8.1 locked:
+functional postgres 10 php 8.2 locked:
   stage: functional
   needs: []
   only:
     - schedules
   parallel: 6
   script:
-    - Build/Scripts/runTests.sh -s composerInstall -p 8.1
-    - Build/Scripts/runTests.sh -s functional -d postgres -k 10 -p 8.1 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
+    - Build/Scripts/runTests.sh -s composerInstall -p 8.2
+    - Build/Scripts/runTests.sh -s functional -d postgres -k 10 -p 8.2 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
+# @todo change to php8.2 if issue with "prophecy/prophecy" is fixed, see: https://github.com/phpspec/prophecy/issues/556
 functional postgres 10 php 8.1 max:
   stage: functional
   needs: []
@@ -293,6 +294,7 @@ functional postgres 10 php 8.1 max:
   script:
     - Build/Scripts/runTests.sh -s composerInstallMax -p 8.1
     - Build/Scripts/runTests.sh -s functional -d postgres -k 10 -p 8.1 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
+# @todo change to php8.2 if issue with "prophecy/prophecy" is fixed, see: https://github.com/phpspec/prophecy/issues/556
 functional postgres 10 php 8.1 min:
   stage: functional
   needs: []
@@ -307,7 +309,7 @@ functional postgres 10 php 8.1 min:
     - Build/Scripts/runTests.sh -s composerInstallMin -p 8.1
     - Build/Scripts/runTests.sh -s functional -d postgres -k 10 -p 8.1 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
 
-functional sqlite php 8.1 locked:
+functional sqlite php 8.2 locked:
   stage: functional
   needs: []
   only:
@@ -316,6 +318,7 @@ functional sqlite php 8.1 locked:
   script:
     - Build/Scripts/runTests.sh -s composerInstall -p 8.1
     - Build/Scripts/runTests.sh -s functional -d sqlite -p 8.1 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
+# @todo change to php8.2 if issue with "prophecy/prophecy" is fixed, see: https://github.com/phpspec/prophecy/issues/556
 functional sqlite php 8.1 max:
   stage: functional
   needs: []
@@ -329,6 +332,7 @@ functional sqlite php 8.1 max:
   script:
     - Build/Scripts/runTests.sh -s composerInstallMax -p 8.1
     - Build/Scripts/runTests.sh -s functional -d sqlite -p 8.1 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
+# @todo change to php8.2 if issue with "prophecy/prophecy" is fixed, see: https://github.com/phpspec/prophecy/issues/556
 functional sqlite php 8.1 min:
   stage: functional
   needs: []
diff --git a/Build/gitlab-ci/pre-merge/functional.yml b/Build/gitlab-ci/pre-merge/functional.yml
index 939785da5f328ca6b5246ff4d8fa6bd5c7d103a8..c9df95fd5185c0c1274b3281ec27b64ab6556f2f 100644
--- a/Build/gitlab-ci/pre-merge/functional.yml
+++ b/Build/gitlab-ci/pre-merge/functional.yml
@@ -18,7 +18,7 @@ functional deprecated postgres 10 php 8.1 pre-merge:
     - Build/Scripts/runTests.sh -s composerInstall -p 8.1
     - Build/Scripts/runTests.sh -s functionalDeprecated -d postgres -k 10 -p 8.1
 
-functional mariadb 10.3 php 8.1 pre-merge:
+functional mariadb 10.3 php 8.2 pre-merge:
   stage: main
   except:
     refs:
@@ -26,8 +26,8 @@ functional mariadb 10.3 php 8.1 pre-merge:
       - main
   parallel: 6
   script:
-    - Build/Scripts/runTests.sh -s composerInstall -p 8.1
-    - Build/Scripts/runTests.sh -s functional -d mariadb -i 10.3 -p 8.1 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
+    - Build/Scripts/runTests.sh -s composerInstall -p 8.2
+    - Build/Scripts/runTests.sh -s functional -d mariadb -i 10.3 -p 8.2 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
 
 functional postgres 10 php 8.1 pre-merge:
   stage: main