forked from OXID-eSales/module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
57 lines (54 loc) · 1.63 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
{
"name": "oxid-esales/module-template",
"description": "",
"type": "oxideshop-module",
"keywords": [
"oxid",
"modules",
"eShop"
],
"license": [
"GPL-3.0"
],
"prefer-stable": true,
"prefer-dist": true,
"require": {
"php": "^8.0 | ^8.1"
},
"minimum-stability": "dev",
"require-dev": {
"phpstan/phpstan": "^1.9.14",
"squizlabs/php_codesniffer": "3.*",
"phpmd/phpmd": "^2.11",
"oxid-esales/oxideshop-ce": "dev-b-7.0.x"
},
"conflict": {
"oxid-esales/oxideshop-ce": "<7.0"
},
"autoload": {
"psr-4": {
"OxidEsales\\ModuleTemplate\\": "src/",
"OxidEsales\\ModuleTemplate\\Tests\\": "tests/"
}
},
"scripts": {
"phpcs": "phpcs --standard=tests/phpcs.xml",
"phpcbf": "phpcbf --standard=tests/phpcs.xml",
"phpstan": "phpstan -ctests/PhpStan/phpstan.neon analyse src/",
"phpstan-report": "phpstan -ctests/PhpStan/phpstan.neon analyse src/ --error-format=json > phpstan.report.json",
"phpmd": "phpmd src ansi tests/PhpMd/standard.xml",
"phpmd-excludestaticaccess": "phpmd src ansi tests/PhpMd/exclude-static-access-rule.xml",
"phpmd-report": "phpmd src json tests/PhpMd/standard.xml --reportfile tests/reports/phpmd.report.json",
"static": [
"@phpcs",
"@phpstan",
"@phpmd"
]
},
"config": {
"allow-plugins": {
"oxid-esales/oxideshop-composer-plugin": true,
"oxid-esales/oxideshop-unified-namespace-generator": true
}
}
}