-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcomposer.json
36 lines (36 loc) · 967 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
33
34
35
36
{
"name": "10up/phpcs-composer",
"description": "10up's PHP CodeSniffer Ruleset",
"type": "phpcodesniffer-standard",
"license": "MIT",
"require": {
"automattic/vipwpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "^2"
},
"prefer-stable": true,
"authors": [
{
"name": "10up",
"homepage": "https://10up.com/"
}
],
"scripts": {
"config-cs": [
"PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"\"vendor/bin/phpcs\" --config-set default_standard 10up-Default"
],
"post-install-cmd": "@config-cs",
"post-update-cmd": "@config-cs",
"lint": "\"vendor/bin/phpcs\" . "
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "dev",
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/php-compatibility": "dev-develop as 9.99.99"
}
}