From 96744d0d1781f066ca0584da64c4bd79fecad53b Mon Sep 17 00:00:00 2001 From: Quadrubo <71718414+Quadrubo@users.noreply.github.com> Date: Sat, 22 Apr 2023 20:05:05 +0200 Subject: [PATCH] feat: laravel 10 compatibility --- .github/workflows/ci.yml | 7 ++++++- composer.json | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b940835..14e82a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,16 @@ jobs: fail-fast: false matrix: php: [8.0, 8.1] - laravel: [9.*] + laravel: [10.*, 9.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* + exclude: + - laravel: 10.* + php: 8.0 name: Tests - PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: - name: Checkout code diff --git a/composer.json b/composer.json index 7339c6e..2d4d940 100644 --- a/composer.json +++ b/composer.json @@ -18,12 +18,12 @@ "require": { "php": "^8.0.2", "guzzlehttp/guzzle": "^7.2", - "illuminate/support": "^9.0", + "illuminate/support": "^9.0|^10.0", "openfoodfacts/openfoodfacts-php": "^0.2.4" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.6", - "orchestra/testbench": "^7.0", + "orchestra/testbench": "^7.0|^8.0", "phpunit/phpunit": "^9.5.8" }, "autoload": {