Skip to content
Snippets Groups Projects
Commit 93f51918 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add support for an optional .phpcsignore file

parent 6578aeaa
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ commands:
cmd: ahoy d4d exec vendor/bin/phpcpd "$@"
usage: PHP Copy and Paste Detector
phpcs:
cmd: ahoy d4d exec vendor/bin/phpcs --standard=DrupalPractice --file-list=/var/www/html/tests/phpcs.files --ignore=node_modules,*.min.css,*.min.js "$@"
cmd: ahoy d4d exec vendor/bin/phpcs --standard=DrupalPractice --file-list=/var/www/html/tests/phpcs.files --ignore=node_modules,*.min.css,*.min.js,$(paste -s -d, .phpcsignore 2>/dev/null) "$@"
usage: PHP coding standards
phploc:
cmd: ahoy d4d exec vendor/bin/phploc "$@"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment