Git phpcs pre-commit Forked to use it with symfony2 and PHP Codesniffer with composer installation more you can find in https://github.com/paza/Symfony2-coding-standard