diff options
author | Gary Pendergast <pento@git.wordpress.org> | 2018-04-05 07:04:08 +0000 |
---|---|---|
committer | Gary Pendergast <pento@git.wordpress.org> | 2018-04-05 07:04:08 +0000 |
commit | aee223f09701f309422cb49d23fa83aba7a186e0 (patch) | |
tree | 92359ae3329b7931840c3645e528185be38068e4 /composer.json | |
parent | f68e0ab848b3b3886f76513241f5092df3fa818e (diff) | |
download | wordpress-aee223f09701f309422cb49d23fa83aba7a186e0.tar.gz wordpress-aee223f09701f309422cb49d23fa83aba7a186e0.zip |
Build Tools: Add a composer.json for development environments.
This allows Core developers to more easily run coding standards checks on PHP code.
Props netweb.
Fixes #43558.
git-svn-id: https://develop.svn.wordpress.org/trunk@42960 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/composer.json b/composer.json new file mode 100644 index 0000000000..623392c5ca --- /dev/null +++ b/composer.json @@ -0,0 +1,21 @@ +{ + "name": "wordpress/wordpress", + "license": "GPL-2.0-or-later", + "description": "WordPress is web software you can use to create a beautiful website or blog.", + "homepage": "https://wordpress.org", + "keywords": [ + "blog", "cms", "wordpress", "wp" + ], + "support": { + "issues": "https://core.trac.wordpress.org/" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4", + "squizlabs/php_codesniffer": "^3.2.3", + "wp-coding-standards/wpcs": "dev-feature/new-multi-line-comment-formatting-sniffs" + }, + "scripts": { + "format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source", + "lint": "phpcs --standard=phpcs.xml.dist --report-summary --report-source" + } +} |