forked from conedevelopment/simplepay-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
32 lines (32 loc) · 947 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
30
31
32
{
"name": "conedevelopment/simplepay-gateway",
"description": "OTP SimplePay integration for WooCommerce (WordPress) stores.",
"type": "wordpress-plugin",
"license": "MIT",
"authors": [
{
"name": "Cone Development",
"email": "[email protected]"
}
],
"require": {
"php": "^7.0",
"composer/installers": "~1.7"
},
"require-dev": {
"php": "^7.2",
"squizlabs/php_codesniffer": "^3.5.5",
"szepeviktor/phpstan-wordpress": "^0.7.7",
"php-stubs/woocommerce-stubs": "^4.2.2"
},
"scripts": {
"test:syntax": "find src/ includes/ -type f -name '*.php' -print0 | xargs -0 -L1 -P4 -- php -l",
"test:cs": "phpcs -p --standard=PSR2 src/ includes/",
"test:phpstan": "phpstan analyze",
"test": [
"@test:syntax",
"@test:cs",
"@test:phpstan"
]
}
}