Skip to content

Commit 2398bd5

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 ddcd8a9 commit 2398bd5

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ sudo: false
33

44
php: 7.2
55

6-
76
install:
8-
- composer update --prefer-stable --prefer-dist
7+
- composer update --prefer-stable --prefer-dist
98

109
script:
1110
- composer test-ci
1211

1312
after_success:
1413
- wget https://scrutinizer-ci.com/ocular.phar
1514
- php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml
16-

composer.json

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,37 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^7.0",
15+
"php": "^7.2",
1616
"geocoder-php/common-http": "^4.0",
17-
"willdurand/geocoder": "^4.0",
18-
"igorw/get-in": "^1.0"
17+
"igorw/get-in": "^1.0",
18+
"willdurand/geocoder": "^4.0"
19+
},
20+
"provide": {
21+
"geocoder-php/provider-implementation": "1.0"
1922
},
2023
"require-dev": {
21-
"phpunit/phpunit": "^6.5 || ^7.5",
2224
"geocoder-php/provider-integration-tests": "^1.0",
25+
"php-http/curl-client": "^1.7",
2326
"php-http/message": "^1.0",
24-
"php-http/curl-client": "^1.7"
27+
"phpunit/phpunit": "^7.5"
2528
},
26-
"provide": {
27-
"geocoder-php/provider-implementation": "1.0"
29+
"extra": {
30+
"branch-alias": {
31+
"dev-master": "4.0-dev"
32+
}
2833
},
2934
"autoload": {
30-
"psr-4": { "Geocoder\\Provider\\GeoPlugin\\": "" },
35+
"psr-4": {
36+
"Geocoder\\Provider\\GeoPlugin\\": ""
37+
},
3138
"exclude-from-classmap": [
3239
"/Tests/"
3340
]
3441
},
42+
"minimum-stability": "dev",
43+
"prefer-stable": true,
3544
"scripts": {
3645
"test": "vendor/bin/phpunit",
3746
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
38-
},
39-
"minimum-stability": "dev",
40-
"prefer-stable": true,
41-
"extra": {
42-
"branch-alias": {
43-
"dev-master": "4.0-dev"
44-
}
4547
}
46-
}
48+
}

0 commit comments

Comments
 (0)