Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gargrag/php-pre-commit

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
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 correo@gaston.com.uy

About

php syntax check, pre commit hook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.