forked from WordPress/WordPress-Coding-Standards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
40 lines (40 loc) · 1.41 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
{
"name": "wp-coding-standards/wpcs",
"type": "phpcodesniffer-standard",
"description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions",
"keywords": [
"phpcs",
"standards",
"WordPress"
],
"license": "MIT",
"authors": [
{
"name": "Contributors",
"homepage": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/graphs/contributors"
}
],
"require": {
"php": ">=5.3",
"squizlabs/php_codesniffer": "^2.9.0 || ^3.0.2"
},
"require-dev": {
"phpcompatibility/php-compatibility": "^9.0"
},
"suggest": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
},
"minimum-stability": "RC",
"scripts": {
"post-install-cmd": "@install-codestandards",
"post-update-cmd": "@install-codestandards",
"check-cs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"fix-cs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf",
"install-codestandards": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --config-set installed_paths ../../..,../../phpcompatibility/php-compatibility"
},
"support": {
"issues": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues",
"wiki": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki",
"source": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards"
}
}