From 239810515d2b3dd5d83e705ec22ae7f33e0c815a Mon Sep 17 00:00:00 2001 From: Bastien Philippe Date: Fri, 3 Feb 2023 14:53:19 +0100 Subject: [PATCH] Laravel 10 support --- .github/workflows/run-tests.yml | 5 ++++- composer.json | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e20f69a..83ce24f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,13 +14,16 @@ jobs: matrix: os: [ubuntu-latest] php: [8.1, 8.2] - laravel: [9.*] + laravel: [9.*, 10.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* testbench: 7.* + - laravel: 10.* + testbench: 8.* exclude: - php: 8.2 + laravel: 9.* stability: prefer-lowest name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index cd4341e..ba00cee 100644 --- a/composer.json +++ b/composer.json @@ -17,14 +17,14 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^9.31", - "illuminate/database": "^9.31" + "illuminate/contracts": "^9.31 || ^10.0", + "illuminate/database": "^9.31 || ^10.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.7", "nunomaduro/collision": "^6.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0", + "orchestra/testbench": "^7.0 || ^8.0", "pestphp/pest": "^1.21", "pestphp/pest-plugin-laravel": "^1.1", "phpstan/extension-installer": "^1.1", @@ -32,7 +32,7 @@ "phpstan/phpstan-phpunit": "^1.0", "phpunit/phpunit": "^9.5", "soyhuce/next-ide-helper": "^0.11.0", - "tpetry/laravel-postgresql-enhanced": "^0.21.0" + "tpetry/laravel-postgresql-enhanced": "^0.26.0" }, "suggest": { "tpetry/laravel-postgresql-enhanced": "Specific PostgreSQL extensions for Eloquent"