Skip to content

Instantly share code, notes, and snippets.

View Cayan's full-sized avatar

Daniel Pinto Cayan

  • Brazil, Rio de Janeiro
View GitHub Profile
@Cayan
Cayan / pre-commit
Last active September 30, 2021 02:56 — forked from chelmertz/pre-commit
pre-commit hook for git, running php lint, phpcs and phpmd
#!/usr/bin/php
<?php
// copied from https://gist.github.com/chelmertz/816166
// authored by Travis Swicegood
// modified by Daniel Pinto and Israel Trindade
class Enable
{
const PHP_LINT = true;