From c993c309a138f1715126d5510dd28b0641cbfa78 Mon Sep 17 00:00:00 2001 From: Claudio Dekker Date: Tue, 3 Sep 2019 16:21:30 +0200 Subject: [PATCH] Add Laravel 6.0 support (drops L5.7 and older) (#14) Older Laravel versions can use prior versions of this package --- .scrutinizer.yml | 9 +++++++++ CHANGELOG.md | 4 ++++ composer.json | 16 +++++++++++----- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index bb97665..b6475ed 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -31,3 +31,12 @@ tools: php_cpd: enabled: true excluded_dirs: [vendor, tests] +build: + nodes: + analysis: + environment: + php: + version: 7.2 + tests: + override: + - php-scrutinizer-run diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f951eb..2056477 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `ubient/laravel-flash-message` will be documented in this file +## 3.0.0 - 2019-09-03 +- Drop support for Laravel 5.7 and older +- Add support Laravel 6.0 + ## 2.1.0 - 2019-02-27 - Drop support for PHP 7.1 - Add support for Laravel 5.8 diff --git a/composer.json b/composer.json index de924bf..91fc7b1 100644 --- a/composer.json +++ b/composer.json @@ -22,13 +22,13 @@ ], "require": { "php": "^7.2", - "laravel/framework": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/http": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0" + "illuminate/http": "^5.8|^6.0", + "illuminate/support": "^5.8|^6.0", + "laravel/framework": "^5.8|^6.0" }, "require-dev": { - "phpunit/phpunit": "^8.0", - "orchestra/testbench": "~3.8.0" + "orchestra/testbench": "^3.8", + "phpunit/phpunit": "^8.0" }, "autoload": { "psr-4": { @@ -47,6 +47,12 @@ ] } }, + "scripts": { + "test": "phpunit" + }, + "config": { + "sort-packages": true + }, "minimum-stability": "dev", "prefer-stable": true }