2020-09-25 19:09:40 +00:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2022-02-15 11:28:42 +00:00
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
|
|
|
|
"phpcompatibility/phpcompatibility-wp": "2.1.3",
|
2020-09-25 19:09:40 +00:00
|
|
|
"sirbrillig/phpcs-changed": "^2.5.1",
|
|
|
|
"sirbrillig/phpcs-variable-analysis": "^2.7.0",
|
|
|
|
"wp-coding-standards/wpcs": "^2.1.1"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"php:lint": "vendor/bin/phpcs -p -s",
|
|
|
|
"php:lint:errors": "vendor/bin/phpcs -p -s --runtime-set ignore_warnings_on_exit 1",
|
|
|
|
"php:lint:autofix": "vendor/bin/phpcbf",
|
|
|
|
"php:lint:changed": "vendor/bin/phpcs-changed --git --git-unstaged"
|
2022-02-15 11:28:42 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2020-09-25 19:09:40 +00:00
|
|
|
}
|
|
|
|
}
|