bernardosilva / git-hooks-php
Composer git-hook package with hooks for your php projects.
Installs: 16 538
Dependents: 1
Suggesters: 0
Security: 0
Stars: 25
Watchers: 4
Forks: 2
Open Issues: 0
Language:Shell
Type:git-hook
Requires
- dev-master
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- 0.1.0
- 0.0.4
- 0.0.3
- 0.0.1
- dev-prevent-automatically-add-file-changes
- dev-extend-pre-commit-to-detect-bin-scripts-in-sub-directories
- dev-bump-plugin-dependency-1.x
- dev-use-psr2-only-by-default
- dev-only-use-psr2-as-fallback
- dev-maximise-codesniffer-compatibility
- dev-update-readme-to-use-dev
- dev-remove-invalid-flag-from-autofixer
- dev-fix-pre-commit
- dev-add-badges-to-readme
- dev-allow-higher-dependencies
This package is auto-updated.
Last update: 2024-10-29 04:31:06 UTC
README
This is a git-hook
package that contains some standards I want to use on all my PHP projects.
I use the git pre-commit
hook to validate all my code before every commit to ensure
that my code is always valid.
View how to create your own git-hook package
How to install
Just add this package as a dependency on your project.
php composer.phar require --dev bernardosilva/git-hooks-php
pre-commit
Currently my pre-commit hook is checking for PSR2
coding standards
that are not met using php_codesniffer tool.
How to contribute
- Create a Pull Request
- Suggest new ideas or open new detected issues
Created by
License
MIT © Bernardo Silva