Skip to content

Commit f308b09

Browse files
committed
Add 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 parent 5c4e005 commit f308b09

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.travis.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
language: php
22

33
php:
4-
- 5.6
54
- 7.0
65
- 7.1
6+
- 7.2
77

88
matrix:
9-
allow_failures:
10-
- env: dependencies=lowest
119
include:
12-
- php: 5.6
13-
env: dependencies=highest
1410
- php: 7.0
1511
env: dependencies=highest
1612
- php: 7.1
1713
env: dependencies=highest
14+
- php: 7.2
15+
env: dependencies=highest
1816

1917
before_script:
2018
- composer self-update -q

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All Notable changes for the Laravel 5 IsoCodes Validation will be documented in this file
44

5+
## 2.0.0
6+
- Laravel 5.5 compatibility with Auto-Discovery
7+
- Require php 7.0+
8+
- Upgrade to phpunit 6.5.x
9+
- Add php 7.2 to travis-ci
10+
511
## 1.2.0
612
Added support for following validation rules
713
- BSN

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A simple Laravel 5 wrapper for the [IsoCodes Validation library](https://github.
1919
composer require pixelpeter/laravel5-isocodes-validation
2020
```
2121

22-
### Step 2: Add the Service Provider
22+
### Step 2: Add the Service Provider (not needed with v2.x because of auto discovery)
2323
Add the service provider in `app/config/app.php`
2424
```php
2525
'provider' => [

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": ">=5.5.9",
21+
"php" : "^7.0",
2222
"ronanguilloux/isocodes": "^2.1.1"
2323
},
2424
"autoload": {
@@ -35,9 +35,9 @@
3535
]
3636
},
3737
"require-dev": {
38-
"phpunit/phpunit": "^5.7",
39-
"mockery/mockery": "^0.9.4",
38+
"phpunit/phpunit": "^6.5",
39+
"mockery/mockery": "^1.0.0",
4040
"satooshi/php-coveralls": "^1.0",
41-
"laravel/laravel": "5.4.*"
41+
"laravel/laravel": "5.5.*"
4242
}
4343
}

0 commit comments

Comments
 (0)