Skip to content

Commit 303fa9b

Browse files
committed
Normalize composer.json
1 parent 3646763 commit 303fa9b

File tree

1 file changed

+29
-16
lines changed

1 file changed

+29
-16
lines changed

composer.json

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,50 @@
11
{
2-
"name": "geocoder-php/provider-integration-tests",
3-
"type": "library",
2+
"name": "geocoder-php/provider-integration-tests",
43
"description": "Integration tests Geocoder provider",
5-
"keywords": ["geocoder", "provider", "test"],
6-
"license": "MIT",
7-
"minimum-stability": "dev",
8-
"authors":
9-
[
4+
"license": "MIT",
5+
"type": "library",
6+
"keywords": [
7+
"geocoder",
8+
"provider",
9+
"test"
10+
],
11+
"authors": [
1012
{
11-
"name": "Tobias Nyholm",
12-
"email": "[email protected]",
13+
"name": "Tobias Nyholm",
14+
"email": "[email protected]",
1315
"homepage": "https://github.com/nyholm"
1416
}
1517
],
16-
"require": {
18+
"require": {
1719
"php": "^7.3 || ^8.0",
18-
"phpunit/phpunit": "^9.5",
20+
"nyholm/psr7": "^1.0",
1921
"php-http/mock-client": "^1.2",
20-
"psr/http-client": "^1.0",
21-
"nyholm/psr7": "^1.0"
22+
"phpunit/phpunit": "^9.5",
23+
"psr/http-client": "^1.0"
2224
},
2325
"require-dev": {
24-
"php-http/curl-client": "^2.2",
25-
"geocoder-php/nominatim-provider": "^5.3"
26+
"geocoder-php/nominatim-provider": "^5.3",
27+
"php-http/curl-client": "^2.2"
2628
},
2729
"autoload": {
2830
"psr-4": {
2931
"Geocoder\\IntegrationTest\\": "src/"
3032
}
3133
},
32-
"autoload-dev": {
34+
"autoload-dev": {
3335
"psr-4": {
3436
"Geocoder\\IntegrationTest\\Test\\": "tests/"
3537
}
38+
},
39+
"config": {
40+
"allow-plugins": {
41+
"phpstan/extension-installer": true,
42+
"php-http/discovery": true
43+
},
44+
"optimize-autoloader": true,
45+
"sort-packages": true
46+
},
47+
"scripts": {
48+
"test": "vendor/bin/phpunit"
3649
}
3750
}

0 commit comments

Comments
 (0)