[abandon] Please use phpcq/coding-standard
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 75 commits behind phpcq:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
phpcs
phpmd
.gitignore
.travis.yml
README.md
composer.json

README.md

![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