-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathcomposer.json
100 lines (100 loc) · 3.15 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "bear/sunday",
"description": "A resource-oriented application framework",
"keywords": [
"framework",
"DI",
"AOP",
"REST",
"Hypermedia"
],
"license": "MIT",
"authors": [
{
"name": "Akihito Koriyama",
"email": "akihito.koriyama@gmail.com",
"homepage": "http://koriym.github.io/about/"
},
{
"name": "BEAR.Sunday Contributors",
"homepage": "http://bearsunday.github.io/contributors.html"
}
],
"require": {
"php": "^8.0",
"bear/resource": "^1.16",
"psr/log": "^1.1 || ^2.0 || ^3.0",
"ray/aop": "^2.12.3",
"ray/di": "^2.13"
},
"require-dev": {
"doctrine/coding-standard": "^12.0",
"phpmd/phpmd": "^2.9",
"phpmetrics/phpmetrics": "^2.7",
"phpstan/phpstan": "^1.3",
"phpunit/phpunit": "^9.5.10",
"psalm/plugin-phpunit": "^0.13",
"ray/rector-ray": "^1.0",
"rector/rector": "^1.2.4",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^4.2"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"autoload": {
"psr-4": {
"BEAR\\Sunday\\": [
"src/",
"src-deprecated/"
]
}
},
"autoload-dev": {
"psr-4": {
"BEAR\\Sunday\\": [
"tests/",
"tests/Fake/"
],
"FakeVendor\\HelloWorld\\": "tests/Fake/Apps/FakeVendor/HelloWorld/",
"FakeVendor\\HelloWorldX\\": "tests/Fake/Apps/FakeVendor/HelloWorldX/"
},
"files": [
"tests/Fake/Provide/Transfer/header.php",
"tests/Fake/Provide/Transfer/http_response_code.php"
]
},
"scripts": {
"test": "./vendor/bin/phpunit",
"tests": [
"@cs",
"@test",
"@sa"
],
"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 --standard=./phpcs.xml src tests",
"cs-fix": "./vendor/bin/phpcbf src tests",
"clean": [
"./vendor/bin/phpstan clear-result-cache",
"./vendor/bin/psalm --clear-cache",
"rm -rf tests/tmp/*.php"
],
"sa": [
"./vendor/bin/psalm --monochrome --show-info=true",
"./vendor/bin/phpstan analyse --no-ansi --no-progress -c phpstan.neon"
],
"metrics": "./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception --junit=build/junit.xml src",
"phpmd": "./vendor/bin/phpmd --exclude src/Annotation src text ./phpmd.xml",
"build": [
"@cs",
"@sa",
"@pcov",
"@metrics"
]
}
}