Skip to content

Commit 0a989af

Browse files
authored
Added composer.json normalize support (#6887)
1 parent a940bc5 commit 0a989af

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

composer.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
{
22
"name": "hyperf/validation",
3-
"type": "library",
3+
"description": "hyperf validation",
44
"license": "MIT",
5+
"type": "library",
56
"keywords": [
67
"validation",
78
"hyperf"
89
],
9-
"description": "hyperf validation",
10-
"autoload": {
11-
"psr-4": {
12-
"Hyperf\\Validation\\": "src/"
13-
}
14-
},
15-
"autoload-dev": {
16-
"psr-4": {
17-
"HyperfTest\\Validation\\": "tests"
18-
}
19-
},
2010
"require": {
2111
"php": ">=8.1",
2212
"egulias/email-validator": "^3.0",
@@ -26,20 +16,30 @@
2616
"hyperf/di": "~3.1.0",
2717
"hyperf/framework": "~3.1.0",
2818
"hyperf/macroable": "~3.1.0",
29-
"hyperf/tappable": "~3.1.0",
30-
"hyperf/translation": "~3.1.0",
3119
"hyperf/stringable": "~3.1.0",
3220
"hyperf/support": "~3.1.0",
21+
"hyperf/tappable": "~3.1.0",
22+
"hyperf/translation": "~3.1.0",
3323
"hyperf/utils": "~3.1.0",
3424
"nesbot/carbon": "^2.21",
35-
"psr/container": "^1.0|^2.0",
25+
"psr/container": "^1.0 || ^2.0",
3626
"psr/event-dispatcher": "^1.0",
37-
"psr/http-message": "^1.0|^2.0"
27+
"psr/http-message": "^1.0 || ^2.0"
3828
},
3929
"suggest": {
4030
"hyperf/database": "Required if you want to use the database validation rule (~3.1.0).",
4131
"hyperf/http-server": "Required if you want to use the request validation rule (~3.1.0)."
4232
},
33+
"autoload": {
34+
"psr-4": {
35+
"Hyperf\\Validation\\": "src/"
36+
}
37+
},
38+
"autoload-dev": {
39+
"psr-4": {
40+
"HyperfTest\\Validation\\": "tests"
41+
}
42+
},
4343
"config": {
4444
"sort-packages": true
4545
},

0 commit comments

Comments
 (0)