insua/phpcs-git-pre-commit

Pure php phpcs git pre commit


License
MIT

Documentation

phpcs-git-pre-commit

phpcs git pre commit.

Installing

$ composer require insua/phpcs-git-pre-commit

Usage

add scripts

"scripts": {
    "post-install-cmd": [
        "Insua\\PhpcsGitPreCommit\\Installer::postInstall"
    ],
    "post-update-cmd": [
        "Insua\\PhpcsGitPreCommit\\Installer::postInstall"
    ]
}

License

MIT

Alternatives