From 7e45d4bdd8a6305f34fa2a764aaf6c52922209e4 Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Sun, 22 Mar 2026 14:20:09 -0400 Subject: [PATCH 01/10] Add build using real php versions --- .github/workflows/php.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index d1399e6..ae94193 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -17,6 +17,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-versions }} + - name: Validate composer.json and composer.lock run: composer validate --strict From cb985f3d7991da55515bcaca10e962f26c8098e0 Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Fri, 1 May 2026 09:40:27 -0400 Subject: [PATCH 02/10] * Update php version to support 7.4 in deps --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fda8381..28437d3 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "infection/infection": "~0.13", "phpstan/phpstan": "^2.0", "phpstan/phpstan-phpunit": "^2.0", - "phpunit/phpunit": "^10.0|^11.0|^12.0", + "phpunit/phpunit": "^9.0|^10.0|^11.0|^12.0", "squizlabs/php_codesniffer": "^3.2", "symfony/cache": "^4.0|^5.0|^6.0" }, From 97f2cf3a23eab08698347b84679a6649b1452c26 Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Fri, 1 May 2026 09:48:16 -0400 Subject: [PATCH 03/10] * Lower os version to support 7.4 --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 5738d0a..901cd54 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -9,7 +9,7 @@ on: jobs: phpunit: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: From 2e617cd784e0d974a891692d853cf599ce208c7c Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Fri, 1 May 2026 09:49:14 -0400 Subject: [PATCH 04/10] Lower again --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 901cd54..2a55fb5 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -9,7 +9,7 @@ on: jobs: phpunit: name: Build - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: From 0ff602ad14f4eb4b059dacc19209e90aac0c52ef Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Fri, 1 May 2026 09:50:31 -0400 Subject: [PATCH 05/10] * Explicit versions --- .github/workflows/php.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 2a55fb5..38c0b37 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -9,11 +9,11 @@ on: jobs: phpunit: name: Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - php-versions: ['8.2', '8.3', '8.4', '8.5'] + php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] steps: - uses: actions/checkout@v2 From 0dc040173619988532cd3cc8a1890089326a1c31 Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Fri, 1 May 2026 09:52:13 -0400 Subject: [PATCH 06/10] * php version support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f6a9ba4..daaf4af 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } }, "require": { - "php": ">=8.2", + "php": "^7.4|>=8.0", "webmozart/assert": "^1.0", "symfony/event-dispatcher": "^7.0||^8.0" }, From 24388c097db53cf39dc0903d81661ffae3ae9de4 Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Fri, 1 May 2026 09:55:34 -0400 Subject: [PATCH 07/10] * Update dispatcher --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index daaf4af..5e4f33d 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require": { "php": "^7.4|>=8.0", "webmozart/assert": "^1.0", - "symfony/event-dispatcher": "^7.0||^8.0" + "symfony/event-dispatcher": "^5.0|^6.0|^7.0|^8.0" }, "require-dev": { "ext-pdo": "*", From aece1ced9fbabbcfe9d377e7756b7d55904eac8e Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Fri, 1 May 2026 09:59:54 -0400 Subject: [PATCH 08/10] * Update var-exporter --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5e4f33d..5633144 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "phpunit/phpunit": ">=9.0", "squizlabs/php_codesniffer": "^3.2", "symfony/cache": ">=7.0", - "symfony/var-exporter": "^7.0" + "symfony/var-exporter": "^5.0|^6.0|^7.0" }, "scripts": { "test": "bin/phpunit; bin/phpcs; bin/phpstan; bin/infection" From 3a5e786cdb62cf86c7c26d4aa83e8405c776031f Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Fri, 1 May 2026 10:02:37 -0400 Subject: [PATCH 09/10] * simplify versions --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 5633144..9f990cf 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require": { "php": "^7.4|>=8.0", "webmozart/assert": "^1.0", - "symfony/event-dispatcher": "^5.0|^6.0|^7.0|^8.0" + "symfony/event-dispatcher": ">=5.0" }, "require-dev": { "ext-pdo": "*", @@ -32,8 +32,8 @@ "phpstan/phpstan-phpunit": "^2.0", "phpunit/phpunit": ">=9.0", "squizlabs/php_codesniffer": "^3.2", - "symfony/cache": ">=7.0", - "symfony/var-exporter": "^5.0|^6.0|^7.0" + "symfony/cache": ">=5.0", + "symfony/var-exporter": ">=5.0" }, "scripts": { "test": "bin/phpunit; bin/phpcs; bin/phpstan; bin/infection" From 4cd522641d4b015276db1d4822509632b09ea82f Mon Sep 17 00:00:00 2001 From: Yannick Voyer Date: Fri, 1 May 2026 10:04:51 -0400 Subject: [PATCH 10/10] * update version --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 9f990cf..04177e1 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require": { "php": "^7.4|>=8.0", "webmozart/assert": "^1.0", - "symfony/event-dispatcher": ">=5.0" + "symfony/event-dispatcher": "^5.0|^6.0|^7.0|^8.0" }, "require-dev": { "ext-pdo": "*", @@ -32,8 +32,8 @@ "phpstan/phpstan-phpunit": "^2.0", "phpunit/phpunit": ">=9.0", "squizlabs/php_codesniffer": "^3.2", - "symfony/cache": ">=5.0", - "symfony/var-exporter": ">=5.0" + "symfony/cache": "^5.0|^6.0|^7.0|^8.0", + "symfony/var-exporter": "^5.0|^6.0|^7.0|^8.0" }, "scripts": { "test": "bin/phpunit; bin/phpcs; bin/phpstan; bin/infection"