Skip to content
Bram Gotink edited this page Mar 1, 2014 · 7 revisions

Document Style

We use the standard phpDoc tags (Cheat Sheet), using these small extra conventions.

FQDN (Fully Qualified Domain Name)

When a property holds an instance of a class, we use the FQDN of the class in the documentation.

Punctuation

  • Method and class descriptions should be punctuated
  • Property and parameter description should not be punctuated

Classes

Each class should have the following documentation block.

/**
 * [Class Description]
 *
 * @author John Doe <john.doe@litus.cc>
 */

Coding Style

Our coding style is described here.

Clone this wiki locally