Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

Dev CodingGuidelines Tools

Frank Kleine edited this page Apr 7, 2012 · 1 revision

Table of Contents

Developer pages: Coding Guidelines

Tools

Checking of adherence to coding guidelines

The Phing build file of Stubbles contains a target check-style which allows to check if code adheres to this coding guidelines. The check relies on PHP CodeSniffer with our own Sniffs. The Stubbles Sniffs need to be installed as separate PEAR package:

pear channel-discover pear.php-tools.net
pear install pat/StubblesCodingStandard-alpha

Pre-commit hook

Please note that there is no pre-commit hook on our repository which check the coding style if committed files. We trust our developers to follow these rules. However this may change if too much code not following this coding guidelines will be committed.



---
Back to developer pages

Clone this wiki locally