From 205184287bf2844f841706e00444319dcc948ea1 Mon Sep 17 00:00:00 2001 From: Pascal Baljet Date: Sun, 23 Feb 2025 21:45:52 +0100 Subject: [PATCH 1/2] Support for Laravel 12 --- .github/workflows/run-tests.yml | 4 +++- composer.json | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1d03856..f127818 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,9 +14,11 @@ jobs: matrix: os: [ubuntu-latest] php: [8.4, 8.3, 8.2] - laravel: [11.*, 10.*] + laravel: [12.*, 11.*, 10.*] stability: [prefer-lowest, prefer-stable] include: + - laravel: 12.* + testbench: 10.* - laravel: 11.* testbench: 9.* - laravel: 10.* diff --git a/composer.json b/composer.json index 718907c..b408a73 100644 --- a/composer.json +++ b/composer.json @@ -18,16 +18,16 @@ "require": { "php": "^8.2|^8.3|^8.4", "guzzlehttp/guzzle": "^7.4", - "illuminate/contracts": "^10.0|^11.0", + "illuminate/contracts": "^10.48|^11.43|^12.0", "spatie/laravel-package-tools": "^1.9.2", "spatie/temporary-directory": "^2.1" }, "require-dev": { "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^8.0|^9.0", - "pestphp/pest": "^2.0", - "pestphp/pest-plugin-laravel": "^2.0", - "phpunit/phpunit": "^10.4" + "orchestra/testbench": "^8.0|^9.0|^10.0", + "pestphp/pest": "^3.0", + "pestphp/pest-plugin-laravel": "^3.0", + "phpunit/phpunit": "^10.4|^11.5.3" }, "autoload": { "psr-4": { From e470d79b6f500f080ac93a6788fbc4cafe8404fb Mon Sep 17 00:00:00 2001 From: Pascal Baljet Date: Sun, 23 Feb 2025 21:56:14 +0100 Subject: [PATCH 2/2] Drop L10 --- .github/workflows/run-tests.yml | 4 +--- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f127818..85b1567 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,15 +14,13 @@ jobs: matrix: os: [ubuntu-latest] php: [8.4, 8.3, 8.2] - laravel: [12.*, 11.*, 10.*] + laravel: [12.*, 11.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 12.* testbench: 10.* - laravel: 11.* testbench: 9.* - - laravel: 10.* - testbench: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index b408a73..6318b59 100644 --- a/composer.json +++ b/composer.json @@ -18,13 +18,13 @@ "require": { "php": "^8.2|^8.3|^8.4", "guzzlehttp/guzzle": "^7.4", - "illuminate/contracts": "^10.48|^11.43|^12.0", + "illuminate/contracts": "^11.43|^12.0", "spatie/laravel-package-tools": "^1.9.2", "spatie/temporary-directory": "^2.1" }, "require-dev": { "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^8.0|^9.0|^10.0", + "orchestra/testbench": "^9.0|^10.0", "pestphp/pest": "^3.0", "pestphp/pest-plugin-laravel": "^3.0", "phpunit/phpunit": "^10.4|^11.5.3"