We need to add feature in the pre-commit hook to check if the phpcs.xml already exists in the project root and use that instead. If it does not exist, then it'll use the one in the composer package.
Our version is quite strict compared to Wunder's loose phpcs.xml - even array short notation gives errors.
We need to add feature in the pre-commit hook to check if the
phpcs.xml
already exists in the project root and use that instead. If it does not exist, then it'll use the one in the composer package.Our version is quite strict compared to Wunder's loose
phpcs.xml
- even array short notation gives errors.