From 4abf039df7f6be1b8b1a911bd52698f9036d6a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 12 Mar 2024 13:03:17 +0100 Subject: [PATCH] Drop Laravel 8-9, add Laravel 11 support --- .github/workflows/ci.yml | 2 +- .gitignore | 1 + composer.json | 14 +++++++------- phpunit.xml | 12 +++++++----- 4 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd7ee49..4409bd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - laravel: [8, 9, 10] + laravel: [10, 11] steps: - uses: actions/checkout@v2 diff --git a/.gitignore b/.gitignore index a683006..eb3050c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .phpunit.result.cache +.phpunit.cache package-lock.json composer.lock vendor/ diff --git a/composer.json b/composer.json index 5c00cd4..fe1ea2e 100644 --- a/composer.json +++ b/composer.json @@ -23,15 +23,15 @@ } }, "require": { - "php": "^8.0", - "illuminate/support": "^8.24|^9.0|^10.0", - "illuminate/view": "^8.24|^9.0|^10.0" + "php": "^8.2", + "illuminate/support": "^10.0|^11.0", + "illuminate/view": "^10.0|^11.0" }, "require-dev": { - "orchestra/testbench": "^6.23|^7.0|^8.0", - "nunomaduro/larastan": "^1.0|^2.4", - "pestphp/pest": "^1.2|^2.0", - "pestphp/pest-plugin-laravel": "^1.0|^2.0", + "orchestra/testbench": "^8.0|^9.0", + "nunomaduro/larastan": "^2.4", + "pestphp/pest": "^2.0", + "pestphp/pest-plugin-laravel": "^2.0", "intervention/image": "^2.7" }, "extra": { diff --git a/phpunit.xml b/phpunit.xml index 273f090..2ba5a72 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,9 +1,6 @@ - - - - ./src - + + @@ -28,4 +25,9 @@ + + + ./src + +