-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
47 lines (47 loc) · 1.65 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
{
"name": "cleantalk/cleantalk-spam-protect",
"description": "Spam protection, anti-spam, firewall, premium plugin. No spam comments & users, no spam contact form & WooCommerce anti-spam.",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Cleantalk Team",
"email": "[email protected]"
}
],
"require-dev": {
"vimeo/psalm": "^4.8",
"phpunit/phpunit": "^7.5",
"squizlabs/php_codesniffer": "3.*",
"phpcompatibility/php-compatibility": "@dev",
"yoast/phpunit-polyfills": "^1.0",
"ext-dom": "*",
"wp-cli/wp-cli-bundle": "*"
},
"scripts": {
"test": [
"vendor/bin/phpunit --configuration tests/phpunit.xml",
"vendor/bin/phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"vendor/bin/phpcs --standard=tests/.phpcs.xml",
"vendor/bin/psalm --no-cache --config=psalm.xml",
"vendor/bin/psalm --no-cache --config=psalm.xml --taint-analysis",
"vendor/bin/psalm --no-cache --config=psalm_l3.xml"
],
"psalm_l1": [
"vendor/bin/psalm --no-cache --config=psalm.xml"
],
"psalm_l1_taint": [
"vendor/bin/psalm --no-cache --config=psalm.xml --taint-analysis"
],
"psalm_l3": [
"vendor/bin/psalm --no-cache --config=psalm_l3.xml"
],
"just_phpunit": [
"vendor/bin/phpunit --configuration tests/phpunit.xml --debug"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}