The silverorange legacy code style was inspired by the PEAR coding style but adapted in a few ways specific to silverorange. Rules that are not mentioned in the documentation can be assumed to follow the PEAR guidelines.
This should not be used for new projects.
- Brace Style for Classes, Methods and Control Structures
- Type Casting
- Class Structure and Method Organization
- Code Folding Markers for Vim
- Writing Commit Messages
- Documentation for Classes and Methods
- Vim Modeline
- File Format and Encoding
- PHP References vs Values
- Regular Expressions
- Requiring PHP Files
- SQL
- Translations using Gettext
- Whitespace and Indentation