-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
29 lines (29 loc) · 938 Bytes
/
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
{
"require": {
"phpmd/phpmd": "^2.6",
"squizlabs/php_codesniffer": "^3.4",
"wp-coding-standards/wpcs": "^2.0"
},
"scripts" : {
"post-install-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs",
"\"vendor/bin/phpcs\" --config-set minimum_supported_wp_version 5.1"
],
"post-update-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs",
"\"vendor/bin/phpcs\" --config-set minimum_supported_wp_version 5.1"
],
"lint": "vendor/bin/phpcs",
"phpcbf": "vendor/bin/phpcbf",
"phpunit": "vendor/bin/phpunit tests/",
"precommit": "cp pre-commit.sh .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit"
},
"require-dev": {
"phpunit/phpunit": "^8.5"
},
"autoload": {
"classmap": [
"modules/woocommerce/includes/class-wc-checkout-braspag-credit-card-brand.php"
]
}
}