From 82aeade39614ec7f0dc3ed6a8e88ab43acb5cf6d Mon Sep 17 00:00:00 2001 From: Mark Walet Date: Tue, 19 Nov 2024 10:00:24 +0100 Subject: [PATCH] Add PHP 8.4 in test matrix --- .github/workflows/coverage.yml | 4 ++-- .github/workflows/tests.yml | 2 +- composer.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4772f41..c54fd5d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,12 +21,12 @@ jobs: uses: actions/cache@v4 with: path: ~/.composer/cache/files - key: dependencies-php-8.3-illuminate-11.*-composer-${{ hashFiles('composer.json') }} + key: dependencies-php-8.4-illuminate-11.*-composer-${{ hashFiles('composer.json') }} - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.3 + php-version: 8.4 extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd coverage: xdebug diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 48606d8..42dc53f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ 8.1, 8.2, 8.3 ] + php: [ 8.1, 8.2, 8.3, 8.4 ] illuminate: [^10.0, ^11.0] stability: [prefer-lowest, prefer-stable] include: diff --git a/composer.json b/composer.json index 6a855df..6546169 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": "8.*", + "php": "^8.1", "laravel/framework": "^10.0|^11.0", "phpoption/phpoption": ">=1.8", "webmozart/assert": "^1.10"