Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 608 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 608 Bytes

php-pre-commit

Git pre-commit hook file for PHP projects

Shellcheck status

How to Use?

  1. git clone this repository.
  2. Copy the pre-commit file to your project's Git hooks folder. Make sure that the pre-commit file is executable.
  3. Now copy the config.dist file to your Git hooks folder, and rename it to config.
  4. Edit the config file with your preferences.

Kudos for Johnathan Pulos for his amazing Gist!