drupal-pre-commit icon indicating copy to clipboard operation
drupal-pre-commit copied to clipboard

Pre-commit hook still checks XML files

Open danepowell opened this issue 10 years ago • 1 comments

If you modify an XML file, it seems like the pre-commit hook still tries to validate it as PHP rather than excluding it. In a very unscientific test, I tried simply adding filters_exclude[20]='\.xml$' to the end of the array (so xml is excluded twice) and it worked fine. I suspect that the last exclude pattern on the array is simply being ignored.

danepowell avatar Nov 02 '15 22:11 danepowell

I believe this has been fixed since #13, so this issue can be closed.

berenddeboer avatar Nov 27 '19 21:11 berenddeboer