Download the PHP package joaorobertopb/php-githook-sniffer without Composer
On this page you can find all versions of the php package joaorobertopb/php-githook-sniffer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download joaorobertopb/php-githook-sniffer
More information about joaorobertopb/php-githook-sniffer
Files in joaorobertopb/php-githook-sniffer
Package php-githook-sniffer
Short Description Php-GitHook-Sniffer is a simple collection of automated and customizable tasks that you can perform with your git repository through the hooks.
License MIT
Homepage https://github.com/especializati/php-githook-sniffer
Informations about the package php-githook-sniffer
Php GitHook Sniffer
README em Português.
Php-GitHook-Sniffer is a simple collection of automated tasks that you can perform with your git repository through the hooks.
Available hooks
- pre-commit
pre-commit
Check the commited files:
- Check PHP Syntax (with PHPLint)
- Fix code style according to PSR2 standard
Examples
verifying syntax:
Applying PSR2 rules:
Other Hooks
Coming Soon.
Install
Add joaorobertopb/php-githook-sniffer
as a development dependency in composer.json
Or via Composer
Copy src/Hooks/pre-commit for .git/hooks. ( Execution Permission Required )
or
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Coming Soon.
Credits
- João Roberto
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of php-githook-sniffer with dependencies
friendsofphp/php-cs-fixer Version ^2.2
league/pipeline Version ^0.3