-
Notifications
You must be signed in to change notification settings - Fork 0
homebase/git-hooks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Provide 2 git commit hooks for PHP project 1. Relaxed one 2. Homebase (strict one) (based on phpcs) = GIT HOOK INSTALL: RUN ./setup-git-hook script == HOMEBASE GIT HOOK // STILL IN PROGRESS HOMEBASE FRAMEWORK (phpcs based) git commit hook 1. install PHP_CodeSniffer yum install php-pear-PHP-CodeSniffer (or pear install PHP_CodeSniffer) 2. install standard: sudo cp -r Homebase /usr/share/pear/PHP/CodeSniffer/Standards/ Optional: make homebase default sudo phpcs --config-set default_standard Homebase 3. install to git cd $root_of_homebase/.git/hooks ln -s ../../git-hooks/pre-commit Inspiration http://tydeas.tumblr.com/post/29226598941/git-pre-commit-php-psr-standard http://github.com/klaussilveira/phpcs-psr
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published