Skip to content

AurelienMo/tools-git-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Hooks GIT pre-commit

Requirements

phpcs
Global install required with standard Symfony2

phpmd
Global install with all ruleset at this url

phpunit
Install from vendor

Execute

On each commit, hook check:

  • if phpcs with standard Symfony2 is ok
  • if phpmd with phpmd_symfony ruleset is ok
  • if unit tests with phpunit is already ok

If an error has been occured during execute, commit is denied and the error is displayed in the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages