From 0bdf2b4e06bc97933fa0cf2287d6cb19b1df720b Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Wed, 13 Mar 2024 10:42:43 +0300 Subject: [PATCH] Added Laravel 11 support --- .github/workflows/phpunit.yml | 16 ++++++++++++++-- composer.json | 8 ++++---- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 6525322..218fb87 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -9,8 +9,8 @@ jobs: strategy: fail-fast: true matrix: - php: [ "8.0", "8.1", "8.2" ] - laravel: [ "7.0", "8.0", "9.0", "10.0" ] + php: [ "8.0", "8.1", "8.2", "8.3" ] + laravel: [ "7.0", "8.0", "9.0", "10.0", "11.0" ] exclude: - laravel: "7.0" php: "8.1" @@ -18,9 +18,21 @@ jobs: - laravel: "7.0" php: "8.2" + - laravel: "7.0" + php: "8.3" + + - laravel: "8.0" + php: "8.3" + - laravel: "10.0" php: "8.0" + - laravel: "11.0" + php: "8.0" + + - laravel: "11.0" + php: "8.1" + name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} steps: diff --git a/composer.json b/composer.json index e53cc71..8e78240 100644 --- a/composer.json +++ b/composer.json @@ -40,14 +40,14 @@ "php": "^8.0", "dragon-code/contracts": "^2.6", "dragon-code/support": "^6.1", - "illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0", - "illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0", + "illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", "phpdocumentor/reflection-docblock": "^5.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0", - "phpunit/phpunit": "^9.6" + "orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^9.6 || ^10.0" }, "conflict": { "andrey-helldar/laravel-routes-core": "*",