forked from elger/PHP_CodeBrowser
-
Notifications
You must be signed in to change notification settings - Fork 30
/
composer.json
76 lines (76 loc) · 2.54 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": "mayflower/php-codebrowser",
"description": "A code browser that augments the code with information from various QA tools.",
"license": "BSD-3-Clause",
"homepage": "https://github.com/Mayflower/PHP_CodeBrowser",
"authors": [
{
"name": "Robin Gloster",
"email": "[email protected]",
"role": "developer"
},
{
"name": "Christian Albrecht",
"email": "[email protected]",
"role": "developer"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.0",
"ext-dom": "*",
"monolog/monolog": "~1.7||~2.0||~3.0",
"phpunit/php-file-iterator": "~2.0||^3.0",
"symfony/console": "~3.4||~4.0||~5.0||~6.0"
},
"require-dev": {
"humbug/box": "^3.13",
"mayflower/mo4-coding-standard": "^9.0",
"phploc/phploc": "*",
"phpmd/phpmd": "1.5.*||~2.6",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^9.5",
"sebastian/phpcpd": "*",
"phpstan/phpstan-strict-rules": "^1.5",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan-phpunit": "^1.3"
},
"autoload": {
"psr-0": {"PHPCodeBrowser\\": "src/"}
},
"bin": [ "bin/phpcb" ],
"scripts": {
"demo": [
"@clean",
"php -c php.ini vendor/bin/phpunit -c phpunit.xml.dist",
"phpcpd --log-pmd=build/logs/pmd-cpd.xml src || true",
"phpmd src xml cleancode,codesize,controversial,design,naming,unusedcode --reportfile build/logs/pmd.xml || true",
"phpcs -q --report-checkstyle=build/logs/checkstyle.xml || true",
"@browser"
],
"nope": [
"@clean",
"pdepend --quiet --dependency-xml=build/logs/pdepend.xml src || true",
"phploc -q --log-xml=build/logs/phploc.xml src || true",
"@browser"
],
"ci-prepare": [
"composer update --prefer-dist --no-interaction --no-progress"
],
"ci": [
"phpcs -s",
"phpstan analyse --no-progress",
"phpunit"
],
"clean": "rm -rf build/logs/* build/code-browser",
"browser": "bin/phpcb -l build/logs -o build/code-browser -s src",
"phar": "php vendor/bin/box compile"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}