Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin tommcfarlin/00-add-php-cs.json Secret
Last active Jul 24, 2019

Embed
What would you like to do?
[WordPress] Adding Multiple Coding Standards with Composer
"scripts": {
"post-install-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths /Users/tommcfarlin/Sync/Projects/wpcs/WordPress"
],
"post-update-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths /Users/tommcfarlin/Sync/Projects/wpcs/WordPress"
],
},
"scripts": {
"post-install-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths /Users/tommcfarlin/Sync/Projects/wpcs/WordPress-Core,/Users/tommcfarlin/Sync/Projects/wpcs/WordPress-VIP"
],
"post-update-cmd": [
"\"vendor/bin/phpcs\" --config-set installed_paths /Users/tommcfarlin/Sync/Projects/wpcs/WordPress-Core,/Users/tommcfarlin/Sync/Projects/wpcs/WordPress-VIP"
],
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.