-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
53 lines (53 loc) · 1.35 KB
/
composer.json
File metadata and controls
53 lines (53 loc) · 1.35 KB
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
{
"name": "automattic/woocommerce-fraud-protection",
"description": "A plugin to protect WooCommerce from fraud.",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Automattic"
}
],
"require": {
"php": ">=7.4"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"yoast/phpunit-polyfills": "^2.0",
"wp-coding-standards/wpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"woocommerce/woocommerce-sniffs": "^1.0",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"szepeviktor/phpstan-wordpress": "^2.0",
"php-stubs/woocommerce-stubs": "^9.8",
"php-stubs/wordpress-tests-stubs": "^6.8"
},
"autoload": {
"psr-4": {
"Automattic\\WooCommerce\\FraudProtection\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Automattic\\WooCommerce\\FraudProtection\\Tests\\": "tests/php/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "7.4.0"
}
},
"scripts": {
"test": "phpunit",
"test:coverage": "phpunit --coverage-text --coverage-html=coverage",
"phpcs": "phpcs",
"phpcbf": "phpcbf",
"phpstan": "phpstan analyse --memory-limit=2G",
"phpstan:baseline": "phpstan analyse --memory-limit=2G --generate-baseline=phpstan-baseline.neon"
}
}