Skip to content

Commit 2afecde

Browse files
committed
Add composer test script
1 parent e8eb901 commit 2afecde

File tree

1 file changed

+34
-33
lines changed

1 file changed

+34
-33
lines changed

composer.json

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
11
{
2-
"name": "alexkart/curl-builder",
3-
"description": "PSR-7 compatible curl builder.",
4-
"type": "library",
5-
"license": "MIT",
6-
"authors": [
7-
{
8-
"name": "Alexander Kartavenko",
9-
"email": "[email protected]"
2+
"name": "alexkart/curl-builder",
3+
"description": "PSR-7 compatible curl builder.",
4+
"type": "library",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Alexander Kartavenko",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"minimum-stability": "dev",
13+
"prefer-stable": true,
14+
"require": {
15+
"php": ">=7.1",
16+
"psr/http-message": "^1.0"
17+
},
18+
"require-dev": {
19+
"phpunit/phpunit": "^7.2",
20+
"nyholm/psr7": "^1.3",
21+
"phan/phan": "^3.2"
22+
},
23+
"autoload": {
24+
"psr-4": {
25+
"Alexkart\\CurlBuilder\\": "src"
26+
}
27+
},
28+
"autoload-dev": {
29+
"psr-4": {
30+
"Alexkart\\CurlBuilder\\Tests\\": "tests"
31+
}
32+
},
33+
"scripts": {
34+
"phan": "phan --progress-bar -o analysis.txt",
35+
"test": "vendor/bin/phpunit"
1036
}
11-
],
12-
"minimum-stability": "dev",
13-
"prefer-stable": true,
14-
"require": {
15-
"php": ">=7.1",
16-
"psr/http-message": "^1.0"
17-
},
18-
"require-dev": {
19-
"phpunit/phpunit": "^7.2",
20-
"nyholm/psr7": "^1.3",
21-
"phan/phan": "^3.2"
22-
},
23-
"autoload": {
24-
"psr-4": {
25-
"Alexkart\\CurlBuilder\\": "src"
26-
}
27-
},
28-
"autoload-dev": {
29-
"psr-4": {
30-
"Alexkart\\CurlBuilder\\Tests\\": "tests"
31-
}
32-
},
33-
"scripts": {
34-
"phan": "phan --progress-bar -o analysis.txt"
35-
}
3637
}

0 commit comments

Comments
 (0)