PHP plugin for https://github.com/jish/pre-commit
Install the plugin
$ gem install pre-commit-php
Use the pre-commit command to enable the plugin
# In your git repo
$ pre-commit enable yaml checks php
This creates a config/pre_commit.yml
configuratiuon file which will
inform pre-commit
to use pre-commit-php
plugin for this project.
Use the pre-commit command to enable the plugin
# In your git repo
$ pre-commit enable yaml warnings php