diff --git a/.travis.yml b/.travis.yml index 097d8a6..c466f81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,18 @@ language: php php: - - 5.6 - 7.0 - 7.1 + - 7.2 matrix: - allow_failures: - - env: dependencies=lowest include: - - php: 5.6 - env: dependencies=highest - php: 7.0 env: dependencies=highest - php: 7.1 env: dependencies=highest + - php: 7.2 + env: dependencies=highest before_script: - composer self-update -q diff --git a/CHANGELOG.md b/CHANGELOG.md index ce8b046..ba56931 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All Notable changes for the Laravel 5 IsoCodes Validation will be documented in this file +## 2.0.0 +- Laravel 5.5 compatibility with Auto-Discovery +- Require php 7.0+ +- Upgrade to phpunit 6.5.x +- Add php 7.2 to travis-ci + ## 1.2.0 Added support for following validation rules - BSN diff --git a/README.md b/README.md index 674cee9..27efac4 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ A simple Laravel 5 wrapper for the [IsoCodes Validation library](https://github. composer require pixelpeter/laravel5-isocodes-validation ``` -### Step 2: Add the Service Provider +### Step 2: Add the Service Provider (not needed with v2.x because of auto discovery) Add the service provider in `app/config/app.php` ```php 'provider' => [ diff --git a/composer.json b/composer.json index bb09d8e..9d09d58 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ } ], "require": { - "php": ">=5.5.9", + "php" : "^7.0", "ronanguilloux/isocodes": "^2.1.1" }, "autoload": { @@ -35,9 +35,9 @@ ] }, "require-dev": { - "phpunit/phpunit": "^5.7", - "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^6.5", + "mockery/mockery": "^1.0.0", "satooshi/php-coveralls": "^1.0", - "laravel/laravel": "5.4.*" + "laravel/laravel": "5.5.*" } }