-
-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1489 from WordPress-Coding-Standards/feature/comp…
…oser-normalize Composer: Normalize composer.json
- Loading branch information
Showing
1 changed file
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,40 @@ | ||
{ | ||
"name" : "wp-coding-standards/wpcs", | ||
"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" : [ | ||
"keywords": [ | ||
"phpcs", | ||
"standards", | ||
"WordPress" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name" : "Contributors", | ||
"name": "Contributors", | ||
"homepage": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/graphs/contributors" | ||
|
||
} | ||
], | ||
"require" : { | ||
"php" : ">=5.3", | ||
"require": { | ||
"php": ">=5.3", | ||
"squizlabs/php_codesniffer": "^2.9.0 || ^3.0.2" | ||
}, | ||
"require-dev" : { | ||
"require-dev": { | ||
"phpcompatibility/php-compatibility": "*" | ||
}, | ||
"suggest" : { | ||
"suggest": { | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically." | ||
}, | ||
"minimum-stability" : "RC", | ||
"support" : { | ||
"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", | ||
"wiki": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki", | ||
"source": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards" | ||
}, | ||
"type" : "phpcodesniffer-standard", | ||
"scripts" : { | ||
"install-codestandards": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --config-set installed_paths ../../..,../../phpcompatibility/php-compatibility", | ||
"check-cs" : "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs", | ||
"fix-cs" : "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf", | ||
"post-install-cmd" : "@install-codestandards", | ||
"post-update-cmd" : "@install-codestandards" | ||
} | ||
} |