php-composter / php-composter-phpcs-psr2
PHP Composter PHP Code Sniffer PSR-2 (pre-commit).
Package info
github.com/php-composter/php-composter-phpcs-psr2
Type:php-composter-action
pkg:composer/php-composter/php-composter-phpcs-psr2
v0.2.0
2016-03-28 05:34 UTC
Requires
This package is auto-updated.
Last update: 2026-03-16 08:40:13 UTC
README
Check your PHP source code for PSR-2 compliance before committing.
This Composer package will start to check your PHP files upon each commit to make sure they comply to the PSR-2 Coding Style Guide.
This is a PHP Composter Action.
Uses the wonderful PHP CodeSniffer Project.
Table Of Contents
Installation
Just add as a development requirement to your composer.json, and it should work automagically:
composer require --dev php-composter/php-composter-phpcs-psr2
Basic Usage
It should just work when you git commit.
Contributing
All feedback / bug reports / pull requests are welcome.