From 3b8c12670911b41ecc4446db35be848ddb305316 Mon Sep 17 00:00:00 2001 From: Bilfeldt Date: Fri, 7 Jun 2024 09:17:45 +0200 Subject: [PATCH 1/3] Add Laravel 11 and PHP 8.2/8.3 support --- .github/workflows/run-tests.yml | 12 ++++++++++-- composer.json | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f385578..d6b2042 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,10 +9,12 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1, 8.0, 7.4] - laravel: [7.*, 8.*, 9.*, 10.*] + php: [8.3, 8.2, 8.1, 8.0, 7.4] + laravel: [7.*, 8.*, 9.*, 10.*, 11.*] dependency-version: [prefer-stable] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.* @@ -30,6 +32,12 @@ jobs: php: 7.4 - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 7.4 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 2431333..3468a4f 100644 --- a/composer.json +++ b/composer.json @@ -19,8 +19,8 @@ } ], "require": { - "php": "^7.4 || ^8.0 || ^8.1", - "illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0" + "php": "^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3", + "illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0" }, "require-dev": { "orchestra/testbench": "^6.0", From f8dc054b541a97577250ebd6734c95f78e0d38a7 Mon Sep 17 00:00:00 2001 From: Bilfeldt Date: Fri, 7 Jun 2024 09:26:05 +0200 Subject: [PATCH 2/3] Update run-tests.yml Drop support for PHP 7.4, PHP 8.0, Laravel 8 and Laravel 9 --- .github/workflows/run-tests.yml | 35 ++++++++------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d6b2042..7b47e7a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,36 +9,17 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.3, 8.2, 8.1, 8.0, 7.4] - laravel: [7.*, 8.*, 9.*, 10.*, 11.*] + php: [8.3, 8.2, 8.1] + laravel: ['10.*', '11.*'] dependency-version: [prefer-stable] include: - - laravel: 11.* - testbench: 9.* - - laravel: 10.* - testbench: 8.* - - laravel: 9.* - testbench: 7.* - - laravel: 8.* - testbench: 6.* - - laravel: 7.* - testbench: 5.* + - laravel: 10.* + testbench: 8.* + - laravel: 11.* + testbench: 9.* exclude: - - laravel: 7.* - php: 8.1 - - laravel: 9.* - php: 7.4 - - laravel: 10.* - php: 7.4 - - laravel: 10.* - php: 8.0 - - laravel: 11.* - php: 7.4 - - laravel: 11.* - php: 8.0 - - laravel: 11.* - php: 8.1 - + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} steps: From 1ebb24d83d66d9d94d8330bad33e191bcc47cc68 Mon Sep 17 00:00:00 2001 From: Bilfeldt Date: Fri, 7 Jun 2024 09:26:32 +0200 Subject: [PATCH 3/3] Update composer.json --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 3468a4f..c90f698 100644 --- a/composer.json +++ b/composer.json @@ -19,8 +19,8 @@ } ], "require": { - "php": "^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3", - "illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0" + "php": "^8.1 || ^8.2 || ^8.3", + "illuminate/support": "^10.0 || ^11.0" }, "require-dev": { "orchestra/testbench": "^6.0",