Accept array of commands for hook
For more complex hooks, they can be written as separate commands in an array.
eg:
"pre-commit": [
"echo committing as $(git config user.name)",
"php-cs-fixer .",
"phpunit"
]
For more complex hooks, they can be written as separate commands in an array.
eg:
"pre-commit": [
"echo committing as $(git config user.name)",
"php-cs-fixer .",
"phpunit"
]