Skip to content

gargrag/php-pre-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

PHP precommit hook

Introduction

This scripts provides an easy way to verify the syntax of your php files before commit them.

It looks only into modified and new files and if it detects any error it stops the commit process.

Installation

  1. cat pre-commit.sh >> /path/to/repo/.git/hooks/pre-commit
  2. enjoy

any suggestion emailme [email protected]

About

php syntax check, pre commit hook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages