From cc36c97c393f3a86be68f26f462c19eb18914118 Mon Sep 17 00:00:00 2001 From: jordyvanderhaegen Date: Tue, 12 Mar 2024 22:44:04 +0100 Subject: [PATCH] Update: support laravel 11 --- .github/workflows/main.yml | 8 +++++- .gitignore | 1 + composer.json | 10 +++---- phpunit.xml | 54 ++++++++++++++++++-------------------- 4 files changed, 39 insertions(+), 34 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8671582..5ee496e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,9 +14,11 @@ jobs: matrix: os: [ubuntu-latest] php: [8.3, 8.2, 8.1, 8.0] - laravel: [10.*, 9.*, 8.*] + laravel: [11.*, 10.*, 9.*, 8.*] stability: [prefer-lowest, prefer-stable] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.* @@ -24,6 +26,10 @@ jobs: - laravel: 8.* testbench: ^6.23 exclude: + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 - laravel: 10.* php: 8.0 diff --git a/.gitignore b/.gitignore index 5e5f3b0..8366e9a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ vendor composer.lock .phpunit.result.cache +.phpunit.cache .php-cs-fixer.cache \ No newline at end of file diff --git a/composer.json b/composer.json index ae0937d..a7e1c82 100644 --- a/composer.json +++ b/composer.json @@ -22,14 +22,14 @@ ], "require": { "php": "^8.0", - "illuminate/database": "^8.0|^9.0|^10.0", - "illuminate/support": "^8.0|^9.0|^10.0", - "illuminate/view": "^8.0|^9.0|^10.0" + "illuminate/database": "^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "illuminate/view": "^8.0|^9.0|^10.0|^11.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.5", - "orchestra/testbench": "^6.0|^7.0|^8.0", - "phpunit/phpunit": "^9.0" + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", + "phpunit/phpunit": "^9.0|^10.0" }, "autoload": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index b4f9bd1..9c1d044 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,32 +1,30 @@ - - - src/ - - - - - tests - - - - - - - - - + + + tests + + + + + + + + + + + + src/ + +