Skip to content

Instantly share code, notes, and snippets.

View joaoinacio's full-sized avatar

João Inácio joaoinacio

  • Lisbon, Portugal
View GitHub Profile
@joaoinacio
joaoinacio / PreCommitHook.php
Created January 5, 2018 13:53
php QC pre-commit hook
#!/usr/bin/php
<?php
/**
* Git pre-commit hook for PHP code quality
* install with `<path-to-file> install`
*/
class PreCommitHook
{
/**