Skip to content

Commit c36df25

Browse files
authored
Optimized all composer.json (#3569)
* Optimized all composer.json * Update package-lock.json
1 parent 6974d61 commit c36df25

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

composer.json

+6-14
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,14 @@
99
"description": "Hyperf Scout provides a driver based solution to searching your Eloquent models. Inspired By Laravel Scout.",
1010
"require": {
1111
"php": ">=7.2",
12-
"hyperf/command": "~2.1.0",
13-
"hyperf/contract": "~2.1.0",
14-
"hyperf/database": "~2.1.0",
15-
"hyperf/event": "~2.1.0",
16-
"hyperf/model-listener": "~2.1.0",
17-
"hyperf/utils": "~2.1.0",
12+
"hyperf/command": "~2.2.0",
13+
"hyperf/contract": "~2.2.0",
14+
"hyperf/database": "~2.2.0",
15+
"hyperf/event": "~2.2.0",
16+
"hyperf/model-listener": "~2.2.0",
17+
"hyperf/utils": "~2.2.0",
1818
"psr/event-dispatcher": "^1.0"
1919
},
20-
"require-dev": {
21-
"friendsofphp/php-cs-fixer": "^2.14"
22-
},
2320
"suggest": {
2421
"hyperf/elasticsearch": "Required to use elasticsearch driver."
2522
},
@@ -43,10 +40,5 @@
4340
"hyperf": {
4441
"config": "Hyperf\\Scout\\ConfigProvider"
4542
}
46-
},
47-
"scripts": {
48-
"test": "co-phpunit -c phpunit.xml --colors=always",
49-
"analyze": "phpstan analyse --memory-limit 300M -l 0 ./src",
50-
"cs-fix": "php-cs-fixer fix $1"
5143
}
5244
}

0 commit comments

Comments
 (0)