Releases: BernardoSilva/git-hooks-php
Releases · BernardoSilva/git-hooks-php
v2.2.0
This release prevents files being added to stage automatically.
This was happening to ensure when the autofixer fixed files those changes were added straight away.
But when a developer wants to add partially a file then this behaviour was breaking that action without the developer being aware of that.
v2.1.1
- allow to detect vendor directory in sub-directories
e.g.
- /README.md
- /src
- /vendor
- composer.json
v2.1.0
Allow rules specified per project when phpcs.xml.dist or phpcs.xml are present in project root
v1.2.0
Added backward compatibility with PHP 5.3
v1.1.0
Allow users to have their own rules per project
v1.0.1
- maximise lib compatibility with codesniffer
v2.0.2
remove --diff flag from autofixer command in pre-commit script
v2.0.1
Fix pre-commit script to have correct paths for codesniffer scripts
v2.0.0
- bump dependency on squizlabs/php_codesniffer to allow
3.x
v1.0.0
bump git-hooks-installer-plugin dependency