-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
74 lines (74 loc) · 2.38 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
{
"name": "jtl-connector/woocommerce",
"type": "app",
"description": "WooCommerce Connector based on jtl/connector",
"keywords": [
"jtl",
"connector",
"WooCommerce"
],
"homepage": "http://www.jtl-software.de",
"license": "GPL",
"authors": [
{
"name": "Jan Weskamp",
"email": "jan.weskamp@jtl-software.com",
"homepage": "http://www.jtl-software.de",
"role": "Developer"
}
],
"require": {
"php": ">=8.1",
"jtl/connector": "dev-master",
"symfony/yaml": "^3.4",
"twbs/bootstrap": "^4.3",
"theiconic/name-parser": "^0.1.1",
"php-units-of-measure/php-units-of-measure": "^2.1",
"nette/utils": "^3.1",
"psr/log": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"php-mock/php-mock": "^2.2",
"mockery/mockery": "^1.3",
"jtl/unit-test": "^1.0",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpstan/extension-installer": "^1.3",
"php-stubs/woocommerce-stubs": "^8.8",
"jtl/connector-cq": "*",
"phpstan/phpstan": "^1.11",
"squizlabs/php_codesniffer": "^3.10",
"micheh/phpcs-gitlab": "^1.1",
"slevomat/coding-standard": "^8.15"
},
"autoload": {
"psr-4": {
"JtlWooCommerceConnector\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"JtlWooCommerceConnector\\Tests\\": "tests/src"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"analyze": "@analyse",
"analyse": [
"@phpcs",
"@phpstan"
],
"phpcs": "phpcs --basepath=. --extensions=php --standard=JtlConnector --report=full src tests includes uninstall.php woo-jtl-connector.php",
"phpcs:fix": "phpcbf --basepath=. --extensions=php --standard=JtlConnector src tests includes uninstall.php woo-jtl-connector.php",
"phpcs:ci": "phpcs --basepath=. --extensions=php --standard=JtlConnector --report=full --report-\\\\Micheh\\\\PhpCodeSniffer\\\\Report\\\\Gitlab=phpcs-quality-report.json src tests",
"phpstan": "phpstan analyse src includes uninstall.php woo-jtl-connector.php --level max -c ./phpstan.neon",
"phpstan:ci": "phpstan analyse src includes uninstall.php woo-jtl-connector.php --level max -c ./phpstan.neon --error-format gitlab > phpstan-quality-report.json",
"tests": "phpunit",
"tests:ci": "phpunit --log-junit junit.xml"
}
}