From 084347ff42330986e630487b23f112c29716a1e5 Mon Sep 17 00:00:00 2001 From: Alessio Vertemati Date: Mon, 24 Feb 2025 20:03:40 +0100 Subject: [PATCH] Support Laravel 12, require PHP 8.2 --- .github/workflows/run-tests.yml | 2 +- composer.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f62e841..ae27a4f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,7 +14,7 @@ jobs: matrix: os: [ubuntu-latest] php: [8.2, 8.3, 8.4] - laravel: ['^10.0', '^11.0'] + laravel: ['^10.0', '^11.0', '^12.0'] stability: [prefer-lowest, prefer-stable] name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index d6e2d55..0e09901 100644 --- a/composer.json +++ b/composer.json @@ -16,16 +16,16 @@ } ], "require": { - "php": "^8.0", - "illuminate/contracts": "^10.0|^11.0", - "illuminate/support": "^10.0|^11.0", - "illuminate/http": "^10.0|^11.0", + "php": "^8.2", + "illuminate/contracts": "^10.0|^11.0|^12.0", + "illuminate/support": "^10.0|^11.0|^12.0", + "illuminate/http": "^10.0|^11.0|^12.0", "symfony/process": "^6.2|^7.0" }, "require-dev": { "brianium/paratest": "^7.0", "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^8.0|^9.0", + "orchestra/testbench": "^8.0|^9.0|^10.0", "phpunit/phpunit": "^10.5|^11.0", "larastan/larastan": "^2.9||^3.0", "phpstan/phpstan-deprecation-rules": "^1.1||^2.0",