From c5e346d60a4c09603212443f73e7cb7ab14ac89b Mon Sep 17 00:00:00 2001 From: Sylvain Fabre Date: Wed, 7 Jan 2026 11:36:43 +0100 Subject: [PATCH 1/2] Add PHP 8.4 support and require PHP 8.3+ --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2025ae2..7b729a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: [ '8.3' ] + php-versions: ['8.3', '8.4'] dependency-versions: [ 'highest', 'lowest' ] runs-on: ubuntu-latest steps: From 16065edfb7867d1ad5cddc780678329b23b48733 Mon Sep 17 00:00:00 2001 From: Sylvain Fabre Date: Wed, 7 Jan 2026 13:07:21 +0100 Subject: [PATCH 2/2] Fix PHP 8.4 implicit nullable parameter deprecation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/Test/ConstraintValidatorTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Test/ConstraintValidatorTestCase.php b/src/Test/ConstraintValidatorTestCase.php index 23c6bff..ef70c37 100644 --- a/src/Test/ConstraintValidatorTestCase.php +++ b/src/Test/ConstraintValidatorTestCase.php @@ -54,7 +54,7 @@ abstract public function providerValidValues(): iterable; * @dataProvider providerInvalidValues * @param array|null $parameters */ - public function testInvalidValues(mixed $value, string $code, string $message, array $parameters = null): void + public function testInvalidValues(mixed $value, string $code, string $message, ?array $parameters = null): void { $this->validator->validate($value, $this->getConstraint()); $this->buildViolation($message)