From b367966185cbb7862a0c6762dc8d65a7303adb1d Mon Sep 17 00:00:00 2001 From: mpyw Date: Fri, 15 Jul 2022 04:22:41 +0900 Subject: [PATCH] Support for Laravel 10 (#13) --- .github/workflows/ci.yml | 6 +++++- .scrutinizer.yml | 4 +++- README.md | 2 +- composer.json | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0b6ba8..976d15c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,8 @@ jobs: matrix: php: [7.3, 7.4, '8.0', 8.1] lib: - # - { laravel: ^9.0 } # Waiting topclaudy/compoships update + # - { laravel: ^10.0 } # Waiting topclaudy/compoships update + - { laravel: ^9.0 } - { laravel: ^8.0 } - { laravel: ^7.0 } - { laravel: ^6.0 } @@ -19,7 +20,10 @@ jobs: - { php: 8.1, lib: { laravel: ^7.0 } } - { php: 8.1, lib: { laravel: ^6.0 } } - { php: 8.1, lib: { laravel: ^6.0, flags: --prefer-lowest } } + - { php: 8.0, lib: { laravel: ^10.0 } } + - { php: 7.4, lib: { laravel: ^10.0 } } - { php: 7.4, lib: { laravel: ^9.0 } } + - { php: 7.3, lib: { laravel: ^10.0 } } - { php: 7.3, lib: { laravel: ^9.0 } } steps: diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 50f6631..1388274 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -9,6 +9,8 @@ filter: build: + image: default-bionic + nodes: analysis: tests: @@ -16,7 +18,7 @@ build: - php-scrutinizer-run environment: - php: '7.4' + php: '8.1.8' dependencies: before: diff --git a/README.md b/README.md index 06f9854..5d6de39 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Convert `has()` and `whereHas()` constraints to non-dependent subqueries. ## Requirements - PHP: `^7.3 || ^8.0` -- Laravel: `^6.0 || ^7.0 || ^8.0 || ^9.0` +- Laravel: `^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0` ## Installing diff --git a/composer.json b/composer.json index b777df1..74071bb 100644 --- a/composer.json +++ b/composer.json @@ -22,8 +22,8 @@ }, "require": { "php": "^7.3 || ^8.0", - "illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0" + "illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", + "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" }, "require-dev": { "orchestra/testbench": "*",