From 5000ec975eade9d7f88f5f73bbfbbe26ce036345 Mon Sep 17 00:00:00 2001 From: PatrickePatate Date: Tue, 13 Jan 2026 16:15:57 +0100 Subject: [PATCH 1/2] PHP8.5 Support --- .github/workflows/run-tests.yml | 10 ++++++++-- composer.json | 6 +++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 436d187..ea507ad 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,7 +14,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.4] + php: [8.2, 8.3, 8.4, 8.5] laravel: [11.*, 12.*] include: - laravel: 11.* @@ -27,6 +27,9 @@ jobs: carbon: ^3.5 contracts: ^12.0 collision: ^8.0 + exclude: + - laravel: 11.* + php: 8.5 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.os }} @@ -54,5 +57,8 @@ jobs: - name: List Installed Dependencies run: composer show -D + - name: Run Security Audit + run: composer audit + - name: Execute tests - run: vendor/bin/pest + run: vendor/bin/pest --ci --no-coverage diff --git a/composer.json b/composer.json index adcab6f..cef25fa 100644 --- a/composer.json +++ b/composer.json @@ -39,9 +39,9 @@ "laravel/pint": "^1.0", "nunomaduro/collision": "^8.0", "orchestra/testbench": "^9.0|^10.0", - "pestphp/pest": "^3.0", - "pestphp/pest-plugin-arch": "^3.0", - "pestphp/pest-plugin-laravel": "^3.0", + "pestphp/pest": "^3.0|^4.0", + "pestphp/pest-plugin-arch": "^3.0|^4.0", + "pestphp/pest-plugin-laravel": "^3.0|^4.0", "spatie/laravel-ray": "^1.26" }, "autoload": { From 22c8bb6b4d49336b7e0bc6f64833318222ea8769 Mon Sep 17 00:00:00 2001 From: PatrickePatate Date: Tue, 13 Jan 2026 16:22:18 +0100 Subject: [PATCH 2/2] Supporting PHP8.3 + Dropping 8.2 --- .github/workflows/run-tests.yml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ea507ad..8abf225 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,7 +14,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.2, 8.3, 8.4, 8.5] + php: [8.3, 8.4, 8.5] laravel: [11.*, 12.*] include: - laravel: 11.* diff --git a/composer.json b/composer.json index cef25fa..9ee4123 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } ], "require": { - "php": "8.4.*|8.5.*", + "php": "8.3.*|8.4.*|8.5.*", "ext-zip": "*", "code16/embed": "^2.3", "code16/laravel-content-renderer": "^1.1.0",