Check your PHP source code for PSR2 compliance before committing.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
CHANGELOG.md
README.md
composer.json
composer.lock

README.md

PHP Composter PHPCS PSR-2

Check your PHP source code for PSR-2 compliance before committing.

Latest Stable Version Total Downloads Latest Unstable Version License

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.