-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
80 lines (80 loc) · 1.43 KB
/
composer.json
File metadata and controls
80 lines (80 loc) · 1.43 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "rice/basic",
"description": "basic tool",
"type": "library",
"license": "Apache-2.0",
"keywords": [
"php",
"tools",
"basic",
"Clean code"
],
"require": {
"php": ">=7.4",
"ext-json": "*",
"ext-bcmath": "*",
"guzzlehttp/guzzle": "^6.0 || ^7.0",
"nesbot/carbon": "^2.53.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"php-coveralls/php-coveralls": "^2.5",
"squizlabs/php_codesniffer": "^3.7",
"vimeo/psalm": "^4.0",
"phpstan/phpstan": "^1.4"
},
"autoload": {
"psr-4": {
"Rice\\Basic\\": "src/"
},
"files": [
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
},
"files": [
"tests/common.php"
]
},
"authors": [
{
"name": "dengmf",
"email": "1015814408@qq.com"
}
],
"minimum-stability": "stable",
"prefer-stable": true,
"scripts": {
"test": [
"phpunit"
],
"test-coverage": [
"phpunit --coverage-html coverage"
],
"lint": [
"phpcs --standard=PSR12 --runtime-set ignore_warnings_on_exit 1 src/ tests/"
],
"lint-fix": [
"phpcbf --standard=PSR12 src/ tests/"
],
"psalm": [
"psalm --no-cache"
],
"phpstan": [
"phpstan analyze src/ tests/"
],
"check": [
"@psalm",
"@phpstan",
"@test"
],
"check-all": [
"@lint",
"@psalm",
"@phpstan",
"@test"
]
}
}