contao-community-alliance / coding-standard
This package is abandoned and no longer maintained.
The author suggests using the phpcq/coding-standard package instead.
contao community alliance coding standard
dev-master / 1.0.x-dev
2014-12-04 04:50 UTC
Requires
- php: >=5.3
Suggests
- contao-community-alliance/build-system: The Contao Community Alliance Build System (CCABS)
This package is not auto-updated.
Last update: 2022-02-01 12:39:44 UTC
README
![Build Status](https://travis-ci.org/contao-community-alliance/coding-standard.svg?style=flat-square&label=stable build)
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