-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
76 lines (76 loc) · 1.98 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "chanshige/sesame",
"description": "sesame smartlock api wrapper.",
"minimum-stability": "stable",
"license": "MIT",
"authors": [
{
"name": "Shigeki Tanaka",
"email": "[email protected]"
}
],
"require": {
"php": "^8.3",
"ext-crypto": "*",
"koriym/http-constants": "^1.1",
"psr/http-message": "^1.0",
"guzzlehttp/guzzle": "^7.8"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"doctrine/coding-standard": "^11.0",
"phpmd/phpmd": "^2.10",
"phpmetrics/phpmetrics": "^2.8",
"phpstan/phpstan": "^1.9",
"psalm/plugin-phpunit": "^0",
"slevomat/coding-standard": "^8.14",
"squizlabs/php_codesniffer": "^3.8",
"vimeo/psalm": "^5.0",
"mockery/mockery": "^1.6",
"psalm/plugin-mockery": "^1.1",
"phpstan/phpstan-mockery": "^1.1"
},
"autoload": {
"psr-4": {
"Chanshige\\SmartLock\\Sesame\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Chanshige\\SmartLock\\Sesame\\": "tests/"
}
},
"scripts": {
"test": "./vendor/bin/phpunit",
"coverage": "php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage",
"pcov": "php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml",
"cs": "./vendor/bin/phpcs",
"cs-fix": "./vendor/bin/phpcbf src tests",
"metrics": "./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception src",
"clean": [
"./vendor/bin/phpstan clear-result-cache",
"./vendor/bin/psalm --clear-cache"
],
"sa": [
"./vendor/bin/phpstan analyse -c phpstan.neon",
"psalm --show-info=true"
],
"tests": [
"@cs",
"@sa",
"@test"
],
"build": [
"@clean",
"@cs",
"@sa",
"@pcov",
"@metrics"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}