From 0dc66a1c7de46fcfa396fca890654d3bbababdf3 Mon Sep 17 00:00:00 2001 From: Pascal Baljet Date: Wed, 20 Nov 2024 12:04:04 +0100 Subject: [PATCH] Support for PHP 8.4 (#13) --- .github/workflows/run-tests.yml | 5 +---- README.md | 2 +- composer.json | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 85bdcd0..eee6b64 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.3, 8.2, 8.1] + php: [8.4, 8.3, 8.2] laravel: ["10.*", "11.*"] db: [mysql, postgres, sqlite] dependency-version: [prefer-lowest, prefer-stable] @@ -20,9 +20,6 @@ jobs: testbench: 8.* - laravel: 11.* testbench: 9.* - exclude: - - laravel: 11.* - php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - DB ${{ matrix.db }} - ${{ matrix.dependency-version }} diff --git a/README.md b/README.md index 0b58ce2..843d6b0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Stop duplicating your Eloquent query scopes and constraints in PHP. This package ## Requirements -* PHP 8.1+ +* PHP 8.2+ * Laravel 10.0 This package is tested with GitHub Actions using MySQL 8.0, PostgreSQL 10.8 and SQLite. diff --git a/composer.json b/composer.json index 3891e63..0da662b 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^8.1|^8.2|^8.3", + "php": "^8.2|^8.3|^8.4", "illuminate/support": "^10.0|^11.0" }, "require-dev": { @@ -43,4 +43,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} +} \ No newline at end of file