-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
72 lines (66 loc) · 2.7 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
{
"name": "oxid-esales/geo-blocking-module",
"description": "The module enables OXID eShop to be compliant with the EU geo-blocking regulations.",
"type": "oxideshop-module",
"keywords": ["oxid", "modules", "eShop"],
"homepage": "https://www.oxid-esales.com",
"license": [
"proprietary"
],
"minimum-stability": "dev",
"prefer-stable": true,
"prefer-dist": true,
"conflict": {
"oxid-esales/oxideshop-ce": "<7.2"
},
"require": {
"php": "^8.2"
},
"require-dev": {
"phpstan/phpstan": "^1.9.14",
"squizlabs/php_codesniffer": "3.*",
"phpmd/phpmd": "^2.11",
"phpunit/phpunit": "^10.4",
"oxid-esales/oxideshop-ce": "dev-b-7.2.x",
"mikey179/vfsstream": "~1.6.8",
"codeception/codeception": "^5.0",
"codeception/module-asserts": "*",
"codeception/module-db": "*",
"codeception/module-filesystem": "*",
"codeception/module-webdriver": "*",
"oxid-esales/codeception-modules": "dev-b-7.2.x",
"oxid-esales/codeception-page-objects": "dev-b-7.2.x"
},
"autoload": {
"psr-4": {
"OxidEsales\\GeoBlocking\\": "src/",
"OxidEsales\\GeoBlocking\\Tests\\": "tests/"
}
},
"scripts": {
"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 --ignore-errors-on-exit --ignore-violations-on-exit",
"phpmd-report": "phpmd src json tests/PhpMd/standard.xml --ignore-errors-on-exit --ignore-violations-on-exit --reportfile tests/Reports/phpmd.report.json",
"static": [
"@phpcs",
"@phpstan",
"@phpmd"
],
"tests-integration": "XDEBUG_MODE=coverage vendor/bin/phpunit --bootstrap=/var/www/source/bootstrap.php --config=tests/ --testsuite=Integration --coverage-clover=tests/Reports/coverage_integration_geo-blocking-module.xml",
"tests-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --bootstrap=/var/www/source/bootstrap.php --config=tests/ --coverage-html=tests/reports/coverage",
"tests-codeception": [
"Composer\\Config::disableProcessTimeout",
"THEME_ID=apex MODULE_IDS=oegeoblocking SHOP_ROOT_PATH=/var/www vendor/bin/codecept run Acceptance -c tests/codeception.yml --no-redirect"
]
},
"config": {
"allow-plugins": {
"oxid-esales/oxideshop-unified-namespace-generator": true,
"oxid-esales/oxideshop-composer-plugin": false
}
}
}