8000 Drop support for PHP 7.0 and PHP 7.1 (End of life) (#1068) · geocoder-php/php-common@30005fc · GitHub
[go: up one dir, main page]

Skip to content

Commit 30005fc

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 5226cfb commit 30005fc

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

.travis.yml< 10000 /h3>

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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

composer.json

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"name": "willdurand/geocoder",
33
"type": "library",
44
"description": "Common files for PHP Geocoder",
5-
"keywords": ["geocoder", "geocoding", "abstraction", "geoip"],
5+
"keywords": [
6+
"geocoder",
7+
"geocoding",
8+
"abstraction",
9+
"geoip"
10+
],
611
"homepage": "http://geocoder-php.org",
712
"license": "MIT",
813
"authors": [
@@ -12,29 +17,31 @@
1217
}
1318
],
1419
"require": {
15-
"php": "^7.0"
20+
"php": "^7.2"
1621
},
1722
"require-dev": {
18-
"phpunit/phpunit": "^6.5 || ^7.5",
19-
"symfony/stopwatch": "~2.5",
20-
"nyholm/nsa": "^1.1"
23+
"nyholm/nsa": "^1.1",
24+
"phpunit/phpunit": "^7.5",
25+
"symfony/stopwatch": "~2.5"
2126
},
2227
"suggest": {
2328
"symfony/stopwatch": "If you want to use the TimedGeocoder"
2429
},
30+
"extra": {
31+
"branch-alias": {
32+
"dev-master": "4.1-dev"
33+
}
34+
},
2535
"autoload": {
26-
"psr-4": { "Geocoder\\": "" },
36+
"psr-4": {
37+
"Geocoder\\": ""
38+
},
2739
"exclude-from-classmap": [
2840
"/Tests/"
2941
]
3042
},
3143
"scripts": {
3244
"test": "vendor/bin/phpunit",
3345
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
34-
},
35-
"extra": {
36-
"branch-alias": {
37-
"dev-master": "4.1-dev"
38-
}
3946
}
40-
}
47+
}

0 commit comments

Comments
 (0)
0