-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
61 lines (61 loc) · 1.64 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": "ray/object-visual-grapher",
"description": "",
"license": "MIT",
"authors": [
{
"name": "Akihito Koriyama",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.1.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"squizlabs/php_codesniffer": "^3.2",
"friendsofphp/php-cs-fixer": "^2.11",
"phpmd/phpmd": "^2.6",
"ray/di": "^2.10|2.x-dev",
"bear/package": "^1.9.6",
"doctrine/annotations": "^1.8",
"phpstan/phpstan": "^0.12.5"
},
"autoload": {
"psr-4": {
"Ray\\ObjectGrapher\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ray\\ObjectGrapher\\": [
"tests/",
"tests/Fake"
]
}
},
"scripts": {
"image:package": [
"php ./tests/bin/package.php && dot -T png ./tests/bin/package.dot -o ./tests/bin/package.png && open ./tests/bin/package.png"
],
"test": [
"vendor/bin/phpunit"
],
"tests": [
"@cs",
"@test",
"vendor/bin/phpstan analyse -l max src -c phpstan.neon --no-progress"
],
"coverage": [
"php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"
],
"cs": [
"vendor/bin/php-cs-fixer fix -v --dry-run",
"vendor/bin/phpcs --standard=phpcs.xml src;"
],
"cs-fix": [
"vendor/bin/php-cs-fixer fix -v",
"vendor/bin/phpcbf src tests"
]
}
}