From 05a2ffca3c4c4a34e554aa1be8ac7d850aa30aa4 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 13 Jan 2023 16:10:50 +0100 Subject: [PATCH] Laravel v10 Support (#1292) * Update composer.json * Update tests.yml --- .github/workflows/tests.yml | 8 +++++--- composer.json | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ebc8483e8..dfaf0b728 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,10 +24,12 @@ jobs: fail-fast: true matrix: php: [8.0, 8.1, 8.2] - laravel: [8.*, 9.*] + laravel: [8, 9, 10] exclude: + - php: '8.0' + laravel: 10 - php: 8.2 - laravel: 8.* + laravel: 8 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -46,7 +48,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts=${{ matrix.laravel }}" --dev --no-update + composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update composer update --prefer-dist --no-interaction --no-progress - name: Execute tests diff --git a/composer.json b/composer.json index cd04f93c1..e32b73aa6 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ "require": { "php": "^8.0", "ext-json": "*", - "laravel/framework": "^8.37|^9.0", + "laravel/framework": "^8.37|^9.0|^10.0", "symfony/var-dumper": "^5.0|^6.0" }, "require-dev": { "ext-gd": "*", "guzzlehttp/guzzle": "^6.0|^7.0", - "orchestra/testbench": "^6.0|^7.0" + "orchestra/testbench": "^6.0|^7.0|^8.0" }, "autoload": { "psr-4": {