Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 05392ec

Browse files
authored
Drop support for PHP 7.0 and PHP 7.1 (End of life) (#1068)
* Drop support for PHP < 7.2 in composer.json * Update .travis.yml Drop PHP 7.0 abd 7.1 Add PHP 7.4 * Normalize composer.json files Using composer-normalize * Normalize composer.json files (1) Using composer-normalize * Fix TomTom testReverseError400 - Will return JSON instead of XML ; - If API error, returns empty address collection ; * Apply fixes from StyleCI * Upgrade to PHPUnit 7 + Upgrade `nyholm/psr7` * Normalize providers Travis config
1 parent 28be538 commit 05392ec

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ sudo: false
44
php: 7.2
55

66
install:
7-
- composer update --prefer-stable --prefer-dist
7+
- composer update --prefer-stable --prefer-dist
88

99
script:
1010
- composer test-ci
1111

1212
after_success:
1313
- wget https://scrutinizer-ci.com/ocular.phar
1414
- php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml
15-

composer.json

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"name": "geocoder-php/plugin",
33
"type": "library",
44
"description": "Plugins to Geocoder providers",
5-
"keywords": ["geocoder plugin"],
5+
"keywords": [
6+
"geocoder plugin"
7+
],
68
"homepage": "http://geocoder-php.org",
79
"license": "MIT",
810
"authors": [
@@ -12,31 +14,33 @@
1214
}
1315
],
1416
"require": {
15-
"php": "^7.0",
16-
"willdurand/geocoder": "^4.0",
17+
"php": "^7.2",
18+
"php-http/promise": "^1.0",
1719
"psr/log": "^1.0",
1820
"psr/simple-cache": "^1.0",
19-
"php-http/promise": "^1.0"
21+
"willdurand/geocoder": "^4.0"
2022
},
2123
"require-dev": {
22-
"phpunit/phpunit": "^6.5 || ^7.5",
23-
"cache/void-adapter": "^1.0"
24+
"cache/void-adapter": "^1.0",
25+
"phpunit/phpunit": "^7.5"
26+
},
27+
"extra": {
28+
"branch-alias": {
29+
"dev-master": "1.0-dev"
30+
}
2431
},
2532
"autoload": {
26-
"psr-4": { "Geocoder\\Plugin\\": "" },
33+
"psr-4": {
34+
"Geocoder\\Plugin\\": ""
35+
},
2736
"exclude-from-classmap": [
2837
"/Tests/"
2938
]
3039
},
40+
"minimum-stability": "dev",
41+
"prefer-stable": true,
3142
"scripts": {
3243
"test": "vendor/bin/phpunit",
3344
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
34-
},
35-
"minimum-stability": "dev",
36-
"prefer-stable": true,
37-
"extra": {
38-
"branch-alias": {
39-
"dev-master": "1.0-dev"
40-
}
4145
}
42-
}
46+
}

0 commit comments

Comments
 (0)