Coding guidelines

Apply PEAR Coding Standards, same as PHPUnit.

See also

Throwing an exception

When throwing an exception, make sure to provide a clear error message and an error code being the
unix timestamp of when you write the throw statement.
That error code must be unique, so watch out when doing copy and paste!
For every exception there should be a page on the TYPO3 wiki, as exception messages link to that page,
identified by the error code (unix timestamp). -- FLOW3 Coding Guidelines