Skip to content

Commit

Permalink
Merge pull request #1488 from WordPress-Coding-Standards/feature/comp…
Browse files Browse the repository at this point in the history
…oser-tweaks

Composer: various tweaks
  • Loading branch information
GaryJones authored Sep 17, 2018
2 parents 233195f + 31541fb commit fc016f7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
},
"type" : "phpcodesniffer-standard",
"scripts" : {
"install-codestandards": "\"vendor/bin/phpcs\" --config-set installed_paths ../../..,../../phpcompatibility/php-compatibility",
"post-install-cmd": "@install-codestandards",
"post-update-cmd" : "@install-codestandards"
"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"
}
}

0 comments on commit fc016f7

Please sign in to comment.