-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
28 lines (28 loc) · 895 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
{
"name": "digitalcube/theme-tests",
"description": "This is for WordPress Theme and Plugin Development",
"type": "wordpress-theme",
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"squizlabs/php_codesniffer": "*",
"wp-coding-standards/wpcs": "2.3.0",
"wptrt/wpthemereview": "*",
"szepeviktor/phpstan-wordpress": "^1.1",
"phpunit/phpunit": "^8"
},
"scripts": {
"php-format": "vendor/bin/phpcbf --standard=_tests/tests/phpcs/.phpcs.xml.dist --report-summary --report-source",
"php-lint": "vendor/bin/phpcs --standard=_tests/tests/phpcs/.phpcs.xml.dist",
"phpstan": "vendor/bin/phpstan analyse -c _tests/tests/phpstan/phpstan.neon --memory-limit=1G",
"test": [
"@lint-php",
"@phpstan"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}