Skip to content

Commit 12631d4

Browse files
authored
Optimized all composer.json (#3569)
* Optimized all composer.json * Update package-lock.json
1 parent 491ab72 commit 12631d4

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

composer.json

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,11 @@
2121
"require": {
2222
"php": ">=7.2",
2323
"psr/container": "^1.0|^2.0",
24-
"phpunit/phpunit": "^9.4",
25-
"hyperf/contract": "~2.1.0",
26-
"hyperf/http-message": "~2.1.0",
27-
"hyperf/http-server": "~2.1.0",
28-
"hyperf/utils": "~2.1.0"
29-
},
30-
"require-dev": {
31-
"malukenho/docheader": "^0.1.6",
32-
"mockery/mockery": "^1.0",
33-
"friendsofphp/php-cs-fixer": "^2.9"
34-
},
35-
"suggest": {
24+
"phpunit/phpunit": "^9.5",
25+
"hyperf/contract": "~2.2.0",
26+
"hyperf/http-message": "~2.2.0",
27+
"hyperf/http-server": "~2.2.0",
28+
"hyperf/utils": "~2.2.0"
3629
},
3730
"extra": {
3831
"branch-alias": {
@@ -41,9 +34,5 @@
4134
},
4235
"bin": [
4336
"co-phpunit"
44-
],
45-
"scripts": {
46-
"test": "./vendor/bin/phpunit -c phpunit.xml",
47-
"co_test": "php tests/co_phpunit.php -c phpunit.xml"
48-
}
37+
]
4938
}

0 commit comments

Comments
 (0)