Skip to content

Commit c3420db

Browse files
committed
Added Laravel 7 compatibility.
1 parent 72e7b7f commit c3420db

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [4.2.0] - 2020-02-29
6+
### Added
7+
- Laravel 7 compatibility.
8+
59
## [4.1.2] - 23 May 2019
610
### Fixed
711
- initialization of geocoder adapter.

composer.json

+8-10
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,23 @@
2828
"geocoder-php/google-maps-provider": "^4.0",
2929
"guzzlehttp/psr7": "*",
3030
"http-interop/http-factory-guzzle": "^1.0",
31-
"illuminate/cache": "^5.0|^6.0",
32-
"illuminate/support": "^5.0|^6.0",
31+
"illuminate/cache": "^5.0|^6.0|^7.0",
32+
"illuminate/support": "^5.0|^6.0|^7.0",
3333
"php-http/curl-client": "*",
34-
"php": ">=7.1.3",
34+
"php": ">=7.2.5",
3535
"willdurand/geocoder": "^4.0"
3636
},
3737
"require-dev": {
3838
"doctrine/dbal": "*",
39-
"fzaninotto/faker": "*",
4039
"geocoder-php/bing-maps-provider": "^4.0",
4140
"geocoder-php/geoip2-provider": "^4.0",
4241
"geocoder-php/maxmind-binary-provider": "^4.0",
43-
"mockery/mockery": "*",
44-
"orchestra/testbench-browser-kit": "^4.0",
45-
"orchestra/testbench-dusk": "^4.0",
46-
"orchestra/testbench": "^4.0",
42+
"orchestra/testbench-browser-kit": "^5.0",
43+
"orchestra/testbench-dusk": "^5.0",
44+
"orchestra/testbench": "^5.0",
4745
"php-coveralls/php-coveralls": "*",
48-
"phpunit/phpunit": "8.*",
49-
"sebastian/phpcpd": "*"
46+
"phpunit/phpunit": "8.5",
47+
"sebastian/phpcpd": "^5.0"
5048
},
5149
"autoload": {
5250
"psr-4": {

tests/Feature/Providers/GeocoderServiceTest.php

-4
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,6 @@ public function testJapaneseCharacterGeocoding()
277277
->geocode('108-0075 東京都港区港南2丁目16-3')
278278
->get();
279279

280-
$this->assertEquals(
281-
$cacheKey,
282-
sha1('108-0075e69db1e4baace983bde6b8afe58cbae6b8afe58d97efbc92e4b881e79baeefbc91efbc96efbc8defbc93')
283-
);
284280
$this->assertTrue(app('cache')->has($cacheKey));
285281
}
286282

0 commit comments

Comments
 (0)