Skip to content

Commit 7d01a94

Browse files
authored
Added composer.json normalize support (#6887)
1 parent 923e862 commit 7d01a94

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

composer.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,16 @@
11
{
22
"name": "hyperf/testing",
3-
"type": "library",
3+
"description": "Testing for hyperf",
44
"license": "MIT",
5+
"type": "library",
56
"keywords": [
67
"dev",
78
"php",
89
"swoole",
910
"testing"
1011
],
11-
"description": "Testing for hyperf",
12-
"autoload": {
13-
"psr-4": {
14-
"Hyperf\\Testing\\": "src/"
15-
}
16-
},
17-
"autoload-dev": {
18-
"psr-4": {
19-
"HyperfTest\\Testing\\": "tests/"
20-
}
21-
},
2212
"require": {
2313
"php": ">=8.1",
24-
"psr/container": "^1.0|^2.0",
25-
"phpunit/phpunit": "^10.0",
2614
"hyperf/codec": "~3.1.0",
2715
"hyperf/collection": "~3.1.0",
2816
"hyperf/contract": "~3.1.0",
@@ -31,17 +19,29 @@
3119
"hyperf/http-server": "~3.1.0",
3220
"hyperf/support": "~3.1.0",
3321
"hyperf/utils": "~3.1.0",
34-
"symfony/http-foundation": "^5.4|^6.0"
22+
"phpunit/phpunit": "^10.0",
23+
"psr/container": "^1.0 || ^2.0",
24+
"symfony/http-foundation": "^5.4 || ^6.0"
3525
},
3626
"suggest": {
3727
"fakerphp/faker": "Required to use Faker feature.(^1.23)"
3828
},
39-
"extra": {
40-
"branch-alias": {
41-
"dev-master": "3.1-dev"
29+
"autoload": {
30+
"psr-4": {
31+
"Hyperf\\Testing\\": "src/"
32+
}
33+
},
34+
"autoload-dev": {
35+
"psr-4": {
36+
"HyperfTest\\Testing\\": "tests/"
4237
}
4338
},
4439
"bin": [
4540
"co-phpunit"
46-
]
41+
],
42+
"extra": {
43+
"branch-alias": {
44+
"dev-master": "3.1-dev"
45+
}
46+
}
4747
}

0 commit comments

Comments
 (0)