Issue #2886279 by dawehner, alexpott, drpal, zaporylie, Wim Leers, neclimdul, Mile23, Chi: Add PHPCS and PHPCBF as Composer scripts

8.5.x
effulgentsia 2017-11-10 11:38:05 -08:00
parent 754883a074
commit 40fb0c8b74
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@
"Drupal\\Core\\Composer\\Composer::ensureHtaccess"
],
"post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
"post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup"
"post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
"phpcs": "phpcs --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --",
"phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --"
},
"repositories": [
{