-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
61 lines (61 loc) · 1.8 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
{
"name": "bear/accept",
"description": "Provides content-negotiation using Accept* headers for BEAR.Sunday",
"keywords": [
"accept",
"content negotiation"
],
"license": "MIT",
"authors": [
{
"name": "Akihito Koriyama",
"email": "[email protected]"
}
],
"require": {
"php": "^7.4 || ^8.0",
"aura/accept": "^4.0",
"bear/sunday": "^1.6",
"bear/package": "^1.14"
},
"require-dev": {
"ext-json": "*",
"phpunit/phpunit": "^8.5.24 || ^9.5",
"doctrine/coding-standard": "^9.0",
"vimeo/psalm": "^4.23",
"phpstan/phpstan": "^1.7",
"squizlabs/php_codesniffer": "^3.7",
"ray/aop": "^2.12.1"
},
"autoload": {
"psr-4": {
"BEAR\\Accept\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"BEAR\\Accept\\": [
"tests/",
"tests/Fake",
"tests/Fake/app/src"
]
}
},
"scripts" :{
"test": ["@cs", "phpunit"],
"tests": ["rm -rf tests/tmp/", "@cs", "@sa", "@test"],
"coverage": ["php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"cs": ["./vendor/bin/phpcs --standard=./phpcs.xml src tests"],
"sa": [
"./vendor/bin/psalm --monochrome --show-info=true",
"./vendor/bin/phpstan analyse -c phpstan.neon"
],
"cs-fix": ["./vendor/bin/phpcbf src tests"],
"clean": ["./vendor/bin/phpstan clear-result-cache", "./vendor/bin/psalm --clear-cache", "rm -rf tests/tmp/*.php"]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}