Skip to content

Code style guide

Marius Becker edited this page Oct 7, 2018 · 16 revisions

PHP

Coding standard is PSR-2.

Functions defined outside of classes have to be in written as snake_case, to keep them consistent with PHP global functions.

Variables and properties should always be in camelCase.

Python

The coding standard is PEP 8.

Functions and variables should be in snake_case.

Clone this wiki locally