Download the PHP package jv-testes/pre-commit without Composer
On this page you can find all versions of the php package jv-testes/pre-commit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jv-testes/pre-commit
More information about jv-testes/pre-commit
Files in jv-testes/pre-commit
Download jv-testes/pre-commit
More information about jv-testes/pre-commit
Files in jv-testes/pre-commit
Vendor jv-testes
Package pre-commit
Short Description Pre-commit hook
License MIT
Homepage https://github.com/juizmill/pre-commit
Package pre-commit
Short Description Pre-commit hook
License MIT
Homepage https://github.com/juizmill/pre-commit
Please rate this library. Is it a good library?
Informations about the package pre-commit
Pre commit hook
Checks in our pre-commit hook
- Syntax check with php lint (“php -l”): We check every committed file has a valid PHP syntax.
- Sync check of composer.json and composer.lock files: We check these two files are committed together in order to avoid committing the json but not the lock and generate some issue to another developers.
- PHP CS Fixer check: With the –dry-run parameter it does not fix, just say what the problems are. With the –fixers parameter you can control what fixers you want to execute.
- PHP Code Sniffer check: Same as before, but another rule that checks another rules.
- PHPMD: We have enabled the controversial rules.
- Unit Testing check: We run around 3.000 tests right now.
INSTALLATION:
The recommended way to install this library is through Composer:
add jv-testes/pre-commit
as a composer dependency.
composer.json
USAGE:
When a developer clones the project, it just needs to:
Edit composer.json and add:
Remembering to set up the hooks
Custom config
Copy arquives vendor/jv-testes/pre-commit/config/*
to [project]
Reference
All versions of pre-commit with dependencies
PHP Build Version
Package Version
Requires
symfony/process Version
^2.7
squizlabs/php_codesniffer Version ^2.3
phpmd/phpmd Version ^2.2
fabpot/php-cs-fixer Version ^1.10
phpunit/phpunit Version ^4.8
squizlabs/php_codesniffer Version ^2.3
phpmd/phpmd Version ^2.2
fabpot/php-cs-fixer Version ^1.10
phpunit/phpunit Version ^4.8
The package jv-testes/pre-commit contains the following files
Loading the files please wait ....