From 9a1469dd29493b38ae39dcfe9bae66f7cd3e60bd Mon Sep 17 00:00:00 2001 From: jordyvanderhaegen Date: Tue, 12 Mar 2024 23:15:01 +0100 Subject: [PATCH] Update: support laravel 11 --- .github/workflows/main.yml | 12 +++++++--- .gitignore | 1 + composer.json | 14 ++++++------ phpunit.xml | 46 ++++++++++++++++++-------------------- 4 files changed, 39 insertions(+), 34 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 652b6b4..d788b62 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,16 +14,22 @@ 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.0 + testbench: 8.* - laravel: 9.* - testbench: ^7.0 + testbench: 7.* - 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 6dc177a..30929af 100644 --- a/composer.json +++ b/composer.json @@ -20,16 +20,16 @@ "require": { "php": "^8.0", "esign/laravel-underscore-translatable": "^1.1", - "illuminate/cache": "^8.0|^9.0|^10.0", - "illuminate/console": "^8.0|^9.0|^10.0", - "illuminate/database": "^8.0|^9.0|^10.0", - "illuminate/support": "^8.0|^9.0|^10.0", - "illuminate/translation": "^8.0|^9.0|^10.0" + "illuminate/cache": "^8.0|^9.0|^10.0|^11.0", + "illuminate/console": "^8.0|^9.0|^10.0|^11.0", + "illuminate/database": "^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "illuminate/translation": "^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.5" + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", + "phpunit/phpunit": "^9.5|^10.0" }, "autoload": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index 6341576..305ab31 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,28 +1,26 @@ - - - src/ - - - - - tests - - - - - + + + tests + + + + + + + + src/ + +