Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.45 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.45 KB

![Build Status](https://travis-ci.org/contao-community-alliance/coding-standard.svg?style=flat-square&label=stable build) Latest Version tagged Latest Version on Packagist Installations via composer per month

Coding Standards

This repository contains the Contao Community Alliance coding standard definitions and style checker rules.

The rules are for phpcs and phpmd.

Usage

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

phpcs.standard=${basedir}/vendor/contao-community-alliance/coding-standard/phpcs/ContaoCommunityAlliance/ruleset.xml
phpmd.ruleset=${basedir}/vendor/contao-community-alliance/coding-standard/phpmd/ruleset.xml