Last active
June 9, 2020 05:09
-
-
Save veewee/62948773c05f91f26284b4f48bceb7b1 to your computer and use it in GitHub Desktop.
GrumPHP on docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parameters: | |
| git_hook_variables: | |
| EXEC_GRUMPHP_COMMAND: docker-compose run --rm --no-deps php-fpm php | |
| tasks: | |
| phpcsfixer2: | |
| config: ".php_cs.dist" | |
| config_contains_finder: true | |
| yamllint: | |
| parse_custom_tags: true | |
| phpunit: ~ | |
| git_commit_message: | |
| matchers: | |
| "Jira issuenumber": "/JIRA-([0-9]*)/i" | |
| composer: | |
| metadata: | |
| blocking: false | |
| psalm: ~ |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you change something in the
git_hook_variablessection, you must rungrumphp git:initin order to write it to the git hook files.You can debug your hook files in the
.git/hooksdirectory.