forked from mayflower/PHP_CodeBrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
67 lines (67 loc) · 2.29 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
{
"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": "robin.gloster@mayflower.de",
"role": "developer"
},
{
"name": "Christian Albrecht",
"email": "christian.albrecht@mayflower.de",
"role": "developer"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.3||^8.0",
"ext-dom": "*",
"monolog/monolog": "~1.7||~2.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": "^7.0",
"phploc/phploc": "*",
"phpmd/phpmd": "1.5.*||~2.6",
"phpstan/phpstan": "^0.12.5",
"phpunit/phpunit": "^9.5",
"sebastian/phpcpd": "*"
},
"autoload": {
"psr-0": {"PHPCodeBrowser\\": "src/"}
},
"bin": [ "bin/phpcb" ],
"scripts": {
"demo": [
"@clean",
"php -c php.ini vendor/bin/phpunit -c phpunit.xml.dist",
"phpcpd -q --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 --standard=MO4 --report-checkstyle=build/logs/checkstyle.xml src || 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 --standard=MO4 src/PHPCodeBrowser/",
"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"
}
}