mirror of
https://github.com/10h30/genesis-simple-sidebars.git
synced 2026-07-13 11:36:22 +09:00
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|