From 098eb24845b00494f5a1dc8dd12c532abaeae5ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Sat, 30 May 2026 22:46:45 +0200 Subject: [PATCH 1/3] chore: add php 8.5 to tests --- .github/workflows/test.yml | 14 ++++++++++---- Dockerfile | 2 +- composer.json | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 523fa88..90b4473 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,12 +8,13 @@ concurrency: cancel-in-progress: true on: - push: - paths-ignore: - - '**.md' pull_request: paths-ignore: - '**.md' + types: + - opened + - synchronize + - reopened jobs: test: @@ -26,6 +27,7 @@ jobs: - ubuntu-latest php-version: - '8.4' + - '8.5' steps: - name: Checkout @@ -37,8 +39,12 @@ jobs: - name: Build run: docker compose build --build-arg PHPVERSION=${{ matrix.php-version }} + - name: Lint + if: matrix.php-version == '8.4' + run: docker compose run lib composer lint + - name: Test - run: docker compose run -e "PHP_CS_FIXER_IGNORE_ENV=True" lib composer ci + run: docker compose run lib composer test - name: Upload coverage uses: codecov/codecov-action@v6 diff --git a/Dockerfile b/Dockerfile index d28c7c6..0df38dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN docker-php-ext-install \ RUN apk add --no-cache \ $PHPIZE_DEPS \ linux-headers \ - && pecl install xdebug-3.4.2 \ + && pecl install xdebug-3.5.1 \ && docker-php-ext-enable xdebug \ && rm -rf /tmp/* /var/cache/apk/* diff --git a/composer.json b/composer.json index e51cce5..5c072f2 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "php-cs-fixer fix -vvv" ], "test": [ - "phpunit --colors --coverage-html ./coverage --coverage-clover coverage/clover.xml" + "phpunit --colors --display-deprecation --coverage-html ./coverage --coverage-clover coverage/clover.xml" ] } } From 3bed649701a797effedfc3fd467d2caeaeeb1bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Sat, 30 May 2026 23:27:58 +0200 Subject: [PATCH 2/3] use --display-all-issues --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5c072f2..a6a8cf0 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "php-cs-fixer fix -vvv" ], "test": [ - "phpunit --colors --display-deprecation --coverage-html ./coverage --coverage-clover coverage/clover.xml" + "phpunit --colors --display-all-issues --coverage-html ./coverage --coverage-clover coverage/clover.xml" ] } } From c0583f48bb468736d54ba679c7b827a546a0d359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Sun, 31 May 2026 20:07:23 +0200 Subject: [PATCH 3/3] udpate dep --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 7b0a8d2..77c50d6 100644 --- a/composer.lock +++ b/composer.lock @@ -1517,16 +1517,16 @@ }, { "name": "rancoud/database", - "version": "7.0.1", + "version": "7.0.2", "source": { "type": "git", "url": "https://github.com/rancoud/Database.git", - "reference": "13954b99d25834cd1dd34a6f4a95c1692e359a18" + "reference": "4ac7ba682256798b6a0a7f236d0517f4a61836ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rancoud/Database/zipball/13954b99d25834cd1dd34a6f4a95c1692e359a18", - "reference": "13954b99d25834cd1dd34a6f4a95c1692e359a18", + "url": "https://api.github.com/repos/rancoud/Database/zipball/4ac7ba682256798b6a0a7f236d0517f4a61836ba", + "reference": "4ac7ba682256798b6a0a7f236d0517f4a61836ba", "shasum": "" }, "require": { @@ -1561,9 +1561,9 @@ "description": "Database package", "support": { "issues": "https://github.com/rancoud/Database/issues", - "source": "https://github.com/rancoud/Database/tree/7.0.1" + "source": "https://github.com/rancoud/Database/tree/7.0.2" }, - "time": "2026-03-15T11:54:21+00:00" + "time": "2026-05-31T17:54:16+00:00" }, { "name": "react/cache",