Skip to content

A php file acting as a pre-commit hook file for any git repository in order to preventing commits of debugging code remainders

License

Notifications You must be signed in to change notification settings

RSeidelsohn/pre-commit-hook-for-FE-devs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit-hook-for-FE-devs

A php file acting as a pre-commit hook file for any git repository using Symfony in order to preventing commits of debugging code remainders or unresolved merge conflicts in your git repository

The original file comes from Phil Wright- Christie and you can find his much more elaborate project 'code quality' here. He kindly gave me the permission to use that file in my project here.

This file should serve as a base for frontend developers working on PHP projects/websites who want to use a pre-commit hook that prevents them from committing unresolved merge conflicts, debugging output or enabled oder disabled conditions for debugging purposes that she/he has forgotten about.

The script entry in the composer.json file will download the pre commit hook php file from this git repository on each composer install|update run.

Any suggestion/improvement/comment highly welcome!

About

A php file acting as a pre-commit hook file for any git repository in order to preventing commits of debugging code remainders

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages