From 9e5046001707a871d0684212c238d5d1876ad1e5 Mon Sep 17 00:00:00 2001 From: Stef van Esch Date: Sun, 22 Jan 2023 15:01:32 +0100 Subject: [PATCH] Added support for Laravel 10 (#1406) * Added support for Laravel 10 * Update run-tests.yml * Update run-tests.yml * Update run-integration-tests.yml Co-authored-by: Barry vd. Heuvel --- .github/workflows/run-tests.yml | 8 +++++++- composer.json | 14 +++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d0648b1ce..d78706c8b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -21,9 +21,15 @@ jobs: matrix: os: [ubuntu-20.04, windows-2019] php: [8.1, 8.0, 7.4, 7.3] - laravel: [8.*, 9.*] + laravel: [8.*, 9.*, 10.*] dependency-version: [prefer-lowest, prefer-stable] exclude: + - php: 8.0 + laravel: 10.* + - php: 7.4 + laravel: 10.* + - php: 7.3 + laravel: 10.* - php: 8.0 dependency-version: prefer-lowest - php: 7.4 diff --git a/composer.json b/composer.json index 215a9ca3a..c1290ef42 100644 --- a/composer.json +++ b/composer.json @@ -25,25 +25,25 @@ "barryvdh/reflection-docblock": "^2.0.6", "composer/class-map-generator": "^1.0", "doctrine/dbal": "^2.6 || ^3", - "illuminate/console": "^8 || ^9", - "illuminate/filesystem": "^8 || ^9", - "illuminate/support": "^8 || ^9", + "illuminate/console": "^8 || ^9 || ^10", + "illuminate/filesystem": "^8 || ^9 || ^10", + "illuminate/support": "^8 || ^9 || ^10", "nikic/php-parser": "^4.7", "phpdocumentor/type-resolver": "^1.1.0" }, "require-dev": { "ext-pdo_sqlite": "*", "friendsofphp/php-cs-fixer": "^2", - "illuminate/config": "^8 || ^9", - "illuminate/view": "^8 || ^9", + "illuminate/config": "^8 || ^9 || ^10", + "illuminate/view": "^8 || ^9 || ^10", "mockery/mockery": "^1.4", - "orchestra/testbench": "^6 || ^7", + "orchestra/testbench": "^6 || ^7 || ^8", "phpunit/phpunit": "^8.5 || ^9", "spatie/phpunit-snapshot-assertions": "^3 || ^4", "vimeo/psalm": "^3.12" }, "suggest": { - "illuminate/events": "Required for automatic helper generation (^6|^7|^8|^9)." + "illuminate/events": "Required for automatic helper generation (^6|^7|^8|^9|^10)." }, "minimum-stability": "dev", "prefer-stable": true,