-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
91 lines (84 loc) · 3.47 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
81
82
83
84
85
86
87
88
89
90
91
{
"name": "oxid-esales/module-template",
"description": "Module with solution examples",
"type": "oxideshop-module",
"keywords": [
"oxid",
"modules",
"eShop"
],
"license": [
"GPL-3.0"
],
"require": {
"php": "^8.2",
"symfony/filesystem": "^6.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"phpstan/phpstan": "^2.0.2",
"squizlabs/php_codesniffer": "^3.10",
"phpmd/phpmd": "^2.15",
"oxid-esales/oxideshop-ce": "dev-b-7.3.x",
"phpunit/phpunit": "~10.5.17",
"mikey179/vfsstream": "~1.6.8",
"codeception/codeception": "^5.1",
"codeception/module-asserts": "^3.0",
"codeception/module-db": "^3.1",
"codeception/module-filesystem": "^3.0",
"codeception/module-webdriver": "^4.0",
"oxid-esales/codeception-modules": "dev-b-7.3.x",
"oxid-esales/codeception-page-objects": "dev-b-7.3.x",
"oxid-esales/developer-tools": "dev-b-7.3.x"
},
"conflict": {
"oxid-esales/oxideshop-ce": "<7.3"
},
"autoload": {
"psr-4": {
"OxidEsales\\ModuleTemplate\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"OxidEsales\\ModuleTemplate\\Tests\\": "tests/",
"OxidEsales\\EshopCommunity\\Tests\\": "./vendor/oxid-esales/oxideshop-ce/tests"
}
},
"scripts": {
"post-install-cmd": "@install-pre-commit-hook",
"post-update-cmd": "@install-pre-commit-hook",
"install-pre-commit-hook": "git config --local core.hooksPath .github/commit-hooks",
"phpcs": "phpcs --standard=tests/phpcs.xml --report=full",
"phpcs-report": "phpcs --standard=tests/phpcs.xml --report=json --report-file=tests/Reports/phpcs.report.json",
"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 > tests/Reports/phpstan.report.json",
"phpmd": "phpmd src ansi tests/PhpMd/standard.xml",
"phpmd-report": "phpmd src json tests/PhpMd/standard.xml --reportfile tests/Reports/phpmd.report.json",
"static": [
"@phpcs",
"@phpstan",
"@phpmd"
],
"tests-unit": "XDEBUG_MODE=coverage vendor/bin/phpunit --config=tests/ --testsuite=Unit --coverage-clover=tests/Reports/coverage_unit_module-template.xml",
"tests-integration": "XDEBUG_MODE=coverage vendor/bin/phpunit --bootstrap=/var/www/source/bootstrap.php --config=tests/ --testsuite=Integration --coverage-clover=tests/Reports/coverage_integration_module-template.xml",
"tests-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --bootstrap=/var/www/source/bootstrap.php --config=tests/ --coverage-html=tests/Reports/CoverageHtml",
"tests-codeception": [
"Composer\\Config::disableProcessTimeout",
"THEME_ID=apex MODULE_IDS=oe_moduletemplate SHOP_ROOT_PATH=/var/www vendor/bin/codecept run Acceptance -c tests/codeception.yml --no-redirect"
],
"tests-all": [
"@tests-unit",
"@tests-integration",
"@tests-codeception"
]
},
"config": {
"allow-plugins": {
"oxid-esales/oxideshop-composer-plugin": true,
"oxid-esales/oxideshop-unified-namespace-generator": true
}
}
}