-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
86 lines (86 loc) · 2.91 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
{
"name": "bear/devtools",
"description": "",
"license": "MIT",
"authors": [
{
"name": "Akihito Koriyama",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0",
"ext-filter": "*",
"aura/sql": "^3 || ^4 || ^5",
"bear/app-meta": "^1.8",
"bear/resource": "^1.17",
"koriym/php-server": "^1.0",
"xhprof/xhprof": "^2.3",
"psr/log": "^1 || ^2 || ^3",
"ray/aop": "^2.14",
"ray/di": "^2.14",
"symfony/process": "^v5.4 || ^v6.4 || ^v7.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4",
"bear/package": "^1.10",
"madapaja/twig-module": "^2.5",
"phpunit/phpunit": "^9.6",
"ray/aura-sql-module": "^1.10"
},
"autoload": {
"psr-4": {
"BEAR\\Dev\\": ["src/", "src-deprecated/"]
}
},
"autoload-dev": {
"psr-4": {
"BEAR\\Dev\\": [
"tests/Fake"
],
"MyVendor\\MyProject\\": [
"tests/Fake/app/src"
]
}
},
"scripts": {
"post-install-cmd": ["@composer bin all install --ansi"],
"post-update-cmd": ["@composer bin all update --ansi"],
"test": ["./vendor/bin/phpunit"],
"tests": ["@cs", "@test", "@sa"],
"coverage": ["php -dzend_extension=xdebug.so ./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/phpstan analyse -c phpstan.neon", "psalm --show-info=true"],
"metrics": ["./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception --log-junit=build/junit.xml --junit=build/junit.xml src"],
"phpmd": ["./vendor/bin/phpmd src text ./phpmd.xml"],
"build": ["@cs", "@sa", "@pcov", "@metrics"]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"repositories": [
{
"type": "package",
"package": {
"name": "xhprof/xhprof",
"version": "2.3.9",
"dist": {
"url": "https://github.com/longxinH/xhprof/archive/refs/tags/v2.3.9.zip",
"type": "zip"
},
"autoload": {
"classmap": ["/xhprof_lib/utils/"]
}
}
}
],
"suggest": {
"ext-xhprof": "XHprof hierarchical profiler"
}
}