coenjacobs/php-composter-phpcs

PHP Composter PHP Code Sniffer (pre-commit).

Installs: 271

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:php-composter-action

0.1.0 2017-10-11 19:58 UTC

This package is auto-updated.

Last update: 2024-10-29 04:53:26 UTC


README

This Composer package will start to check your PHP files upon each commit to make sure they comply to the coding standards as specified in a phpcs.xml file.

Installation

Just add as a development requirement to your composer.json, and it should work automagically:

composer require --dev coenjacobs/php-composter-phpcs

The rules for the sniffer will be read from the phpcs.xml file in the root of your project.