WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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