From 6f76ff39b481355f513b925cac021b5f5066483c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 23 Feb 2020 09:44:44 +0800 Subject: [PATCH] Allow Laravel 7. Signed-off-by: Mior Muhammad Zaki --- .travis.yml | 3 +++ composer.json | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c39d3d3..a0b0b3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,11 @@ env: - coverage=no matrix: - laravel=^6.0 + - laravel=^7.0 - setup=stable laravel=^6.0 + - setup=stable laravel=^7.0 - setup=lowest laravel=^6.0 + - setup=lowest laravel=^7.0 before_install: - composer config discard-changes true diff --git a/composer.json b/composer.json index 2f293bf..9350eff 100644 --- a/composer.json +++ b/composer.json @@ -26,12 +26,12 @@ }, "require": { "php": ">=7.2", - "illuminate/support": "^6.0", - "orchestra/canvas-core": "^4.7" + "illuminate/support": "^6.0 || ^7.0", + "orchestra/canvas-core": "^4.7 || ^5.0" }, "require-dev": { - "orchestra/canvas": "^4.4", - "orchestra/testbench": "^4.5" + "orchestra/canvas": "^4.4 || ^5.0", + "orchestra/testbench": "^4.5 || ^5.0" }, "config": { "sort-packages": true