From 6ed389bb0b8a793946023c8a219a94d81f9f0c6b Mon Sep 17 00:00:00 2001 From: Victor Lap Date: Wed, 14 Aug 2019 15:19:29 +0200 Subject: [PATCH] Update dependencies --- .travis.yml | 6 +++--- CHANGELOG.md | 4 ++++ composer.json | 10 +++++----- tests/TestCase.php | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 226af8d..9e10184 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,17 @@ language: php php: - - 7.1 - 7.2 + - 7.3 env: matrix: - COMPOSER_FLAGS="--prefer-lowest" - - COMPOSER_FLAGS="" + - COMPOSER_FLAGS="--prefer-stable" before_script: - travis_retry composer self-update - - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source + - travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction --no-suggest script: - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover diff --git a/CHANGELOG.md b/CHANGELOG.md index 9260398..e3b0b36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All Notable changes to `laravel-approvable` will be documented in this file. Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles. +## Version 1.2.0 - 2019-08-14 +Modified: +- Updated dependencies to require php@^7.2, laravel/framework@^5.8|^6.0 + ## Version 1.1.0 - 2018-08-27 Added: - `withApproval()` method. diff --git a/composer.json b/composer.json index ae706f4..fa33777 100644 --- a/composer.json +++ b/composer.json @@ -18,14 +18,14 @@ } ], "require": { - "php": "^7.1", - "illuminate/database": "5.6.*", - "illuminate/support": "5.6.*" + "php": "^7.2", + "illuminate/database": "^5.8|^6.0", + "illuminate/support": "^5.8|^6.0" }, "require-dev": { "mockery/mockery": "^1.1", - "orchestra/testbench": "^3.6", - "phpunit/phpunit": "^7.0" + "orchestra/testbench": "^3.8", + "phpunit/phpunit": "^7.5|^8.0" }, "autoload": { "psr-4": { diff --git a/tests/TestCase.php b/tests/TestCase.php index a8b8e09..0c595a9 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -15,7 +15,7 @@ class TestCase extends Orchestra { use DatabaseTransactions; - public function setUp() + public function setUp(): void { parent::setUp();