phpcq/coding-standard

PHP code quality project coding standard


License
BSD-3-Clause-Clear

Contributors

Christian Schiffler Tristan Lins


See all contributors


Documentation

Build Status Latest Version tagged Latest Version on Packagist Installations via composer per month

Coding Standards

This repository contains the PHPCQ coding standard definitions and style checker rules.

The rules are for phpcs and phpmd.

Usage

The most convenient usage is to use via phpcq/phpcq. Simply put the following into your projects build.default.properties file:

phpcs.standard=${basedir}/vendor/phpcq/coding-standard/phpcs/PHPCQ/ruleset.xml
phpmd.ruleset=${basedir}/vendor/phpcq/coding-standard/phpmd/ruleset.xml