diff --git a/.gitignore b/.gitignore index dbe7904..2589d67 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ vendor/ .idea/ composer.lock .php_cs.cache -build/ \ No newline at end of file +build/ +.phpunit.result.cache \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 18801f8..b44854f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ CHANGELOG === -This changelog contains all notable change of the laravel-collection-addon package \ No newline at end of file +This changelog contains all notable change of the laravel-collection-addon package + +## 2.0.0 + +- This version drops support for Laravel 5.6 and PHP 7.1 +- It add support for Laravel 5.8 \ No newline at end of file diff --git a/README.md b/README.md index e6473cb..205264c 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,10 @@ Laravel Collection Addons This package provides some additional functions that can be used with Laravel's Collection. +## Requirements + +This package requires PHP in`>= 7.2` and Laravel in `>= 5.7`. + Installation --- You can install the package via composer: diff --git a/composer.json b/composer.json index fef3df2..7ad029e 100644 --- a/composer.json +++ b/composer.json @@ -6,12 +6,12 @@ ], "minimum-stability": "stable", "require": { - "php" : "^7.1", - "illuminate/support": "~5.6.0|~5.7.0" + "php" : "^7.2", + "illuminate/support": "~5.7.0|~5.8.0" }, "require-dev": { - "phpunit/phpunit": "^7.0", - "orchestra/testbench": "~3.6.0|~3.7.0" + "phpunit/phpunit": "^7.0|^8.0", + "orchestra/testbench": "~3.7.0|~3.8.0" }, "autoload": { "psr-4": { diff --git a/tests/TestCase.php b/tests/TestCase.php index 56ff1d1..d9dbf5b 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -11,7 +11,7 @@ abstract class TestCase extends Orchestra /** * Setup the test environment. */ - public function setUp() + public function setUp(): void { parent::setUp(); }