Closed scramatte closed 5 years ago
I answer to myself. In php-git-hooks.yml you need to specify the new phpcs.xml file
pre-commit:
enabled: true
execute:
composer: true
jsonlint: true
phplint: true
phpmd:
enabled: true
options: null
phpcs:
enabled: true
standard: phpcs.xml
ignore: null
php-cs-fixer:
enabled: true
...
Hi,
How can I use phpcs.xml with php-git-hooks? I've put it on root of my project but looks that is ignored by pre-commit script. Any idea of how can I solve this?