From d941b5bad10e96428abebf8d87acb4ab11d7bfe1 Mon Sep 17 00:00:00 2001
From: Alberto Rodriguez <arodu.dev@gmail.com>
Date: Thu, 16 Jan 2025 16:41:45 -0400
Subject: [PATCH] update CI workflow to support PHP versions 8.3 and 8.4; add
 .phpunit.result.cache to .gitignore

---
 .github/workflows/ci.yml | 4 ++--
 .gitignore               | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c2fe814..654b855 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,7 +13,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        php-version: ['8.1', '8.2']
+        php-version: ['8.1', '8.2', '8.3', '8.4']
         db-type: [sqlite, mysql, pgsql]
         prefer-lowest: ['']
 
@@ -67,7 +67,7 @@ jobs:
         if [[ ${{ matrix.db-type }} == 'sqlite' ]]; then export DB_URL='sqlite:///:memory:'; fi
         if [[ ${{ matrix.db-type }} == 'mysql' ]]; then export DB_URL='mysql://root:root@127.0.0.1/cakephp?encoding=utf8'; fi
         if [[ ${{ matrix.db-type }} == 'pgsql' ]]; then export DB_URL='postgres://postgres:postgres@127.0.0.1/postgres'; fi
-        if [[ ${{ matrix.php-version }} == '8.1' ]]; then
+        if [[ ${{ matrix.php-version }} == '8.3' ]]; then
           export CODECOVERAGE=1 && vendor/bin/phpunit  --coverage-clover=coverage.xml
         else
           vendor/bin/phpunit
diff --git a/.gitignore b/.gitignore
index bb48951..6d7bbd0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ tmp
 pmip
 webroot/coverage
 .php_cs.cache
+.phpunit.result.cache
\ No newline at end of file