Skip to content
Raphaël Emourgeon edited this page Oct 28, 2013 · 3 revisions

### PHP

  • Curly brace should be opened on same line of the keyword its related to
  • Add empty line after the opening curly brace
if ($test) {

  $test = false;
}

General

  • Use 4 spaces for indentation.
  • Add new line at EOF (easier to read when you display the file in a console for example).
Clone this wiki locally