From bf49c9655a2bde3b302a3bffe95ae1e43ec3ab57 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Mon, 6 Feb 2023 09:48:04 -0500 Subject: [PATCH] Laravel 10.x Compatibility (#618) --- .github/workflows/tests.yml | 8 +++++++- composer.json | 18 ++++++++++-------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d7b1fa0..7b8a997 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,9 +17,15 @@ jobs: strategy: matrix: - laravel: [6.*, 7.*, 8.*, 9.*] + laravel: [6.*, 7.*, 8.*, 9.*, 10.*] php: [7.2, 7.3, 8.0, 8.1] exclude: + - laravel: 10.* + php: 7.2 + - laravel: 10.* + php: 7.3 + - laravel: 10.* + php: 8.0 - laravel: 8.* php: 7.2 - laravel: 9.* diff --git a/composer.json b/composer.json index 55295ba..917bd71 100644 --- a/composer.json +++ b/composer.json @@ -26,19 +26,21 @@ "psr-4": { "Silber\\Bouncer\\Tests\\": "tests/" }, - "files": ["tests/helpers.php"] + "files": [ + "tests/helpers.php" + ] }, "require": { "php": "^7.2|^8.0", - "illuminate/auth": "^6.0|^7.0|^8.0|^9.0", - "illuminate/cache": "^6.0|^7.0|^8.0|^9.0", - "illuminate/container": "^6.0|^7.0|^8.0|^9.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0", - "illuminate/database": "^6.0|^7.0|^8.0|^9.0" + "illuminate/auth": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/cache": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/container": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0" }, "require-dev": { - "illuminate/console": "^6.0|^7.0|^8.0|^9.0", - "illuminate/events": "^6.0|^7.0|^8.0|^9.0", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/events": "^6.0|^7.0|^8.0|^9.0|^10.0", "larapack/dd": "^1.1", "mockery/mockery": "^1.3.3", "phpunit/phpunit": "^8.0|^9.0"