-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
52 lines (52 loc) · 1.35 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "llitllie/swoole-zookeeper-sample",
"type": "library",
"description": "Swoole Zookeeper Sample",
"keywords": [
"Swoole",
"Zookeeper"
],
"license": "MIT",
"homepage": "https://github.com/llitllie/swoole-zookeeper-sample.git",
"authors": [{
"name": "Channing",
"email": "llitllie@gmail.com",
"homepage": "https://github.com/llitllie/swoole-zookeeper-sample.git"
}],
"require": {
"php": "^7.2",
"ext-swoole": "^4.3.4",
"ext-zookeeper": "^0.7.1"
},
"require-dev": {
"phpunit/phpunit": "^8",
"phpstan/phpstan": "^0.11.8",
"friendsofphp/php-cs-fixer": "^2.15",
"swoole/ide-helper": "@dev"
},
"scripts": {
"static-analyse-src": [
"phpstan analyze src -l 7 --ansi"
],
"cs-analyse": [
"php-cs-fixer fix -v --dry-run --diff --stop-on-violation --ansi"
],
"analyse": [
"@static-analyse-src",
"@cs-analyse"
],
"test": [
"@analyse",
"@unit-tests"
],
"unit-tests": [
"phpunit tests --testdox --colors=always"
],
"fix": "php-cs-fixer fix -v --ansi"
},
"suggest": {
"ext-uv": "^0.2.4",
"ext-ev": "^1.0.6",
"ext-event": "^2.5.3"
}
}