Currently PHPCS PreCommit Hook doesn't accept additional parameters.
I have created locally a new version of it that does.
Scenario:
- I want to be able to locally see the warnings when I run PHPCS
- But I wan them to block commits to the branch.
- So I can't just set severity 0 for all warnings on the phpcs.xml or I won't see them locally.
- Ideal resolution is the ability to run on the hook with either
--warning-severity=0 or -n