-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
80 lines (80 loc) · 2.18 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
{
"name": "opus4-repo/framework",
"description": "Framework for Opus 4",
"license": "GPL-2.0+",
"type": "library",
"keywords": [
"opus4",
"framework"
],
"homepage": "http://opus4.kobv.de",
"require": {
"php": ">=8.1",
"ext-dom": "*",
"ext-pdo": "*",
"ext-fileinfo": "*",
"ext-json": "*",
"ext-libxml": "*",
"opus4/zf1-future": "1.21.*",
"opus4-repo/opus4-common": "dev-master as 4.8.1",
"opus4-repo/opus4-doi": "dev-main as 4.8.1"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Opus\\": "library/Opus"
}
},
"autoload-dev": {
"psr-4": {
"OpusTest\\": "tests/Opus"
}
},
"require-dev": {
"phpunit/phpunit": "10.*",
"phpmd/phpmd" : "*",
"opus4-repo/codesniffer": "dev-laminas",
"phpmetrics/phpmetrics": "*"
},
"archive": {
"exclude": ["/tests", "/nbproject"]
},
"bin": [
"bin/opus4db"
],
"scripts": {
"analysis": [
"Composer\\Config::disableProcessTimeout",
"@prepare",
"@cs-report",
"@phpmd",
"@phpcpd"
],
"check-full": [
"@prepare",
"@cs-report",
"@test-coverage"
],
"prepare": "mkdir -p build",
"test-coverage": [
"Composer\\Config::disableProcessTimeout",
"phpunit --log-junit build/phpunit.xml --colors=always --coverage-html build/ --coverage-clover build/clover.xml"],
"test": [
"Composer\\Config::disableProcessTimeout",
"phpunit --log-junit build/phpunit.xml --colors=always"
],
"cs-check": "phpcs -n -p --extensions=php,phtml,css,js,inc",
"cs-fix": "phpcbf --extensions=php,phtml,css,js,inc -v",
"cs-report": "phpcs -n --report=checkstyle --report-file=build/checkstyle.xml -v",
"phpmd": "phpmd library xml cleancode,unusedcode,design,naming --reportfile build/phpmd.xml --ignore-violations-on-exit",
"phploc": "phploc --log-csv build/phploc.csv src",
"phpcpd": "phpcpd . --min-lines 3 --min-tokens 30 --log-pmd build/pmd-cpd.xml --progress || true",
"metrics": "phpmetrics --report-html=build/metrics ."
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}