From 3e8ebfb6dfb174711d80593a7698999fa1d82e63 Mon Sep 17 00:00:00 2001 From: Ashley Allen Date: Tue, 7 Jul 2020 00:21:18 +0100 Subject: [PATCH 1/2] Removed support for Laravel 5.8. --- .travis.yml | 24 ++++-------------------- composer.json | 4 ++-- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1c48483..a621663 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,34 +7,18 @@ cache: matrix: fast_finish: true include: -# Laravel 5.8.* -# --> PHP 7.2 - - php: 7.2 - env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-lowest' - - php: 7.2 - env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-stable' -# --> PHP 7.3 - - php: 7.3 - env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-lowest' - - php: 7.3 - env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-stable' -# --> PHP 7.4 - - php: 7.4 - env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-lowest' - - php: 7.4 - env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-stable' -# Laravel 6.* -# --> PHP 7.2 + # Laravel 6.* + # --> PHP 7.2 - php: 7.2 env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-lowest' - php: 7.2 env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-stable' -# --> PHP 7.3 + # --> PHP 7.3 - php: 7.3 env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-lowest' - php: 7.3 env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-stable' -# --> PHP 7.4 + # --> PHP 7.4 - php: 7.4 env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-lowest' - php: 7.4 diff --git a/composer.json b/composer.json index 2738c94..27af96a 100755 --- a/composer.json +++ b/composer.json @@ -20,8 +20,8 @@ "require": { "php": "^7.2", "nesbot/carbon": "~2.0", - "illuminate/container": "^5.8|^6.0|^7.0", - "illuminate/database": "^5.8|^6.0|^7.0", + "illuminate/container": "^6.0|^7.0", + "illuminate/database": "^6.0|^7.0", "jenssegers/agent": "^2.6", "hashids/hashids": "^4.0" }, From 557eca2b2d13d8ef3b8066ada7f796443685f42c Mon Sep 17 00:00:00 2001 From: Ashley Allen Date: Tue, 7 Jul 2020 00:21:39 +0100 Subject: [PATCH 2/2] Updated README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8993d32..d48e07b 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ A Laravel package that can be used for adding shortened URLs to your existing we The package has been developed and tested to work with the following minimum requirements: - PHP 7.2 -- Laravel 5.8 +- Laravel 6.0 Short URL requires either the [BC Math](https://secure.php.net/manual/en/book.bc.php) or [GMP](https://secure.php.net/manual/en/book.gmp.php) PHP extensions in order to work.