-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
80 lines (80 loc) · 2.27 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/search",
"description": "OPUS 4 search implementation based on Solr.",
"license": "GPL-2.0+",
"type": "library",
"keywords": [
"opus4",
"solr"
],
"homepage": "http://www.opus-repository.org",
"require": {
"php": ">=8.1",
"ext-xsl": "*",
"ext-dom": "*",
"ext-iconv": "*",
"ext-simplexml": "*",
"ext-mbstring": "*",
"solarium/solarium": "6.*",
"symfony/event-dispatcher": "*",
"opus4-repo/framework": "dev-master as 4.8.1",
"opus4-repo/opus4-common": "dev-master as 4.8.1",
"opus4-repo/opus4-job": "dev-main as 4.8.1",
"opus4/zf1-future": "1.21.*",
"symfony/console": "*"
},
"require-dev": {
"phpunit/phpunit": "10.*",
"opus4-repo/codesniffer": "dev-laminas",
"phpmd/phpmd": "@stable",
"phploc/phploc": "@stable",
"sebastian/phpcpd": "*",
"phpmetrics/phpmetrics": "*"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Opus\\Search\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"OpusTest\\Search\\": "test/"
}
},
"scripts": {
"check": [
"Composer\\Config::disableProcessTimeout",
"@prepare",
"@cs-check",
"@test"
],
"check-full": [
"Composer\\Config::disableProcessTimeout",
"@prepare",
"@cs-check-report",
"@phpmd",
"@phpcpd",
"@test-coverage"
],
"prepare": "mkdir -p build",
"test": [
"Composer\\Config::disableProcessTimeout",
"phpunit --colors=always --log-junit build/phpunit.xml"
],
"test-coverage": "phpunit --log-junit build/phpunit.xml --colors=always --coverage-html build/ --coverage-clover build/clover.xml",
"cs-check": "phpcs -n -p",
"cs-check-report": "phpcs -n --report=checkstyle --report-file=build/checkstyle.xml",
"cs-fix": "phpcbf -v",
"phpmd": "phpmd src 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 ."
}
}